Hello All,
Microsoft dynamics GP2018R2 Crash with the exception given below.
1.
Description: The process was terminated due to an unhandled exception.
Exception Info: System.ArgumentException
at System.ThrowHelper.ThrowArgumentException(System.ExceptionResource)
at System.Collections.Generic.Dictionary`2[[System.__Canon, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089],[System.__Canon, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089]].Insert(System.__Canon, System.__Canon, Boolean)
at Microsoft.Dexterity.Shell.NavigationPathHelper.RebuildLinkData()
at Microsoft.Dexterity.Shell.NavigationForm.RebuildNavigationPane()
at DtwUIShellManagedNavigationPane.RemoveNavigationItems(UInt16)
at DtwUIShellManaged.UpdateCommandItem(UInt16, UInt16, UInt16, Int16)
at <Module>.dt_shell_update_command_item(UInt16, UInt16, UInt16, Int16)
at <Module>.TNT_new_event_loop(Int16 (HWND__*, EVENT*, Int16*), Int16, Int16)
at <Module>.dtw_run()
at <Module>._WinMainCRTStartup()
*****************************************************************************************
2.
Application: Dynamics.exe
Framework Version: v4.0.30319
Description: The process was terminated due to an unhandled exception.
Exception Info: System.Runtime.InteropServices.SEHException
at <Module>.TNT_new_event_loop(Int16 (HWND__*, EVENT*, Int16*), Int16, Int16)
at <Module>.dtw_run()
at <Module>._WinMainCRTStartup()
****************************************************************
3.
Description: The process was terminated due to an unhandled exception.
Exception Info: System.OutOfMemoryException
at System.Data.ProviderBase.DbConnectionFactory.PruneConnectionPoolGroups(System.Object)
at System.Threading.ExecutionContext.Run(System.Threading.ExecutionContext, System.Threading.ContextCallback, System.Object, Boolean)
at System.Threading.TimerQueueTimer.CallCallback()
at System.Threading.TimerQueueTimer.Fire()
at System.Threading.TimerQueue.FireNextTimers()
at System.Threading.TimerQueue.AppDomainTimerCallback(Int32)
Hello Deepak,
When you see GP 2018 R2 crash with the above error messages, when exactly does it occur? I.e. launching the application, logging in, or a specific process within the GP application?
Also, if the forms/reports dictionary files are on a shared network directory, try moving them all local, such as the default C:\Program Files(x86)\Microsoft Dynamics\GP2018R2\Data\ directory, change the Dynamics.set file to show accordingly, then test to see if the crashing still occurs.
If it does, try going into the Customization Maintenance window, select everything listed and export into a package file, then have all users log out of GP and cut/paste all existing forms and reports dictionary files into a backup folder, so GP will not see them when you launch the application. You can do the same thing with the .vba files in the GP directory.
Then, log back into GP and go into the Customization Maintenance window, which should be empty if we did this correctly, import the package file back in which should re-create the forms and reports dictionary files and .vba files, then verify whether or not the GP application crashing still exists or not.
I'd start with the above and see if this doesn't resolve the issue.
Let us know.........
Thanks
Stay up to date on forum activity by subscribing. You can also customize your in-app and email Notification settings across all subscriptions.
André Arnaud de Cal... 290,524 Super User 2024 Season 2
Martin Dráb 228,469 Most Valuable Professional
nmaenpaa 101,148