Options

Webclient install Azure

beliard007beliard007 Member Posts: 2
When setting up Web client with version 2018 RTM and also with CU2, there is this error:
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.

Also other nonsense error related to missing powershell 2.0 or something.. some folder are created, settings in IIS are populated, others not. At the end there is an error. Manualy adding IIS features, rebooting e reinstalling NAV and/or complete WebServer (with or without components), did not help. same error appears again and again.

Does anybody got a clue how to complete the Web Client setup ?


Thank you for your time.

Answers

  • Options
    KTA8KTA8 Member Posts: 389
    I had some similar issue and I solved modiying the windows registry but I couldn't find exactly what I've done.
  • Options
    TSzTSz Member Posts: 1
    Make sure you have registry "HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Microsoft Dynamics NAV\110\Web Client". Compare registry values with other pc/server with NAV2018.
    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".
  • Options
    beliard007beliard007 Member Posts: 2
    Solution is to NOT use the Net Core 1.0.4 found on the setup, but 1.0.7.
    Download link GitHub: DotNetCore.1.0.7_1.1.4-WindowsHosting
Sign In or Register to comment.