I have tried to create a test company using NAV 2016 Development Shell (already run as admin). But when I
execute the command "new-navcompany" shell cannot recognize the command and it returned an error. However when I execute the same command on Development shell version 8.0 it worked!!!. Any suggestion what has gone wrong in development shell version 9.0 ? why it cannot recognize the above quoted command?
*This post is locked for comments
Your welcome.
ok will try Tharanga. Thank you for support
Build 42815 is the initial version released. You need to at least update it to CU1 to overcome the issue.
I have both 2015 and 2016 are running on my PC,
2015 : Build 37874
2016 : Build 42815
What is the build you using? If your build is 43402 (CU1) or higher you will not have this issue. This was a platform issues and it was resolved in the Cumulative Update 01 of NAV 2016.
ID : 375957 - Dynamics NAV 2016 overwrites Dynamics NAV 2015 MMC controls.
Thanks Saurav will try your solution.
Command : new-navcompany
Error : new-navcompany : The term 'new-navcompany' is not recognized as the name of a cmdlet, function, script file, or
operable program. Check the spelling of the name, or if a path was included, verify that the path is correct and try
again.
At line:1 char:1
+ new-navcompany
+ ~~~~~~~~~~~~~~
+ CategoryInfo : ObjectNotFound: (new-navcompany:String) [], CommandNotFoundException
+ FullyQualifiedErrorId : CommandNotFoundException
Yes I have installed NAV 2015 version too
As Both Versions are installed the registry entries for the powershell modules seems to be mapped with NAV 2015 instead of 2016.
Microsoft have come up with Solution for this and to implement that the approach is -
> Un-install Nav 2015 and 2016.
> Install NAV 2015.
> Install NAV 2016 (at least CU1).
Below is the reference ID from NAV 2016 CU1 Platform Hotfix.
375957 Dynamics NAV 2016 overwrites Dynamics NAV 2015 MMC controls.
Let us know how it goes.
With what exactly parameters do you run that? What exactly is the error? Do you have different versions installed on the same machine?
Sohail Ahmed
2
mmv
2
Amol Salvi
2