laptop and a wrench

Error

Clicking View In in ArcGIS Map Viewer in the ArcGIS Server services directory, it returns an error of "Unsupported layer" with services when the ArcGIS Server is secured using Integrated Windows Authentication (IWA).

ArcGIS GIS Server
Número de ID del error BUG-000169722
EnviadoAugust 5, 2024
Última modificaciónSeptember 11, 2025
Relacionado conArcGIS GIS Server
Versión encontrada11.1
Sistema operativoWindows OS
Versión de sistema operativo10.0 64 Bit
EstadoAs Designed

Información adicional

This is by design. This issue occurs because the Map Viewer app only utilizes CORS requests to access the services. When the service is secured with web-tier authentication (IWA, Basic, client certificate, etc), the CORS request must be sent with credentials. ArcGIS Online only make the CORS requests with credentials for URLs hosted on servers that are included in the 'Trusted servers' list in an organization's security settings. Since viewing the service in ArcGIS Online goes to www.arcgis.com/apps/mapviewer by default, there are no trusted servers so the CORS request will never be sent with credentials. These services are viewable in Map Viewer Classic because they are not accessed with CORS requests.

Solución alternativa

The ArcGIS Online map viewer URL that appears at the top of the REST services directory pages can be adjusted to point to a specific ArcGIS Online organization that has been configured with the ArcGIS Server hostname included in the list of 'Trusted servers'. This allow the services to be viewable in Map Viewer. If an ArcGIS Online organization is not available, the URL can also be adjusted to point to a Portal for ArcGIS where the 'Trusted servers' can be configured. The other option would be to use Map Viewer Classic to view the services.

Pasos para reproducir

ID del error: BUG-000169722

Software:

  • ArcGIS GIS Server

Recibir notificaciones cuando cambie el estado de un error

Descargar la aplicación de soporte de Esri

Descubrir más sobre este tema

Obtener ayuda de expertos en ArcGIS

Contactar con el soporte técnico

Descargar la aplicación de soporte de Esri

Ir a opciones de descarga