Problems with Firefox and Chrome

1043
6
11-17-2011 11:39 AM
MarkDumford
New Contributor
Hi Fellow GISers,

I have created a site at http://www.sjcog.org/FlexMapViewer24/index.html

It works well in IE, however in both Firefox and Chrome, the application chokes on retrieving the map service from the ArcGIS server and using Robert's eSearch tool (error 2048).

I have the latest Flash installed on the client machine, so I do not believe that is an issue. I believe it has something to do with the cross domain file not being interpreted correctly in the other browsers.

Any suggestions to where I should look? Thanks for any help you provide.

Mark Dumford
Tags (2)
0 Kudos
6 Replies
IvanBespalov
Occasional Contributor III
http://gisweb.sjcog.org/crossdomain.xml must return xml.

IE, FF, Chrome, Safari... - it doesn't matter. Flash plugin plays your compiled code, not browser. I god the same error in all browsers.

Error #2048: Security sandbox violation: http://www.sjcog.org/FlexMapViewer24/index.swf cannot load data from proxy.ashx?http://gisweb.sjcog.org/ArcGIS/rest/services/SJCOG_ParkAndRide/MapServer/0?
0 Kudos
MarkDumford
New Contributor
Thanks Ivan.

We looking more closely at the proxy page and Crossdomain file to understand what the problem is.

It is strange that it works fine with IE. I did read somewhere that other browsers with the Flash plug-in might struggle with returned strings that are too long.

Mark
0 Kudos
RajendraShelar
New Contributor
hi,

it seems FF and Chrome is not able to parse response of the url sent from ur application.

http://www.sjcog.org/FlexMapViewer24/proxy.ashx?http://gisweb.sjcog.org/ArcGIS/rest/services/SJCOG_P...
---------------

I believe you are using PMS for ur layer in mapservice MXD. You try with CMS and it shud work in all browsers.



Thanks Ivan.

We looking more closely at the proxy page and Crossdomain file to understand what the problem is.

It is strange that it works fine with IE. I did read somewhere that other browsers with the Flash plug-in might struggle with returned strings that are too long.

Mark
0 Kudos
JohnGarvey
New Contributor
I am having the same problem. Could you explain what changing from PMS layer in mapservice to CMS means?

thanks
0 Kudos
TatianaTen
New Contributor III
Hi all,

I'm having the similar problem with Chrome and FireFox. We are using secure services and all requests of layers go through the proxy. I have popups with images, so when I click on the feature in IE, the popup shows up, but not in Chrome or Firefox. Once I disable proxy, everything works fine.

What it could be, anyone know??? I need this urgently...

Thanks
Tanya
0 Kudos
TatianaTen
New Contributor III
Hi all,

I have resolved the problem, finally, after struggling for a few days!

The problem was with proxy definitely, I still can't undersatand why it works in IE and not in FF and Chrome.

BTW,  in the config.xml of the flexviewer I initially put incomplete link for the Proxy page, i.e.
<httpproxy>/ApplicationDirectory/Proxy/proxy.ashx</httpproxy>

, but
Once I've changed that to the full link of the registered Proxy, everything worked
<httpproxy>http://localhost/Proxy/proxy.ashx</httpproxy>

Hope that will help!

Regards,
Tanya
0 Kudos