Cannot Open RTC

joshuasung
Member Posts: 37
I didn't have a problem openning RTC until recently i get message
"Microsoft.Dynamics.Nav.Client has encountered a problem and needs to close. We are sorry for the inconvenience."
I've ran debugger and got following...
System.Security.SecurityException was unhandled
Message="Requested registry access is not allowed."
Source="mscorlib"
StackTrace:
at System.ThrowHelper.ThrowSecurityException(ExceptionResource resource)
at Microsoft.Win32.RegistryKey.OpenSubKey(String name, Boolean writable)
at Microsoft.Win32.RegistryKey.OpenSubKey(String name)
at Microsoft.Dynamics.Framework.UI.WinForms.GuiResourceHelper.ReadMaxCount(String valueName)
at Microsoft.Dynamics.Framework.UI.WinForms.GuiResourceHelper.get_MaxGdiCount()
at Microsoft.Dynamics.Framework.UI.WinForms.ClientSession.OnFormToShow(LogicalForm logicalFormToShow, LogicalControl originatingLogicalControl)
at Microsoft.Dynamics.Framework.UI.Windows.ClientSessionBase.OnDialogToShow(DialogSessionEventArgs e)
at Microsoft.Dynamics.Framework.UI.Windows.ClientSessionBase.DialogToShow(Object sender, DialogSessionEventArgs e)
at Microsoft.Dynamics.Framework.UI.UISession.OnDialogToShow(DialogSessionEventArgs e)
at Microsoft.Dynamics.Framework.UI.UISession.ShowDialog(LogicalForm logicalForm, LogicalForm owner)
at Microsoft.Dynamics.Framework.UI.LogicalForm.ShowDialog(LogicalForm ownerForm)
at Microsoft.Dynamics.Nav.Client.MessageHelper.ShowDialog(UISession uiSession, String message, Guid automationId, String caption, MessageFormIcon icon, MessageFormActions actions, MessageFormActions defaultAction)
at Microsoft.Dynamics.Nav.Client.MessageHelper.ShowMessage(UISession uiSession, String message, Guid automationId)
at Microsoft.Dynamics.Nav.Client.ServiceClientCallback.Message(String displayMessage, Guid automationId)
at Microsoft.Dynamics.Nav.Types.DialogMessageRequest.Process(IClientCallbackHandler callbackHandler)
at Microsoft.Dynamics.Nav.Client.ServiceConnectionBase.ProcessServerResponse(Object response)
at Microsoft.Dynamics.Nav.Client.ServiceConnectionBase.CallServer[T](CallServerMethod`1 callServerMethod)
at Microsoft.Dynamics.Nav.Client.ServiceConnection.OpenCompany(String companyName)
at Microsoft.Dynamics.Nav.Client.FormBuilder.BuilderSession.InitializeCore()
at Microsoft.Dynamics.Nav.Client.FormBuilder.BuilderSession.Initialize()
at Microsoft.Dynamics.Framework.UI.UISession.Initialize()
at Microsoft.Dynamics.Framework.UI.Windows.ClientSessionBase.SetupUISession()
at Microsoft.Dynamics.Framework.UI.Windows.ClientSessionBase.Init()
at Microsoft.Dynamics.Nav.Client.WinClient.RunCore()
at Microsoft.Dynamics.Nav.Client.ExceptionHandler.ExecuteAndCatchExceptions(Func`1 execute)
at Microsoft.Dynamics.Nav.Client.ExceptionHandler.DoExecute(Func`1 execute)
at Microsoft.Dynamics.Nav.Client.WinClient.Run()
at Microsoft.Dynamics.Nav.Client.Program.Main(String[] args)
InnerException:
Anybody has any clue?
"Microsoft.Dynamics.Nav.Client has encountered a problem and needs to close. We are sorry for the inconvenience."
I've ran debugger and got following...
System.Security.SecurityException was unhandled
Message="Requested registry access is not allowed."
Source="mscorlib"
StackTrace:
at System.ThrowHelper.ThrowSecurityException(ExceptionResource resource)
at Microsoft.Win32.RegistryKey.OpenSubKey(String name, Boolean writable)
at Microsoft.Win32.RegistryKey.OpenSubKey(String name)
at Microsoft.Dynamics.Framework.UI.WinForms.GuiResourceHelper.ReadMaxCount(String valueName)
at Microsoft.Dynamics.Framework.UI.WinForms.GuiResourceHelper.get_MaxGdiCount()
at Microsoft.Dynamics.Framework.UI.WinForms.ClientSession.OnFormToShow(LogicalForm logicalFormToShow, LogicalControl originatingLogicalControl)
at Microsoft.Dynamics.Framework.UI.Windows.ClientSessionBase.OnDialogToShow(DialogSessionEventArgs e)
at Microsoft.Dynamics.Framework.UI.Windows.ClientSessionBase.DialogToShow(Object sender, DialogSessionEventArgs e)
at Microsoft.Dynamics.Framework.UI.UISession.OnDialogToShow(DialogSessionEventArgs e)
at Microsoft.Dynamics.Framework.UI.UISession.ShowDialog(LogicalForm logicalForm, LogicalForm owner)
at Microsoft.Dynamics.Framework.UI.LogicalForm.ShowDialog(LogicalForm ownerForm)
at Microsoft.Dynamics.Nav.Client.MessageHelper.ShowDialog(UISession uiSession, String message, Guid automationId, String caption, MessageFormIcon icon, MessageFormActions actions, MessageFormActions defaultAction)
at Microsoft.Dynamics.Nav.Client.MessageHelper.ShowMessage(UISession uiSession, String message, Guid automationId)
at Microsoft.Dynamics.Nav.Client.ServiceClientCallback.Message(String displayMessage, Guid automationId)
at Microsoft.Dynamics.Nav.Types.DialogMessageRequest.Process(IClientCallbackHandler callbackHandler)
at Microsoft.Dynamics.Nav.Client.ServiceConnectionBase.ProcessServerResponse(Object response)
at Microsoft.Dynamics.Nav.Client.ServiceConnectionBase.CallServer[T](CallServerMethod`1 callServerMethod)
at Microsoft.Dynamics.Nav.Client.ServiceConnection.OpenCompany(String companyName)
at Microsoft.Dynamics.Nav.Client.FormBuilder.BuilderSession.InitializeCore()
at Microsoft.Dynamics.Nav.Client.FormBuilder.BuilderSession.Initialize()
at Microsoft.Dynamics.Framework.UI.UISession.Initialize()
at Microsoft.Dynamics.Framework.UI.Windows.ClientSessionBase.SetupUISession()
at Microsoft.Dynamics.Framework.UI.Windows.ClientSessionBase.Init()
at Microsoft.Dynamics.Nav.Client.WinClient.RunCore()
at Microsoft.Dynamics.Nav.Client.ExceptionHandler.ExecuteAndCatchExceptions(Func`1 execute)
at Microsoft.Dynamics.Nav.Client.ExceptionHandler.DoExecute(Func`1 execute)
at Microsoft.Dynamics.Nav.Client.WinClient.Run()
at Microsoft.Dynamics.Nav.Client.Program.Main(String[] args)
InnerException:
Anybody has any clue?
0
Comments
-
Dump from the Event viewer?0
-
-
Nothing in the event viewer at all? Not even a repro of the error you posted?
Whats the build No. and setup you have ( 3 vs 2 Tier)
t0 -
Nope,
Those error report shows on VS debugger.
It's 3 tier, 6.00.29626
Running on SQL 2008 R20 -
Using Caspol to fix permission for .NET framework
I guess that was the solution.
Thanks!0 -
Hi joshua,
Can you explain how you fixed this? I am having this same issue right now. I tried running caspool on the nav rtc client, but it is still throwing the error.
Thanks!
Chuck0
Categories
- All Categories
- 73 General
- 73 Announcements
- 66.6K Microsoft Dynamics NAV
- 18.7K NAV Three Tier
- 38.4K NAV/Navision Classic Client
- 3.6K Navision Attain
- 2.4K Navision Financials
- 116 Navision DOS
- 851 Navision e-Commerce
- 1K NAV Tips & Tricks
- 772 NAV Dutch speaking only
- 617 NAV Courses, Exams & Certification
- 2K Microsoft Dynamics-Other
- 1.5K Dynamics AX
- 320 Dynamics CRM
- 111 Dynamics GP
- 10 Dynamics SL
- 1.5K Other
- 990 SQL General
- 383 SQL Performance
- 34 SQL Tips & Tricks
- 35 Design Patterns (General & Best Practices)
- 1 Architectural Patterns
- 10 Design Patterns
- 5 Implementation Patterns
- 53 3rd Party Products, Services & Events
- 1.6K General
- 1.1K General Chat
- 1.6K Website
- 83 Testing
- 1.2K Download section
- 23 How Tos section
- 252 Feedback
- 12 NAV TechDays 2013 Sessions
- 13 NAV TechDays 2012 Sessions