Select to view content in your preferred language

Compact Cache Files

938
6
03-18-2011 10:42 AM
BrentHoskisson
Frequent Contributor
Has anyone gotten the silverlight control to recognize compact cache files?  Exploded cache files and dynamic on the same service seem to work just fine.  Is this something that is in a future release of the silverlight api?
0 Kudos
6 Replies
PatrickBrooke
Emerging Contributor
I have never had a problem with my Silverlight Map not recognizing compact cache. Compact cache is a great feature, and I hope you can find the issue with your environment.

Can you describe your problem any further? Messages? Behavior?
0 Kudos
wangzhifang
Frequent Contributor
The ArcGIS API for JS/Flex/Silverlight/WPF always can read compact cache map service, so there must be something wrong with your service. Add it to ArcMap to determin if the map service works fine.
0 Kudos
BrentHoskisson
Frequent Contributor
I have a service with a compact cache that works great in ArcMap both 9.3.1 and 10.  With the Silverlight Map control, if I use ArcGISDynamicMapServiceLayer it works just fine (but understandably slow), but with ArcGISTiledMapServiceLayer silverlight will not work.

                <esri:ArcGISTiledMapServiceLayer x:Name="AP2008PinnID" ID="AP2008PinnLayer"
              Url="http://[server]/ArcGIS/rest/services/AP2008PinnS/MapServer" Opacity="1"/>


Also when I look in the rest/services and click on the "Start Tile" and "End Tile" links, I get a 404 error.  That can't be normal.  Everything else about the layer appears normal.  For an "exploded" cache I always get an image when I click on these links.

Where else can I look for errors or issues?  Any hints?
0 Kudos
JenniferNery
Esri Regular Contributor
The following help doc might be useful: http://help.arcgis.com/en/arcgisserver/10.0/help/arcgis_server_dotnet_help/index.html#/Inside_the_co...

For questions specific to ArcGIS Server, you may get better response posting to their forum: http://forums.arcgis.com/forums/9-ArcGIS-Server-.NET
0 Kudos
BrentHoskisson
Frequent Contributor
Sorry to sound rude, but I didn't ask it in the ArcGIS Server .Net forum because it WORKS in ArcGIS Server .Net.  I created a map application with my service in it and it displays in its tiled form both on and off the server.

So the problem is with Silverlight and the question is what is it looking for that either ArcGISServer 10 is not giving to it or I am not giving to it?

It turns out it is not just compact cache files.  The exploded cache is being ignored as well.  Dynamic services still work fine.
0 Kudos
dotMorten_esri
Esri Notable Contributor
When you say "ArcGIS Server.NET" I assume you mean the .NET WebADF, which uses the SOAP interface. The Client API's uses the REST interface. So there's likely something wrong with your REST server setup. Because you can't even retrieve the tiles directly in the browser, it's not really a Silverlight issue, but purely your server setup. I hate to also tell you to go to another forum, but the REST and/or Server forums is probably your best bet for getting help with this one: http://forums.arcgis.com/forums/11-ArcGIS-Server-REST-API
0 Kudos