“Microsoft.Dynamics.Nav.Client has stopped working”
This message has given me a headache today, but now I finally found a solution…
The error message came up when I tried to start up the NAV 2013 RTC client. There were 2 error messages in the Event Log, but none of them said anything useful.
I have been fighting with a problem similar to this once before, where I had to give up and never found a solution. The problem seemed to be related to roaming profiles where the user profile was stored at \\server\profiles$\username\… and the error message there was something like “app data path contains illegal characters”. Anyway, my point is that this customer only had this problem on Lenovo laptops. There were no problems running NAV in a VM using the same username and Group Policies.
This makes me think that there might be some kind of software preinstalled on Lenovo computers?!? There seem to be a problem when the NAV client has to write to C:\Users\username\appdata\…
Long story short… I fixed the problem by changing the NAV 2013 RTC shortcut and adding the parameter -settings:”C:\ProgramData\Microsoft\Microsoft Dynamics NAV\70\ClientUserSettings.config”.
How do you change the NAV 2013 RTC shortcut and addi the parameter -profile:”C:\ProgramData\Microsoft\Microsoft Dynamics NAV\70\ClientUserSettings.config”.
Thank you
LikeLike
Hi Joe
I added a screenshot to the post. You must select properties on your NAV shortcut and add the -profile “path_to_config” to the Target (don’t delete the current target, just add the new parameter behind the current value).
Hope this helps!
Best regards
Nicolai
LikeLike
Hello Nicolai,
if you want to start the Client with a special CustomUserSettings.config file you should use the parameter -settings:”filepath\CustomUserSettings.config” and not -profile.
Kind Regards
Eduard
LikeLike
Thank you Eduard, my mistake. I have edited the post and screenshot now.
LikeLike
Hi there Nicolai,
Would you be able to post the full line that you typed in the ‘start in’ field. Just gets a bit tricky trying to work it out from a screenshot.
Thanks -)
LikeLike
Hi Mark.
The start in field should contain the path to the folder with finsql.exe. Default would be “C:\Program Files (x86)\Microsoft Dynamics NAV\70\RoleTailored Client”.
LikeLike
Check company information Table. Worked for me
LikeLike