Proxy page works for Firefox and Chrome, but not for IE

1017
6
02-04-2014 04:58 AM
fuliaoli
New Contributor III
I developed a map app on my local machine, and everything works fine. Then I moved the code to IIS server on a Windows 2008
and set up the proxy page. Everything behaves the same for Firefox and Chrome, but IE 10 simply doesn't render the map as it does on my localhost.  I checked the network traffic using Fiddler. Firefox and Chrome lists more requests than IE. I thought they should be the same.
Could anyone shed some light on this?
Thanks in advance.
Regards,
Li
0 Kudos
6 Replies
JonathanUihlein
Esri Regular Contributor
Which proxy are you currently using? (.net?)
0 Kudos
fuliaoli
New Contributor III
Which proxy are you currently using? (.net?)


Thanks for your quick response.  I'm using proxy.ashx, IIS 7.
0 Kudos
JonathanUihlein
Esri Regular Contributor
It should be working. Let me double check on this and get back to you.
If anything changes, please let me know.
0 Kudos
fuliaoli
New Contributor III
It should be working. Let me double check on this and get back to you.
If anything changes, please let me know.


Thanks. Testing further, I found the page works for IE in document mode IE9. I added the line in my index page and it works.
I'm using IE 11. <meta http-equiv="X-UA-Compatible" content="IE=Edge">
Should IE 7 and 8 also work for js api 3.8?
Regards.
Li
0 Kudos
NicholasRanicar
New Contributor
Anyone know any more about this?

I'm getting a similar issue : page works in Firefox but not in IE9.

The web app is deployed on IIS7.5, using proxy.ashx.

I can't be 100% sure but I think it worked fine when we had it on Tomcat and using proxy.jsp but had to move it to IIS for business reasons - they wanted to track web usage and needed Integrated Windows authentication turned on for that. I've tried the proxy with both Windows Authentication turned on and turned off (anonymous authentication). Doesn't make a difference...
0 Kudos
NicholasRanicar
New Contributor
I discovered my problem: I was using a relative url for the proxy page but IE wanted a fully qualified url.

e.g.
[INDENT]http://<machine_name>/proxy/proxy.ashx[/INDENT]

instead of

[INDENT]/proxy/proxy.ashx[/INDENT]


Apparently Firefox doesn't even need the proxy, which is why it worked.
(See this posting for details on that: http://forums.arcgis.com/threads/69565-esri.request-not-working-in-IE*-quot-Access-is-denied-error-q...)
0 Kudos