Channel.Security.Error from ArcGIS Sever MapManager

16152
35
Jump to solution
01-27-2012 08:04 AM
ThomasMcCracken
New Contributor III
Hi everyone,

I get an error window when I open my Flex Viewer application that says:

"Layername layer failed to load: Fault code: Channel.Security.Error
Fault info: Security error accessing url
Fault details:  Destination:  DefaultHTTP

The crossdomain.xml is on the GIS and web server and is correct.  In fact, another
GIS Server with the exact same crossdomain.xml brings in the service in the app just fine.  I tested using both SOAP and REST services and get the same result.  I also get the same error from my local web client on my machine rather than the web server so I'm not sure what's going on.  Any suggestions?

Thanks,

Thomas McCracken
GIS Analyst
Georgia Power Company
Tags (2)
0 Kudos
1 Solution

Accepted Solutions
ThomasMcCracken
New Contributor III
After setting Secure='false' for both domain and headers my services are now working in the viewer perfectly.

View solution in original post

0 Kudos
35 Replies
RobertScheitlin__GISP
MVP Emeritus
Thomas,

   Can you actually get the crossdomain.xml file to display in your web browser when you use it's url in the address bar?

http://YourServer/crosdomain.xml
0 Kudos
ThomasMcCracken
New Contributor III
Yes, it shows up when I type in the URL.
0 Kudos
RobertScheitlin__GISP
MVP Emeritus
Thomas,

   So does the ArcGIS Server have security enabled?
0 Kudos
ThomasMcCracken
New Contributor III
No, the security is disabled as well.  I can't make any sense of it!
0 Kudos
TimTaylor2
New Contributor
Have you found a solution to this, I am running into the same problem even after setting the crossdomain security policy to false
0 Kudos
ThomasMcCracken
New Contributor III
No, I haven't found a solution yet.  I'm setting up ArcGIS Server on another server with IT now to see what results we get.  We tested with another internal server before with someone else's services and they came in fine.  We also tried using mxd's and msd's and got the same result with both.  SOAP/REST didn't matter either.  If I figure anything out I'll post it, but as of now I haven't a clue.

Thomas
0 Kudos
RobertScheitlin__GISP
MVP Emeritus
So guys,

  When you type the REST URL of one of your map services in the address bar of your browser does it bring up the REST Service Directory?

i.e. http://gislap134/ArcGIS/rest/services/highway/MapServer (do not use local host and you can not mix and match IP addresses and machine names).
0 Kudos
ThomasMcCracken
New Contributor III
Yes, I can get to the rest endpoint and the services work within ArcMap/Catalog.
0 Kudos
RobertScheitlin__GISP
MVP Emeritus
Thomas,

  actually the fact that it works in ArcMap and ArcCatalog has little relevance as they both use SOAP and not the REST endpoint.
So you are not using localhost and you are not specifying the IP address in one place and the server name in another, such as IP in the crossdomain and servername in the url for the layer?
0 Kudos