Error "Connection Failed. The request failed with HTTP status 401: Unauthorized."

When you press connect in the XIA Automation Client Tools, you get the error "Connection Failed. The request failed with HTTP status 401: Unauthorized.":


This can be caused because Windows Authentication has not been installed in IIS.


Ensure that all the prerequisites have been installed in IIS including Windows Authentication:

Once Windows Authentication has been installed, open IIS Manager and select the XIA Automation virtual directory then double click the Authentication icon.

  • Ensure that Windows Authentication is enabled then right click it and select Providers

  • Ensure that both Negotiate and NTLM are in the list of Enabled Providers.
    If they are not listed select them from the available providers drop down list and click add.