running RTC crashes IndexOutOfRangeException

NoiK00NoiK00 Member Posts: 51
edited 2013-06-27 in NAV Three Tier
Hi all
When trying to connect from a RTC to the server i get this error:
Type: System.IndexOutOfRangeException
Message: Index was outside the bounds of the array.
StackTrace:
at Microsoft.Dynamics.Nav.Client.ExceptionHandler.<>c__DisplayClass2.<DoRethrowWithCatchException>b__0()
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.ExceptionHandler.DoRethrowWithCatchException(Exception exception)
Source: Microsoft.Dynamics.Nav.Client
Type: System.IndexOutOfRangeException
Message: Index was outside the bounds of the array.
StackTrace:
at Microsoft.Dynamics.Nav.Client.ConnectionEstablisher.OpenConnection(ConnectFailedEventArgs connectFailedArgs, ConnectionRequest connectionRequest, SpnSetting spnSettingToTry, Boolean allowSpnSettingsSwap, UserSettings& userSettings)
at Microsoft.Dynamics.Nav.Client.ConnectionEstablisher.OpenConnection(ConnectionRequest connectionRequest, UserSettings& userSettings)
at Microsoft.Dynamics.Nav.Client.ServiceConnection.OpenConnection()
at Microsoft.Dynamics.Nav.Client.ChangeServiceInstanceManager.Connect()
at Microsoft.Dynamics.Nav.Client.ChangeServiceInstanceManager.Connect(String serverAddress)
at Microsoft.Dynamics.Nav.Client.Forms.ChangeServiceTierForm.RetrieveCompaniesList()
at Microsoft.Dynamics.Nav.Client.Forms.ChangeServiceTierForm.ProcessCmdKey(Message& msg, Keys keyData)
at System.Windows.Forms.Control.ProcessCmdKey(Message& msg, Keys keyData)
at Microsoft.Dynamics.Framework.UI.WinForms.Controls.DirectionalLayoutPanel.ProcessCmdKey(Message& msg, Keys keyData)
at System.Windows.Forms.Control.ProcessCmdKey(Message& msg, Keys keyData)
at Microsoft.Dynamics.Framework.UI.WinForms.Controls.DirectionalLayoutPanel.ProcessCmdKey(Message& msg, Keys keyData)
at System.Windows.Forms.Control.ProcessCmdKey(Message& msg, Keys keyData)
at Microsoft.Dynamics.Framework.UI.WinForms.Controls.DirectionalLayoutPanel.ProcessCmdKey(Message& msg, Keys keyData)
at System.Windows.Forms.Control.ProcessCmdKey(Message& msg, Keys keyData)
at System.Windows.Forms.Control.PreProcessMessage(Message& msg)
at System.Windows.Forms.Control.PreProcessControlMessageInternal(Control target, Message& msg)
at System.Windows.Forms.Application.ThreadContext.PreTranslateMessage(MSG& msg)
Source: Microsoft.Dynamics.Nav.Client.ServiceConnection
Type: System.IndexOutOfRangeException
Message: Index was outside the bounds of the array.
StackTrace:
at Microsoft.Dynamics.Nav.Runtime.NCLCodeLoader.GetApplicationObjectClrType(ObjectType objectType, Int32 objectId)
at Microsoft.Dynamics.Nav.Runtime.NCLMetaApplicationObject.LoadClrType()
at Microsoft.Dynamics.Nav.Runtime.NCLMetaTable.LoadClrType()
at Microsoft.Dynamics.Nav.Runtime.NCLMetaApplicationObject.Populate()
at Microsoft.Dynamics.Nav.Runtime.NCLMetadata.GetMetaApplicationObject(ObjectType objectType, Int32 objectId)
at Microsoft.Dynamics.Nav.Runtime.NCLMetadata.GetMetaTableById(Int32 tableId)
at Microsoft.Dynamics.Nav.Runtime.NavRecord..ctor(ITreeObject parent, Int32 tableId)
at Microsoft.Dynamics.Nav.Runtime.NavConnection.get_Personalization()
at Microsoft.Dynamics.Nav.Runtime.NavConnection.Open(Boolean useUserPersonalization)
at Microsoft.Dynamics.Nav.Runtime.NavConnection.Open()
at Microsoft.Dynamics.Nav.Service.NSService.<>c__DisplayClass4.<OpenConnection>b__2(Connection connection)
at Microsoft.Dynamics.Nav.Service.NSService.ExecuteOperation[T](String operationName, ServiceOperation`1 operation, Connection connection, Boolean revertLanguageChanges, WindowsIdentity impersonationIdentity)
at Microsoft.Dynamics.Nav.Service.NSService.ExecuteOperation[T](String operationName, Boolean revertLanguageChanges, ServiceOperation`1 operation)
at Microsoft.Dynamics.Nav.Service.NSService.OpenConnection(ConnectionRequest connectionRequest)
Source: Microsoft.Dynamics.Nav.Ncl

The client crashes and the Server keeps running.

Here is what i tried:
I've installed it using the same settings(Besides database and server) as our testserver. The testserver works good.
I've used the same user to connect to.
Since this didn't work i tried creating a new user using: http://icblogs.abhaysharma.com/Downhome ... stallation
The BPA only shows 'green' flags.

After that i tried to reinstall, cuz i thought maybe de SP1(previously installed version, which worked) version is somehow blocking the R2 version. I also deleted the SP1 version to be sure.

I somehow seem desperate to get this working, cuz i think i tried everything. Is there a way that i can debug the error that shows up en specifically WHERE it shows up??

thanx

Comments

  • postsauravpostsaurav Member Posts: 708
    Hi,

    The error is may be due to negative value of any of the cubes that are available in your role center page.

    When RTC Client get crashed, it ask you to debug.

    Select yes and then it will open the debugger in Visual studio where you can see the component due to which it is giving you error.

    Resolution -

    Identify the component of Role center page that is giving error and remove it from Default Role center Page.

    If you are using NAV 2009 Then you can check the default role center from classic client. You can find that from Profile (2000000072) Table.

    Let me know if you have any issues.

    Thanks & Regards,
    Saurav Dhyani

    Do you Know this About NAV?


    Connect - Twitter | Facebook | Google + | YouTube

    Follow - Blog | Facebook Page | Google + Page
Sign In or Register to comment.