AnsweredAssumed Answered

Proxy and CORS

Question asked by koder303 on Jun 3, 2014
Latest reply on Jun 5, 2014 by Meengla
Hello,

I have established my proxy and have everything running through it on my JS site. Everything seems to be fine in IE but Firefox and Chrome disagree. I am unable to do anything in the map if I am using FF or Chrome. Having gone into dev tools, I see that I get an error "Cross-Origin Request Blocked: The Same Origin Policy disallows reading the remote resource at <proxy location>.ashx?<web service url> This can be fixed by moving the resource to the same domain or enabling CORS."

My question is, how do you enable CORS? I have added the clause as per here into my .ashx (proxy) web.config but still no luck. Anything else I am missing?

Thank you,

Outcomes