mshetzer

Proxy Issues from 2.3 to 2.4 (I think it's proxy)

Discussion created by mshetzer on Sep 5, 2011
Latest reply on Sep 7, 2011 by bsvensson-esristaff
I've upgraded my SFV from 2.3 to 2.4 this weekend, and all is well except for one of my referenced basemaps.

I've used a proxy for this in 2.3 since the site does not have a crossdomain file and everything has been running great. Now, in 2.4 I'm getting this error when I'm running from the web server (I don't get the error when running through flex builder)

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

The base map is at this location:
http://gis.apfo.usda.gov/ArcGIS/rest/services/NAIP/Colorado_2009_1m_NC/ImageServer

and my proxy on the server is:
    <serverUrl url="http://gis.apfo.usda.gov/ArcGIS/rest/services/NAIP/Colorado_2009_1m_NC/ImageServer"
               matchAll="true"></serverUrl>   
  </serverUrls>

In my config.xml I�??ve got this:
<httpproxy>http://MYSERVER/Proxy/proxy.ashx</httpproxy>

<layer label="Colorado NAIP" type="image" useproxy="true" visible="false" alpha="1" url="http://gis.apfo.usda.gov/ArcGIS/rest/services/NAIP/Colorado_2009_1m_NC/ImageServer"/>
       


So I ask, what has changed between v2.3 and v2.4 in relation to proxy, or is there something else going on?

Thanks for your help.
Matt Shetzer

Outcomes