wangyong0312

esri.request not working in IE* "Access is denied error"

Discussion created by wangyong0312 on Oct 22, 2012
Latest reply on Oct 25, 2012 by wangyong0312
I dropped a copy of the "Add Shapefile" sample, http://help.arcgis.com/EN/webapi/javascript/arcgis/demos/portal/portal_addshapefile.html, on my server, updated the css and proxy links and fired it up and it works fine in Chrome and FF.

Btw, the actual sample running on Esri's box works fine in all browsers.

In IE* when the esri.request fires it fails with error: "Unable to get value of the property 'value': object is null or undefined".

I updated proxy config   with "http://www.arcgis.com". and then got an "Access is denied error" in IE.
Firefox and Chrome works fine but not in IE.

ID dev tools shows the following 404 error:


http://www.arcgis.com/arcgisserver/apis/javascript/proxy/proxy.ashx?http://www.arcgis.com/sharing/rest/content/features/generate POST 404 text/html

http://www.arcgis.com/arcgisserver/apis/javascript/proxy/js/esri/arcgisonline/config.js GET 404 text/html

Any hint?

FYI: I change the proxy.ashx to the one on my local server instead of arcgis.com, I got another different error:
Unable to get value of the property 'value': object is null or undefined

The error seems to be in minified javascript but I was not able to trace to exact line of code.

Thanks very much,

Yong

Outcomes