During an installation of Dynamics NAV 2015 on Windows Server 2016, I encountered the following error:
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
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
First change the Base option to Decimal
Then change the Value data from 10 to 9, and click OK
Now switch to the NAV 2015 installation media and browse to the folder:
…\NAV.80…..DVD\Prerequisite Components\IIS URL Rewrite Module
Run rewrite_2.0_rtw_x64.msi to install the IIS URL Rewrite Module
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
Right-click MajorVersion and select Modify
Change the Base option to Decimal
Then change the Value data from 9 to 10, and click OK
Open Server Manager -> Tools -> Services and start the IIS service:
World Wide Web Publishing Service
Finally, start the Dynamics NAV 2015 installation again
Wait while Dynamics NAV 2015 installs
The installation now completed successfully 🙂