RTC crashes on multiple computers when Send to Excel function is used on one pages. All other areas/pages work well and there are no errors or crashes. Also, this does not happen with Classic, only RTC and only one page. We have restarted all servers, synchronized logins, compiled, created new entries in order to rule out data error but no success.
The event log message says: index is not in a valid range for this collection. Parameter name: Index
Here are some of the details from the event log:
Index is not in a valid range for this collection.
Parameter name: index
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)
Thanks in advance for any tips and suggestions!
That error mean that the NAV page is trying to pass something to excel that doesn't fit, the index leads me to think that this might be the number of lines or number of columns (It wont be the columns unless there is a crazy number of columns?), try and set a filter so that you have only 10 lines on the page then export and see if you get the error, the new version of Excel (2010 and up i think) can handle a million lines and the old (prior versions) can handle 65 000 lines
Neville FoynNAV Developer, Consultant & TrainerMCTS NAV, CRM, Sharepoint, SQLMCSA SQL 2012MCITP NAVMCT
Thanks Nev! I found out what the issue was in this case. The problem is with the page design and programming. There are two sections and Excel is not able to create a tab for the bottom section - list exports well but not the remaining part of the page. Basically, this would require additional code change in order to fix.
Glad you got it sorted