Select to view content in your preferred language

Layer Fails Initialization in Internet Explorer 9

678
3
10-11-2011 05:53 PM
JoseSousa
Esri Contributor
Dear ArcGIS API for Silverlight Team,

I have the ArcGIS Server 9.3.1 SP2 installed.
When I try to initialize a layer using the Silverligth API I get the following error:
Error code 500: Server Error - Object reference not set to an instance of an object.

I confirm that I have the clientpolicyfile well configured and executed all steps provided in several blogs and none solves this issue.

When monitoring with Fiddler I verify that no request is made to the server.
When I check with Chrome and Firefox everything works fine. I have tried to clear cache, restart services and so on and nothing works.

Is there a workaround for this?

Regards,
Jose
0 Kudos
3 Replies
JoseSousa
Esri Contributor
Forgot to say that I have already tried disableclientcaching = true and it does not work either.
The layers initialize but they have an Initialization Error...

Jose
0 Kudos
DominiqueBroux
Esri Frequent Contributor
Hi Jose,

I never ran into this kind of issue despite I use IE9 regularly.
So, as It's not a common error, we would need more infos about the kind of layer, the Url (if public), the API version...
0 Kudos
JoseSousa
Esri Contributor
Hi,

Thanks for the reply.
Extra details:
- I am currently using ArcGIS Server 9.3.1 SP1 with the ArcGIS API for Silverlight v2.0.0.314 and the Microsoft Silverlight v4.0.60310.0. The operating system of the GIS Server is Microsoft Windows Server 2003 R2 Standard Edition SP2. The Web Server is in a different machine but with same OS.

Symptons:
- With any version of ArcGIS Server (even the 10 SP2) everytime I change anything on a map service, besides having to clear the cache using the REST admin console I always have this problem. Even with the latest ArcGIS API for Silverligth. This does not happens for instance when using Flex.

With ArcGIS Server 10 SP2 normally if I restart IIS also on the GIS Server and going to the Web Server and clearing the Silverlight cache and restart IIS everything seems to work fine. With the version I am working with it doesn't.

This problem only happens in IE as with Chrome and Firefox it works perfectly.

Jose
0 Kudos