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?
Joshua H Sung
Sr. Project Manager
S-Metric, LLC
jsung@smetric.com 0
Comments
Sr. Project Manager
S-Metric, LLC
jsung@smetric.com
Whats the build No. and setup you have ( 3 vs 2 Tier)
t
Those error report shows on VS debugger.
It's 3 tier, 6.00.29626
Running on SQL 2008 R2
Sr. Project Manager
S-Metric, LLC
jsung@smetric.com
I guess that was the solution.
Thanks!
Sr. Project Manager
S-Metric, LLC
jsung@smetric.com
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!
Chuck