Select to view content in your preferred language

MapManager Error

4420
8
Jump to solution
06-27-2012 01:09 PM
LawrenceRover
Deactivated User
I am new to ArcGIS Server and the API for Flex, and have run into an issue when trying to access the service through the internet.  I gave our IT department the url that was generated when the flexviewer service was created and he returned a temporary url for testing through the internet.  The web map service loads however I am am receiving the error in a popup that states: Map Mananger, MSD.DBO.Project Parcels prj layer failed to load: Fault code: Channel.Security.Error, Fault info:Security error accessing url, Fault details: Destination: DefaultHTTP.

It appears to be an issue with accessing my SDE geodatabase feature service.  Eventually I want to establish a login and password system in an https environment with different user access and permissions enabled through the web service.  If there is something I should start to incorporate into this service now that would allow access to editing the sde in addition to accessing the web map service, I would greatly appreciate any input.

Thanks,

Larry
Tags (2)
0 Kudos
1 Solution

Accepted Solutions
RobertScheitlin__GISP
MVP Emeritus
Larry,

  Are you using the IP in all the layer urls in your main config.xml?

View solution in original post

0 Kudos
8 Replies
RobertScheitlin__GISP
MVP Emeritus
Larry,

   Do you have a crossdomain.xml file on your ArcGIS Server? See the documentation on it here:

http://resources.arcgis.com/en/help/flex-api/concepts/017p/017p0000001w000000.htm

Also for future reference you need to post Flex Viewer questions to the Flex Viewer forum here:

http://forums.arcgis.com/forums/111-ArcGIS-Viewer-for-Flex

Don't forget to click the Mark as answer check on this post and to click the top arrow (promote).
Follow the steps as shown in the below graphic:
0 Kudos
LawrenceRover
Deactivated User
Larry,

   Do you have a crossdomain.xml file on your ArcGIS Server? See the documentation on it here:

http://resources.arcgis.com/en/help/flex-api/concepts/017p/017p0000001w000000.htm

Also for future reference you need to post Flex Viewer questions to the Flex Viewer forum here:

http://forums.arcgis.com/forums/111-ArcGIS-Viewer-for-Flex

Don't forget to click the Mark as answer check on this post and to click the top arrow (promote).
Follow the steps as shown in the below graphic:


I tried adding the cross domain xml and I am still receiving the same error.  Is there anything I need to change to the xml, or any services I should restart for it to work?
0 Kudos
RobertScheitlin__GISP
MVP Emeritus
Larry,

  Install an http utility like Fiddler or firebug so you can see the http requests that are failing and the possible reason why.
0 Kudos
LawrenceRover
Deactivated User
Larry,

  Install an http utility like Fiddler or firebug so you can see the http requests that are failing and the possible reason why.


Robert,

Thanks for the help, I have been testing with firebug and it is very useful. I solved that error but am receiving a new one shown in the attached photo.  I added the proxy url in the flex viewer settings, but it appears the rest services is pointing to the name of the server (http://myserver:6080/rest), should it be pointing to the actual ip address (http://192.268.10.48:6080/rest)? In the capabilities of the map and feature service it is not allowing the rest service to be changed, is there another way to do this, or is it something else?

Thanks,

Larry
0 Kudos
RobertScheitlin__GISP
MVP Emeritus
Larry,

  Are you using the IP in all the layer urls in your main config.xml?
0 Kudos
LawrenceRover
Deactivated User
Thank you so much! I had to swith the config.xml to point to the proxy url, see below for the switch.

  <layer type="feature" label="MSD.DBO.Project Parcels prj" url="http://rac-r410:6080/arcgis/rest/services/MSD_ROW/FeatureServer/0" mode="snapshot" visible="true" />

  <layer type="feature" label="MSD.DBO.Project Parcels prj" url="http://myproxyurl:80/arcgis/rest/services/MSD_ROW/FeatureServer/0" mode="snapshot" visible="true" />

Thanks,

Larry
0 Kudos
AndrewBratton
New Contributor
I had similar issues - All were resolved by changing http://localhost to http:// "IP ADDRESS"

Andrew
0 Kudos
DannyThorpe
New Contributor
Robert,

Thanks for the help, I have been testing with firebug and it is very useful. I solved that error but am receiving a new one shown in the attached photo.  I added the proxy url in the flex viewer settings, but it appears the rest services is pointing to the name of the server (http://myserver:6080/rest), should it be pointing to the actual ip address (http://192.268.10.48:6080/rest)? In the capabilities of the map and feature service it is not allowing the rest service to be changed, is there another way to do this, or is it something else?

Thanks,

Larry


How did you resolve your original error? I'm having the same problem.

Thanks,

Danny
0 Kudos