Try Microsoft Edge
A fast and secure browser that's designed for Windows 10
When opening Item Ledger Entries for some particular user the Navision Application crashes only some times
Event log details are as below:
Level Date and Time Source Event ID Task CategoryError 22.01.2015 09:26:44 MicrosoftDynamicsNAVClient 0 None "Type: System.ArgumentOutOfRangeExceptionMessage: Index is not in a valid range for this collection. Parameter name: indexStackTrace: at Microsoft.Dynamics.Nav.Client.WinClient.ExceptionHandler.<>c__DisplayClass6.<DoRethrowWithCatchException>b__4() at Microsoft.Dynamics.Nav.Client.WinClient.NavClientErrorHandler.ExecuteAndCatchExceptions(Func`1 execute) at Microsoft.Dynamics.Nav.Client.WinClient.ExceptionHandler.DoExecute(Func`1 execute) at Microsoft.Dynamics.Nav.Client.WinClient.ExceptionHandler.DoRethrowWithCatchException(Exception exception, Boolean designMode)Source: Microsoft.Dynamics.Nav.Client.WinClientHResult: -2146233086----------------------------------Type: System.ArgumentOutOfRangeExceptionMessage: Index is not in a valid range for this collection. Parameter name: indexParamName: index
Level Date and Time Source Event ID Task CategoryError 22.01.2015 09:26:44 Application Error 1000 (100) "Faulting application name: Microsoft.Dynamics.Nav.Client.exe, version: 7.1.36366.0, time stamp: 0x533b28c3Faulting module name: unknown, version: 0.0.0.0, time stamp: 0x00000000Exception code: 0x80131623Fault offset: 0x01074ef9Faulting process id: 0x1da8Faulting application start time: 0x01d0361d1c9e9f43Faulting application path: C:\Program Files (x86)\Microsoft Dynamics NAV\71\RoleTailored Client\Microsoft.Dynamics.Nav.Client.exeFaulting module path: unknownReport Id: 657a0cb4-a210-11e4-80d4-00188b8bd8cfFaulting package full name: Faulting package-relative application ID: "
this is an error caused by an array with to small dimension size . best you debug.
If it is the dimensions issue, it should happen for all the users, we have checked there are no variables specified with the dimensions
Delete the metadata for that page for those users and try. The tables where you delete that metadata are
User Metadata and Page Data Personlization
i had a similiar error, when clicking on the effective costs link in the statistics page of an prod. order. normally the capacity ledger entries page opens correctly, but sometimes the windows client crashes completely without any error message. but there is an entry in the eventlog saying "Index is not in a valid range for this collection."
after hours of researching and testing (debugging did not help), it turned out, that there is a bug in the nav standard.
the cap. ledger entries page is called by page.run(0,CapLedgEntry). the CapLedgEntry records are filtered and looped. in the loop some changes are made to some of fields of a record. when done, the record is marked(true). at the end of the loop the records are filtered with markedonly(true). but ... sometimes the last record processed in the loop is not marked. the record pointer (the index of the recordset) points to that record and is given to the page when called. bam! crash is ready. why that? the (last) record is not part of the recordset given to the page.run call, but the index points to that record. that is not allowed.
Did you find any way to solve this? We currently seem to have a similar situation
As mentioned by Suresh, try to delete the User Metadata for that specific user (you may filter that specific page also) and try.
in my case it is only for a particular user, the "Reset user Specific Settings" worked for me, if it is happening for all users can you check the event viewer log for more details
I think you have already found a solution for the issue. However just want to log my answer here, so in future it will be useful for some other user.
Today I got the exact same issue with one of 2013 R2 client. Tried deleting metadata and all sort of solutions, but did not fix the error. Page can be run using development environment, however when I try to open the page using navigation pane, then NAV get crash.
Page was a list page and it was categorized under Administration. I just change it to type List and everything start to work.
Don't know the exact root cause, but it worked.
I was getting seemingly Random NAV Crashes on a NAV2013R2 client on the Base install.
The Event viewer was getting the same issues as described above, one information and one error every time NAV crashed. Again I'd tried to delete the User Metadata and Page Data Personlization, delete all Personalization and went on to look at changing profiles as I believe the profiles override some of the User settings. But all to no avail.
The issue in this case was the Windows Task Bar Preview images. When the user opened NAV, then a Sales Quote (Not limited to quotes), switched back to the main NAV screen and then hovered over the Quote page and clicked on it NAV would crash with the same errors.
I believe that this is a more recent issue between the application and Windows10, but not likely something that more recent Cumulative Updates would encounter (Speculation, I don't have this replicated in a local environment). So I looked to disable the the Previews. In the end I found a Registry Edit to put a pause in place:
Adding this DWORD (32)to the registry managed to fix the issue. I was hoping merely to delay the image popping up, but it seems that by delaying the image shown that the problem has gone away.
I hope that this might well help someone else out there, or that someone can build on this for their own solution.
Did you solve this problem? I've same problem with Surface Laptop and this happens only when i use docking station with dual monitor.
Business Applications communities