--------------------------- Microsoft Excel --------------------------- Microsoft Dynamics NAV Excel Add-in encountered an external error: The client version does not match the server version. You can only connect to a server with a matching version. Client version: 8.0.39663.0 Server version: 8.0.41370.0 --------------------------- OK ---------------------------
Import-NAVServerLicense : The client version does not match the server version. You can only connect to a server with a matching version. Client version: 8.0.41370.0 Server version: 8.0.39663.0
Comments
The administration shell actually imports a powershellscript on startup. The management DLL is only compatible with the build version of your servicetier.
If you want to create an administration shell for your specific version, you should make a shortcut to this path: This shortcut imports the correct DLL for usage with your version.
2 examples from me: That way you can start the correct administration shell.
Thank you for your Suggestion. Worked in PowerShell ISE. I imported the module of the corresponding Build and I get the error message.
As you mentioned I also create a shortcut to call the ps1 file, but also with the shortcut I receive the same error.
Did the PS command take the Version somewhere from the registry? Who can I find this key?
Best regards
Jeannot
If you open NavAdminTool.ps1 with notepad, you should see why.
The script reads from the registry.
You can change this line:
To this:
Please note that your editor might require administration rights to change files inside the Program Files folder.
You could also make a copy of the NavAdminTool.ps1 and edit that one so you still have the original file.
http://mibuso.com/blogs/davidmachanick/
But you can edit the path in the registry:
"HKLM:\SOFTWARE\Microsoft\Microsoft Dynamics NAV\90\Service"
Both worked for me.
Edit: Sorry, changing the path didn't work. I had edited the wrong file and not changed the Registry path, so I Just thought it worked when it infact didn't