Troubleshoot JavaScript application

Once you've completed the configuration, verify that each service works properly. If the application or services do not display, do the following:

  • Check the configuration file (config.js) to ensure your services are entered properly.
  • Verify in ArcCatalog that map cache tiles are being generated. If you chose to cache your basemaps on demand, you will need to build portions of the cache by panning and zooming in ArcCatalog before accessing the basemaps in the application. Work in one geographic area at multiple cache scales to start generating the cache.
  • If you see a blank screen in the application and your configuration file is correct, spend some time working in ArcCatalog to verify the map looks good, and consider building the cache in ArcCatalog using Update Tiles from the Caching tab in the Service Properties dialog box.
  • Verify the correct AppPool is selected in IIS.
  • Verify all service URLs referenced in the configuration file are also referenced in the proxy file (proxy.config).
  • Verify the data frame is projected to Web Mercator Auxiliary Sphere (WKID 102100/3857) in each map document used to publish a service. The data may remain in the local projection.
  • If your application worked with the sample data and you are now implementing it for your own area, update the initial extent of the application in the configuration file.
Top