Select to view content in your preferred language

Internet Explorer/Firefox and map services

592
1
04-21-2011 10:18 AM
DanielSchatt
Regular Contributor
hi all, I created new map services for my application but kept getting an error when I tested my app in VS 2010.  It was a "Webpage Error":

Error: Unhandled Error in Silverlight Application Code: 4004
Category:  ManagementRuntimeError
Message: Error code 400: Service 'SAM_NoTopo' of type 'MapServer' does not exist or is inaccessible.

Couldn't imagine the problem (service was there in Server Manager and I could access its REST page).  Finally out of desperation I changed my default browser in VS from Internet Explorer to Firefox and it worked just fine.  Retested a bunch of times with both browsers and that's the fact, these particular map services test fine in Firefox, not in IE.  Then again others test fine in both Firefox and IE...

So apparently this is an Internet Explorer issue.  I was just wondering if anyone else has experienced this and why this is happening. Thanks!
0 Kudos
1 Reply
JenniferNery
Esri Regular Contributor
Where you able to narrow down which part of your code was throwing unhandled exception?
You may want to subscribe to each layer's InitializationFailed event. This blog post might help you determine the root of this issue: http://blogs.esri.com/Dev/blogs/silverlightwpf/archive/2009/08/24/Troubleshooting-blank-layers.aspx. As to why it works in FireFox and not in IE, I have no idea. But if you could pin point the problem code, please share it with us so we can test it out.

Thanks!
0 Kudos