ERROR

The remote server returned an error: (401) Unauthorized

Last Published: April 25, 2020

Error Message

Upload Project returns the below error:
---- Business Analyst Desktop Errors: -----
Unable to upload content to the server: The remote server returned an error: (401) Unauthorized.

Cause

Enable anonymous access is not checked in Authentication Methods in Microsoft Internet Information Services (IIS).

Solution or Workaround

The 'arcgisoutput' directory needs anonymous access enabled in Authentication Methods in Microsoft Internet Information Services (IIS). If the Enable anonymous access is unchecked, the authentication to the URL fails resulting in the (401) Unauthorized error:
[O-Image]
Prior to (401) Unauthorized error, a dialog box may display asking for Username and Password, like so:
[O-Image]

Providing the information may not help.

  1. To Enable anonymous access, first open Internet Information Services (IIS) Manager. This can be done using the operating system's Administrative Tools.
  2. In the IIS Manger dialog box, expand the
    -(local computer)
    - Web Sites
    - Default Web Site
    - arcgisoutput
    [O-Image]
    Note:
    If there is a custom IIS configuration, navigate to the location of arcgisoutput directory.

  3. Right-click on the arcgisoutput directory. Select Properties. In the arcgisoutput Properties dialog box, select Directory Security and select Edit...
    [O-Image]

  4. This opens up the Authentication Methods dialog box. In this dialog box, ensure that Enable anonymous access is checked.
    [O-Image]

  5. Click OK.
  6. Restart IIS and ArcGIS Server services.

    Note:
    To ensure that all the services were restarted, log off and log on before executing Upload Project again.

Article ID:000010773

Software:
  • ArcGIS Business Analyst Enterprise

Receive notifications and find solutions for new or common issues

Get summarized answers and video solutions from our new AI chatbot.

Download the Esri Support App

Discover more on this topic

Get help from ArcGIS experts

Contact technical support

Download the Esri Support App

Go to download options