[GIS] How to publish map to web using ArcGIS Desktop and Server

arcgis-10.0arcgis-desktoparcgis-servermap-service

Just starting out with ArcGIS server at work, I've had no prior experience but I been given the responsibility to display our map on the web.

I have a ArcGIS server running on a server and I am using ArcMap 10 on my desktop. I created a Folder in the server where I saved the map document. I can add a new service using this document and I'm given a url when I do so. But when I go to that URL I get this error:

Server Error in '/ArcGIS/Services' Application.
Runtime Error

And, when going to the same url from the server I get:
Server Error in '/ArcGIS/Services' Application.
No Content

I'm using ArcMap10 and ArcGIS server 10

Best Answer

The /ArcGIS/Services application is actually a SOAP endpoint that won't give you anything when you visit it in a URL. That's why you get the "No Content" error message - it's telling you that you didn't give it any instructions.

To actually see your map you will need to also deploy a viewer to your web server that can put that map into a browser.

The ArcGIS REST endpoint contains a simplified javascript viewer that you can use to verify that your map is working properly. This is something that should work in your browser - replace 'Services' with 'REST' on the URL you have and you should see a list of published services. For example:

http://services.arcgisonline.com/ArcGIS/rest/services

From this list you can review the REST endpoint for a map, which has an "ArcGIS Javascript" link on the top, that lets you see the map in a viewer. For example:

http://services.arcgisonline.com/ArcGIS/rest/services/World_Street_Map/MapServer?f=jsapi

Related Question