Resolve fatal error during installation of Dynamics NAV 2015 on Windows Server 2016

During an installation of Dynamics NAV 2015 on Windows Server 2016, I encountered the following error:

clip_image001

The installation log:

Configuring package. Id = ‘IISURLRewite’

MSI log file set to: C:\Users\SRV_SV~1\AppData\Local\Temp\setup.wix.msi.c.log

Windows Installer: Error: IIS Version 7.0 or greater is required to install IIS URL Rewrite Module 2.

Done configuring package. Id = ‘IISURLRewite’ ReturnCode = 1603

Rolling back MSI package. Id = ‘ARP’

ERROR: Package Microsoft IIS URL Rewrite Module (64-bit) failed with error. See detailed message above.

 

Although the Dynamics NAV Product Team has stated that Dynamics NAV 2015 are compatible with Windows Server 2016, some parts of the prerequisites does not support Windows Server 2016.
So we need to make a workaround, in order for the installation of Dynamics NAV 2015 to complete, at least when including the Web Server Components and Help Server installation options.

 

Workaround:

First, because the partial installation has applied the IIS role and services, before we proceed, we must stop the following IIS service.

Open Server Manager -> Tools -> Services and stop this service:

World Wide Web Publishing Service

If you have opened the Internet Information Service (IIS) Manager console, also ensure to close this.

 

Start Regedit.exe and navigate to this location:

HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\InetStp

Under the InetStp key, select the REG_DWORD MajorVersion

clip_image002

In Windows Server 2016 the decimal value of MajorVersion is 10, but this has to be lowered to 9 in order for the work around to work.

Right-click MajorVersion and select Modify

clip_image003

First change the Base option to Decimal

clip_image004

Then change the Value data from 10 to 9, and click OK

clip_image005

clip_image006

 

Now switch to the NAV 2015 installation media and browse to the folder:

…\NAV.80…..DVD\Prerequisite Components\IIS URL Rewrite Module

clip_image007

Run rewrite_2.0_rtw_x64.msi to install the IIS URL Rewrite Module

clip_image008

clip_image009

When the IIS URL Rewrite Module installation is complete, change back the MajorVersion value to 10 (decimal) before proceeding with the installation of Dynamics NAV 2015.

 

Start Regedit.exe and navigate to this location:

HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\InetStp

clip_image006[1]

Right-click MajorVersion and select Modify

clip_image010

Change the Base option to Decimal

clip_image011

Then change the Value data from 9 to 10, and click OK

clip_image012

 

Open Server Manager -> Tools -> Services and start the IIS service:

World Wide Web Publishing Service

clip_image013

 

Finally, start the Dynamics NAV 2015 installation again

clip_image014

Wait while Dynamics NAV 2015 installs

clip_image015

The installation now completed successfully 🙂

clip_image016

 

Leave a Reply