Select to view content in your preferred language

Has anyone encountered a problem using ArcGIS Server 10.4.1 map services with ArcGIS Portal 10.5.1 Scene Viewer?

901
3
09-27-2017 10:43 AM
DennisGeasan
Frequent Contributor

I'm not able to render ArcGIS Server 10.4.1 map services in ArcGIS Portal 10.5.1 Scene viewer.  Google Chrome Developer tool displays this error:

Failed to load https://<DOMAIN_NAME>/arcgis/rest/info?f=json: No 'Access-Control-Allow-Origin' header is present on the requested resource. Origin 'https://<DOMAIN_NAME>' is therefore not allowed access. The response had HTTP status code 401.

<DOMAIN_NAME> is a actual value in the error.  This is a CORS related issue.  I have added "Access-Control-Allow-Origin" with value "*" in IIS for both the Portal and ArcGIS Server instances but no joy.

The ArcGIS Server 10.4.1 instance will soon be upgraded to 10.5.1.

What I really need to know is if this is a known issue and will the upgrade to 10.5.1 eliminate the problem.

DG

0 Kudos
3 Replies
JonathanQuinn
Esri Notable Contributor

It may be a trusted servers problem.  See if going through the following link helps:

Configure security settings—Portal for ArcGIS (10.5.x) | ArcGIS Enterprise 

0 Kudos
DennisGeasan
Frequent Contributor

Tried that.  No joy.  Seems like 10.5.1 Portal Scene viewer only works with federated AGS services or only 10.5.1 non-federated AGS.  10.4.1 non-federated AGS services just don't work.

0 Kudos
BrentPorter
Occasional Contributor

Still appears to be the case at 10.6 Portal. This really needs to be addressed... ESRI, anyone listening?

-Brent

0 Kudos