Options

Cannot Open RTC

joshuasungjoshuasung Member Posts: 37
edited 2011-01-31 in NAV Three Tier
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

Comments

  • Options
    TonyHTonyH Member Posts: 223
    Dump from the Event viewer?
  • Options
    joshuasungjoshuasung Member Posts: 37
    Nothing from Event Veiwer.
    Joshua H Sung

    Sr. Project Manager
    S-Metric, LLC
    jsung@smetric.com
  • Options
    TonyHTonyH Member Posts: 223
    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)

    t
  • Options
    joshuasungjoshuasung Member Posts: 37
    Nope,

    Those error report shows on VS debugger.
    It's 3 tier, 6.00.29626

    Running on SQL 2008 R2
    Joshua H Sung

    Sr. Project Manager
    S-Metric, LLC
    jsung@smetric.com
  • Options
    joshuasungjoshuasung Member Posts: 37
    Using Caspol to fix permission for .NET framework
    I guess that was the solution.

    Thanks!
    Joshua H Sung

    Sr. Project Manager
    S-Metric, LLC
    jsung@smetric.com
  • Options
    CBlasekCBlasek Member Posts: 2
    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!
    Chuck
Sign In or Register to comment.