ERROR

"Service does not exist or is not available"

First Published: April 14, 2026
Last Published: April 14, 2026

Error Message

When attempting to add a new item to Portal for ArcGIS from a non-federated ArcGIS Server REST endpoint, the following error occurs:

"Service does not exist or is inaccessible."

As part of an initial investigation, the following steps can be performed:

  • Check the URL for errors
  • Perform ping and network connection tests between machines (if applicable)
  • Check certificates and cross-pollinate if necessary
  • Check file permissions
  • Check IIS bindings
  • Capture network traffic

Cause

This error has been observed in an ArcGIS Enterprise environment at version 11.5 using the primary administrator account.

The network traffic can be analyzed with particular attention to the checkURL? entry:

Error seen in the New Item dialog box

At this stage, the following 401 error may be noted:

{"secured":true,"httpStatusCode":401,"httpStatusMessage":"HTTP/1.1 401 Unauthorized","httpHeaders":{"accessControlAllowOrigin":"*","contentType":"text/html"},"httpResponse":"","url":"https://*******/server/rest/services/**********"}

When the HTTP response headers are investigated, and it may be found that the default site properties had Access-Control-Allow-Origin set to * (asterisk), as shown in the image below.

Along with this, the server's AllowedOrigins property in its Services Directory may show it set to an asterisk as well.

Because of this conflict and its ensuing Cross-Origin Resource Sharing (CORS) policy violation, the service cannot load into Portal for ArcGIS.

Solution or Workaround

Deleting the Access-Control-Allow-Origin property in Internet Information Services (IIS) Manager resolves this issue.

Article ID: 000037726

Software:
  • Portal for ArcGIS

Get support with AI

Resolve your issue quickly with the Esri Support AI Chatbot.

Start chatting now

Related Information

Discover more on this topic

Get help from ArcGIS experts

Contact technical support

Start chatting now

Go to download options