Action start 10:22:26: InstallFinalize. WixCreateInternetShortcuts: Creating IUniformResourceLocatorW shortcut 'C:\Users\user\AppData\Roaming\Microsoft\Windows\Start Menu\Programs\Dynamics NAV 2018 Web Client.url' target 'http://localhost:8080/DynamicsNAV110' CAQuietExec64: OK. CAQuietExec64: Set-WebConfigurationProperty : The data is invalid. (Exception from HRESULT: 0x8007000D) CAQuietExec64: At C:\Program Files\Microsoft Dynamics NAV\110\Web CAQuietExec64: Client\Modules\NAVWebClientManagement\NAVWebClientManagement.psm1:623 char:5 CAQuietExec64: + Set-WebConfigurationProperty -Filter '/system.webServer/security/ ... CAQuietExec64: + ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ CAQuietExec64: + CategoryInfo : NotSpecified: (:) , COMException CAQuietExec64: + FullyQualifiedErrorId : System.Runtime.InteropServices.COMException,Microsoft.IIs.PowerShell.Provider.SetConfigu CAQuietExec64: rationPropertyCommand CAQuietExec64: CAQuietExec64: Set-WebConfigurationProperty : The data is invalid. (Exception from HRESULT: 0x8007000D) CAQuietExec64: At C:\Program Files\Microsoft Dynamics NAV\110\Web CAQuietExec64: Client\Modules\NAVWebClientManagement\NAVWebClientManagement.psm1:624 char:5 CAQuietExec64: + Set-WebConfigurationProperty -Filter '/system.webServer/security/ ... CAQuietExec64: + ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ CAQuietExec64: + CategoryInfo : NotSpecified: (:) , COMException CAQuietExec64: + FullyQualifiedErrorId : System.Runtime.InteropServices.COMException,Microsoft.IIs.PowerShell.Provider.SetConfigu CAQuietExec64: rationPropertyCommand CAQuietExec64: CAQuietExec64: Error 0x80070001: Command line returned an error. CAQuietExec64: Error 0x80070001: QuietExec64 Failed CAQuietExec64: Error 0x80070001: Failed in ExecCommon64 method CustomAction CreateWebApplicationCore returned actual error code 1603 (note this may not be 100% accurate if translation happened inside sandbox) Action ended 10:23:01: InstallFinalize. Return value 3. WixRemoveInternetShortcuts: Error 0x80070103: failed to read shortcut attributes from custom action data CustomAction WixRollbackInternetShortcuts returned actual error code 1603 but will be translated to success due to continue marking Action ended 10:23:03: INSTALL. Return value 3.
Answers
If not correct, ideally repair from Web Server Components with NAV installer.
I've notice when running New-NAVWebServerInstance script fails to update "/system.webServer/security". It looks like web.config is corrupted (try to edit Authentication in IIS). Eventually script fails to save values into "c:\Windows\System32\inetsrv\Config\applicationHost.config".
Download link GitHub: DotNetCore.1.0.7_1.1.4-WindowsHosting