Map not loading -  ArcGISTiledMapServiceLayer does not support Multi-Layer Caches

2882
1
11-14-2013 01:43 AM
BruceWayne
New Contributor
Hi People,

     We have used ESRI maps in our silverlight application which was developed back in 2010. Now we are again working on that application, the application basically displays the map on loading. It used to show the map in 2010, but the same application won't display the map now and throws the following error:

Webpage error details:

User Agent: Mozilla/4.0 (compatible; MSIE 8.0; Windows NT 6.1; WOW64; Trident/4.0; SLCC2; .NET CLR 2.0.50727; .NET CLR 3.5.30729; .NET CLR 3.0.30729; Media Center PC 6.0; .NET4.0C; .NET4.0E; InfoPath.3)
Timestamp: Thu, 14 Nov 2013 11:07:28 UTC


Message: Unhandled Error in Silverlight Application ArcGISTiledMapServiceLayer does not support Multi-Layer Caches. Use an ArcGISDynamicMapServiceLayer instead or create a single fused cache. at ESRI.ArcGIS.Client.Layer.OnInitializationFailed(EventArgs e)
at ESRI.ArcGIS.Client.Layer.Initialize()
at ESRI.ArcGIS.Client.ArcGISTiledMapServiceLayer.<>c__DisplayClassb.<MapServiceInfoInitialized>b__9()
Line: 1
Char: 1
Code: 0
URI: https://*****.****.****.****:*****/sap/bc/webdynpro/sap/MAP_MAIN_WINDOW_GIS/;sap-ext-sid=9j0elkxXZN1...


Message: Unhandled Error in Silverlight Application Object reference not set to an instance of an object. at GIS.MainPage.GetDefaultVisibleLayers(ArcGISDynamicMapServiceLayer dynamicService)
at GIS.MainPage.ArcGISDynamicMapServiceLayer_Initialized(Object sender, EventArgs e)
at System.EventHandler`1.Invoke(Object sender, TEventArgs e)
at ESRI.ArcGIS.Client.Layer.OnInitialized(EventArgs e)
at ESRI.ArcGIS.Client.Layer.Initialize()
at ESRI.ArcGIS.Client.ArcGISDynamicMapServiceLayer.<>c__DisplayClass6.<MapServiceInfoInitFailed>b__4()
Line: 1
Char: 1
Code: 0
URI: https://*****.****.****.****:*****/sap/bc/webdynpro/sap/MAP_MAIN_WINDOW_GIS/;sap-ext-sid=9j0elkxXZN1...

The map does not show at all and we see a blank white page in the area of where the map should have been shown.
We tried using the new ESRI silverlight dll's in our application and also updated the silverlight dll's, We also tried resetting our IIS server, but still we get the error.

Kindly provide us a solution if you have encountered the same issues.

Thanks,
Bruce
0 Kudos
1 Reply
DominiqueBroux
Esri Frequent Contributor
The SL API, like more generally the REST API, doesn't support multi-layer caches.
AFAIK,  this has never been supported.
So my best bet to explain this new issue is a change at server side from fused cache to multi-layer cache.

Note that the usage of multi-layer cache at server side is deprecated:
See page 7 of http://downloads2.esri.com/support/TechArticles/ArcGIS10and101Deprecation_Plan.pdf
"... ArcGIS Server 10.1 will not support Multi�?�Layer cache. This type of cache is rarely used and we see no demand to continue supporting it...."
0 Kudos