I worked on a critical call escalated from our support desk today.
Dynamics.exe was crashing on two of our clients Citrix Servers when the application was being opened.
What was strange is that both of the servers got the same problem at exactly the same time. Initially, working with our infrastructure team, we thought this might be to do with Windows Updates/.NET.
Upon further investigation, I found that it wasn’t.
I checked Event Viewer and found just a generic error message:
At this point, I decided to use a tool called Procmon, a Windows Sysinternals utility. This allowed me to see what files were being accessed by the dynamics.exe process. After I applied a filter for Dynamics.exe I ran the application and, after Dynamics crashed, was able to look at the log of files being accessed.
The last file on the list was R1058.DIC, Dynamics GP’s Interfund Management Reports dictionary.
Armed with this information, I was positive that a file in the installation was corrupt. Although the R1058.DIC was the last file on the list, it may not have been this file that was corrupt, but decided to try and replace the file anyway.
After backing up the installation directory, I copied the file from one of the servers that we knew was identical and was working. GP now opened and ran fine. I followed the same steps on the second server and fixed the issue with the same file.
Very strange that this happened on both servers at the same time, with the same file, but glad we were able to resolve the issue for our client quickly and efficiently.
So, if you are getting a random Appcrash problem, it might just be your dictionaries!