Windows console: Error Initializing console Client found response content type of '', but expected 'text/xml'. The request failed with an empty response.

Version 4

    Verified Product Versions

    Endpoint Manager 9.5Endpoint Manager 2016.x

    Problem:

    When attempting to login to either the core console or a remote console you see the error:

    console error.PNG

     

    Console.exe.log file contains:

    RollingLog : The remote server returned an error: (500) Internal Server Error.

    INFO  2740:Main Thread RollingLog : InvalidOperationException Exception: Client found response content type of '', but expected 'text/xml'.

    The request failed with an empty response.

    Cause:

    The applicationhost.config file (c:\windows\system32\inetsrv\config\) was modified and makes changes the LANDESK application pools name and .Net to the incorrect version. However, the IIS GUI displays the application pool settings with the correct name and .Net version.

     

    Solution/ Workaround:

    IIS7 makes automatic backups of the applicationhost.config file every time a change is made to the configuration, which can be found at c:\inetpub\history\. Restore a backup of the applcationhost.config from a known good date, or use the applicationhost.config from a known good core server at the same patch level.

     

    Note: If LDMS is installed to a non-default directory, modifications to the replacement applicationhost.config (if not from a backup) may be necessary.