«

»

Print this Post

Fix NAV2015 Administration Shell after NAV 2016 installation

You should read Arend-Jan’s blogpost first.

He explains that after you install NAV2016 on a machine that already had NAV2015 on it, that it breaks the NAV2015 Administration console. Arend-Jan also provide a fix for this! A really easy one even.

But he was also talking about “if you’re not a PowerShell guru” .. And such. Now, I’m not a guru, but I sure like to “fix” things purely in PowerShell. So – since I needed the fix myself – and since I’ll probably have to apply this fix a numerous times – I was wondering whether I could come up with a simple “run with PowerShell” fix for this issue.

And I believe I have a second solution, which is going to execute all the steps that Arend-Jan already described .. but all within PowerShell. Just copy/paste the script below in a PowerShell ISE, execute it, and you should be good to go. On top of that, you might be able to include this script in any provisioning-script that you might already have .. . Don’t know – it’s up to you and the script is “as is” ;-).

Thanks Arend-Jan for sorting this out ;-).

 

5.00 avg. rating (98% score) - 5 votes

Permanent link to this article: http://www.waldo.be/2015/10/14/fix-nav2015-administration-shell-after-nav-2016-installation/

10 comments

5 pings

Skip to comment form

  1. laurent BUISSON

    Hi,
    Or you can repair NAV 2015 with lunch again setup or from Windows Programs
    And it will put correctly NAV 2015 admin OK ๐Ÿ™‚

    1. waldo

      Fair point .. thanks ๐Ÿ˜‰

  2. Capone

    I have looked into it yet but does it exist generic administration apps/programs that can handle several versions?

    1. Verndroid

      You can get this tool to manage your service tiers across multiple versions:
      http://forum.mibuso.com/discussion/49935/service-tier-administration-tool-v2-3-0

      This link is for an older version but it has built in upgrade functionality.

  3. Bitta

    Thanks for the magical solution

  4. laurent BUISSON

    Hi it is now solved with NAV 2016 CU1 ๐Ÿ™‚

    1. waldo

      It is indeed! ๐Ÿ™‚

  5. Martinho Costa

    Hi there,

    I’m doing and upgrade to 2015 and I need to use the command “Sync-NAVTenant”. Since I have NAV 2016 also installed the powershell is retreiving the following error: “The Microsoft Dynamics NAV Admin tool can only manage version 9.0. The ServerInstance ‘MicrosoftDynamicsNavServer$UPG’ is Version ‘8”
    Tried the solution on this post but without any success. Any clue?
    Thanks in advance.

    1. waldo

      Looks like you load the wrong version of the Microsoft.Dynamics.NAV.Management PowerShell module. This has nothing to do with my blog.. .

      You probably have multiple versions of NAV installed on that machine. This is how you can load the right module:
      https://nav-magno.be/2015/09/load-nav-service-dll-for-a-specific-server-instance/

    2. Martinho Costa

      Thanks a lot for your reply Waldo. sorry for it to be out of scope but it is going to help indeed.

  1. NAV 2016 installation overwrites NAV 2015 Administration Tool | Microsoft Dynamics NAV Thoughts

    […] want to call himself a PowerShel guru, but if he is not, who else is? He couldn’t resist and wrote a PowerShell script to fix the NAV 2015 Administration tool. I was only thinking about using PowerShell to administer […]

  2. Microsoft Dynamics NAV 2016 - Trending Links - Microsoft Dynamics NAV Community

    […] Tool2. In This Article  Waldo explain how to resolve the same issue using a Powershell cmdlet.Fix NAV2015 Administration Shell after NAV 2016 installation3. Below article Provides Details About New Try Function Released with Microsoft Dynamics NAV […]

  3. Fix NAV2015 Administration Shell after NAV 2016 installation – Oct 14, Waldo’s blog |

    […] Continued on Source: Fix NAV2015 Administration Shell after NAV 2016 installation ยป waldo's blog […]

  4. Fix NAV2015 Administration Shell after NAV 2016 installation | PA

    […] He explains that after you install NAV2016 on a machine that already had NAV2015 on it, that it breaks the NAV2015 Administration console. Arend-Jan also provide a fix for this! A really easy one even. More… […]

Leave a Reply

%d bloggers like this: