running RTC crashes IndexOutOfRangeException

NoiK00
Member Posts: 51
Hi all
When trying to connect from a RTC to the server i get this error:
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
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
0
Comments
-
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 + Page0
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