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!