web
You’re offline. This is a read only version of the page.
close
Skip to main content

Notifications

Announcements

No record found.

Community site session details

Community site session details

Session Id :
Microsoft Dynamics NAV (Archived)

Problem with NAV 2013 SharePoint Framework

(0) ShareShare
ReportReport
Posted on by

Hi everyone

I'm having huge difficulties getting the SharePoint framework to work in a testing environment (single server). Long story short i have managed to do everything including adding the NAV web part to my site - problem is that it's displaying and error message inside the web part:

"A server error has occurred, and the content cannot be displayed. Refresh the page or open a new browser window."

I've done everything i could think of:

- NAV Client + Web client are working just fine

- I checked the site web.config - no problems there

- all services are up, no authentication, permission issues

- tried restarting everything

- re-installed  SharePoint & created a fresh instance for NAV - didn't help

the only clue i have is a very nasty error in the event log every time i refresh the page with the web part:

Type: System.InvalidOperationException

Message: Sequence contains no elements

StackTrace:

  at System.Linq.Enumerable.First[TSource](IEnumerable`1 source)

  at Microsoft.Dynamics.Framework.UI.Web.SharePointClient.SystemTimeZoneFinder.FindMatchingSystemTimeZone(ISharePointTimeZone sharePointZoneToFind)

  at Microsoft.Dynamics.Framework.UI.Web.SharePointClient.SharePointClientTimeZoneProvider.get_TimeZone()

  at Microsoft.Dynamics.Framework.UI.ClientSessionCore.Init()

  at Microsoft.Dynamics.Framework.UI.WebBase.ClientSessionManagerBase.CreateClientSessionCore(String sessionId)

  at Microsoft.Dynamics.Framework.UI.ClientSessionManagerCore.CreateClientSession(String sessionId)

  at Microsoft.Dynamics.Framework.UI.ClientSessionManagerCore.EnsureSession(String sessionId)

  at Microsoft.Dynamics.Framework.UI.WebBase.ClientSessionManagerBase.EnsureSession(String sessionId)

  at Microsoft.Dynamics.Framework.UI.Web.ClientSession.EnsureSession()

  at Microsoft.Dynamics.Framework.UI.Web.SharePointClient.FormWebPart.OnInitCore(EventArgs e)

  at Microsoft.Dynamics.Framework.UI.Web.WebEventExecutor.<>c__DisplayClass3.<Execute>b__2()

  at Microsoft.Dynamics.Framework.UI.Web.WebEventExecutor.ExecuteCore[T](Func`1 webEvent, Func`1 condition)

Source: System.Core

Any help would be appreciated as i have totally given up!

Thanks!

*This post is locked for comments

I have the same question (0)

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Responsible AI policies

As AI tools become more common, we’re introducing a Responsible AI Use…

Neeraj Kumar – Community Spotlight

We are honored to recognize Neeraj Kumar as our Community Spotlight honoree for…

Leaderboard > 🔒一 Microsoft Dynamics NAV (Archived)

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans