Earlier today, my attempts to import a translation file (in text format; not a language module) were met with this error message - equally persistent as it was uninformative:

Microsoft Dynamics NAV Classic has stopped working. Windows is checking for a solution to the problem.

which, after a while, was replaced with this:

A problem caused the program to stop working correctly. Windows will close the program and notify you if a solution is available.

Luckily, the error message turned out to be overly drastic, and the client was still running after I clicked Close program. It took me some time to figure out what had caused this problem. In the end, I was able to reproduce the problem with a tiny two-line translation file:

My translation file

As you can see, the file erroneously contains the same “signature” (T11024193-F6-P8629-A1043-L30) twice. When editing the file before, I had forgotten to change the language code in the second line. Be sure to check for lines like these if you can’t seem to import a translation file! :)

2 Responses to “Client crashes when importing translation file”

  1. Luc van Vugt Says:

    Jan,

    I suggest to report this as a bug to MS

  2. jhoek Says:

    You are probably right, Luc, although I don’t think dealing with invalid input, or code robustness issues in general, are a particularly high priority for the platform team. After all, correctly formed translation files can be imported without any problem.

Leave a Reply

*
To prove you're a person (not a spam script), type the security text shown in the picture. Click here to regenerate some new text.
Click to hear an audio file of the anti-spam word