Server Host cannot be null

Last Published: April 25, 2020

Error Message

When opening the Services Directory application or accessing a Web service, the following error message is returned:

"Server Host cannot be null."

This issue applies to ArcGIS Server for the Microsoft .NET Framework.


This is a known issue caused by running the AddInstance utility with an existing username, but an incorrect password. Entering an invalid password results in the new instance not being configured properly.

Solution or Workaround

Run the Web Applications Post Install to configure the instance with either a new or existing user account.

Unlike the AddInstance utility, the Web Applications Post Install validates both the username and password for existing accounts.

    Article ID:000010636

    • ArcGIS Server

    Get help from ArcGIS experts

    Contact technical support

    Download the Esri Support App

    Go to download options

    Discover more on this topic