mibuso.com

Microsoft Business Solutions online community
It is currently Sat May 25, 2013 5:14 pm

All times are UTC + 1 hour [ DST ]




Post new topic Reply to topic  [ 4 posts ] 
Author Message
 Post subject: NAV 7 Web Client - error when trying to open web client
PostPosted: Thu Jul 05, 2012 2:59 pm 
Offline

Joined: Thu Aug 05, 2010 9:40 am
Posts: 78
Country: Belgium (be)
Dear,

As in the following blog post : viewtopic.php?f=32&t=53505

I've troubles to connect to the web client when using windows authentication.

Here are the messages I get:

Image

And after refresh:

Image

Here is what appears in the Application event viewer:

Code: Select all
Type: System.UnauthorizedAccessException
Message: Access to the registry key 'Global' is denied.
StackTrace:
     at Microsoft.Win32.RegistryKey.Win32Error(Int32 errorCode, String str)
     at Microsoft.Win32.RegistryKey.InternalGetValue(String name, Object defaultValue, Boolean doNotExpand, Boolean checkSecurity)
     at Microsoft.Win32.RegistryKey.GetValue(String name)
     at System.Diagnostics.PerformanceMonitor.GetData(String item)
     at System.Diagnostics.PerformanceCounterLib.GetPerformanceData(String item)
     at System.Diagnostics.PerformanceCounterLib.get_CategoryTable()
     at System.Diagnostics.PerformanceCounterLib.CategoryExists(String machine, String category)
     at System.Diagnostics.PerformanceCounterCategory.Exists(String categoryName, String machineName)
     at System.Diagnostics.PerformanceCounterCategory.Exists(String categoryName)
     at Microsoft.Dynamics.Framework.UI.WebBase.Diagnostics.CounterExistsPerformanceCounterEnabledStrategy.get_IsEnabled()
     at Microsoft.Dynamics.Framework.UI.WebBase.Diagnostics.SystemPerformanceCounter.Increment()
     at Microsoft.Dynamics.Framework.UI.WebBase.ClientSessionManagerBase.OnClientSessionCreated(ClientSessionCore createdSession)
     at Microsoft.Dynamics.Framework.UI.ClientSessionManagerCore.CreateClientSession(String sessionId)
     at Microsoft.Dynamics.Framework.UI.ClientSessionManagerCore.EnsureSession(String sessionId)
     at Microsoft.Dynamics.Framework.UI.Web.ClientSessionManager.EnsureSession()
     at Microsoft.Dynamics.Framework.UI.Web.FormControl.OnInitCore(EventArgs e)
     at Microsoft.Dynamics.Framework.UI.Web.FormControl.<>c__DisplayClass3.<OnInit>b__2()
     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: mscorlib


Code: Select all
Type: System.ArgumentNullException
Message:
  Value cannot be null.
  Parameter name: key
ParamName: key
StackTrace:
     at System.Collections.Generic.Dictionary`2.FindEntry(TKey key)
     at System.Collections.Generic.Dictionary`2.TryGetValue(TKey key, TValue& value)
     at Microsoft.Dynamics.Framework.UI.WebBase.WebSessionStateProvider.Unregister(ClientSessionBase clientSession)
     at Microsoft.Dynamics.Framework.UI.WebBase.ClientSessionManagerBase.OnClientSessionRemoved(ClientSessionCore removedSession)
     at Microsoft.Dynamics.Framework.UI.ClientSessionManagerCore.RemoveClientSession(ClientSessionCore clientSession)
     at Microsoft.Dynamics.Framework.UI.ClientSessionCore.Dispose(Boolean disposing)
     at Microsoft.Dynamics.Framework.UI.WebBase.ClientSessionBase.Close()
     at Microsoft.Dynamics.Framework.UI.Web.ClientSession.OnExitProcessing()
     at Microsoft.Dynamics.Framework.UI.WebBase.ClientSessionBase.ExitProcessingCore()
     at Microsoft.Dynamics.Framework.UI.WebBase.ClientSessionBase.ExitProcessing()
     at Microsoft.Dynamics.Framework.UI.Web.FormControl.UnloadCleanup()
     at Microsoft.Dynamics.Framework.UI.Web.FormControl.<OnUnload>b__17()
     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: mscorlib


I've tried the following:

Complete reinstall of IIS, NAV Web Client, whole NAV features.
Rebuild of Performance counters
Edit registry to allow access to performance counters

It sure has something to do with the fact that I use windows logins (permissions missing?)

Thanks for your help ;)


Attachments:
File comment: Then after refresh
Capture2.PNG
Capture2.PNG [ 24.73 KiB | Viewed 606 times ]
File comment: First message I get
Capture.PNG
Capture.PNG [ 28.01 KiB | Viewed 608 times ]


Last edited by ben5000 on Thu Jul 05, 2012 5:30 pm, edited 1 time in total.
Top
 Profile E-mail  
 
 Post subject: Re: NAV 7 Web Client - error when trying to open web client
PostPosted: Thu Jul 05, 2012 3:35 pm 
Offline

Joined: Thu Aug 05, 2010 9:40 am
Posts: 78
Country: Belgium (be)
Just solved the error by adding the Guest group to the Performance Monitor User group.

Now it works like a charm! :)

Edit: now it's not working again :(

If I add a single windows login to the Perf Monitor Users group it works..


Top
 Profile E-mail  
 
 Post subject: Re: NAV 7 Web Client - error when trying to open web client
PostPosted: Thu Jul 05, 2012 5:29 pm 
Offline

Joined: Thu Aug 05, 2010 9:40 am
Posts: 78
Country: Belgium (be)
Ok so to solve this issue I added "Domain Users" group to the "Perf Monitor Users" group.

I'll investigate with the people managing the domain if it could cause any security concerns but this is the only workable solution I found so far.


Top
 Profile E-mail  
 
 Post subject: Re: NAV 7 Web Client - error when trying to open web client
PostPosted: Tue Oct 30, 2012 6:08 pm 
Offline

Joined: Tue May 06, 2008 10:46 am
Posts: 3
Location: IT
Country: Italy (it)
Same error, but after an update of server (2008R2).
I resolve it adding Network service to Performance Monitor Users group.


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 4 posts ] 

All times are UTC + 1 hour [ DST ]


Who is online

Users browsing this forum: No registered users and 4 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum


Search for:
Jump to: