FAQs

This topic includes some of the problems ArcGIS API for Windows Phone developers encounter in their developement, and solutions for those issues. They include the following problems:

Problem: I cannot load data from my server

If you're unable to load data from your server, do the following:

  1. If accessing ArcGIS Server services, make sure that the ArcGIS Services Directory is set up and functioning. Navigate to http://<host>/arcgis/rest/services in a browser. See Discovering services for more information.
  2. Make sure the REST endpoint for the service is available. Copy and paste the URL defined in your application into a browser. For example: http://<host>/arcgis/rest/services/USA/MapServer.
  3. Use the InitializationFailure event on the layer to determine if an error is occurring, and interrogate the error message.
  4. View the HTTP request and response using a standard tool for interrogating HTTP communication. For example Fiddler, Silverlight Spy, FireBug (FireFox add-on), and so on, to determine if a failure has occurred.

Problem: Tasks return a limited number of features

By default, queries against ArcGIS Server services are limited to returning 500 features and MapIt services are limited to 1000 features at a time. If you have access, both limits can be modified on the server. If not, iterate through consecutive blocks of results on the client by using the field that contains a unique key (for example, primary key) to track progress.

1/23/2012