Select to view content in your preferred language

Access Published Map Service

2996
8
Jump to solution
07-31-2013 01:45 PM
AlexeiB
Deactivated User
I have published a map service to my localhost via ArcMap. However when I try to access the map service from Manager via its REST URL I get an:
Error:
Code: 500

Having checked the logs, it says "Unable to process request: null" and the returned code is 9003.

I have verified that the service is accessible to all and that it is running.

Does anyone have any suggestions?

Thanks,
Tags (2)
0 Kudos
1 Solution

Accepted Solutions
StevenMoore1
Esri Contributor
Hi,

You can check what level of ArcGIS Server license you have by logging into Server Manager, clicking Site-->Software Authorization. At the top you should see the license level. If that says Basic, then yes it makes sense that you can't publish map services.

Unfortunately I don't work much with our APIs, so I can't really speak to your second question. I would suggest starting a new thread in our Silverlight API forum for that.

View solution in original post

0 Kudos
8 Replies
StevenMoore1
Esri Contributor
Hi,

What's the URL you are using to access the map service?
0 Kudos
AlexeiB
Deactivated User
The URL it's heading to is:

http://<server_name>:6080/rest/services/<service_name>/MapServer

This is baffling because in 9.3.1 after I published my service I could use it immediately with no issues. The whole service with all the layers would come on and voila. All I have been able to get so far in 10.1 are FeatureLayers where I need to specify a specific layer index to view the contents.

Also, would you happen to know if I can use ArcObjects in Silverlight with Arc 10.1 and VS 2012?

Thanks,
0 Kudos
StevenMoore1
Esri Contributor
Hi,

It looks like that URL is missing the instance name, it should look like this:

http://<server_name>:6080/arcgis/rest/services/<service_name>/MapServer

Is that the way it appears in Server Manager? Can you browse to the REST services directory at:

http://<server_name>:6080/rest/services/
0 Kudos
AlexeiB
Deactivated User
Thank you for your response Steve.

I apologize, I totally forgot to type in the arcgis part. My URL does indeed say:

http://<server_name>:6080/arcgis/rest/services/<service_name>/MapServer

If I navigate to http://<server_name>:6080/rest/services/ I see the following:

....
Services:
    * <service_name> (FeatureService)
...

What I am confused about is that it says FeatureService and should it not be a MapService? Or am I totally missing something here? Also, if I click on the <service_name> (above) it takes me to

http://<server_name>:6080/arcgis/rest/services/<service_name>/FeatureServer

and I can see all my layers, descriptions, etc.

The error that I am getting makes sense as the service that I published appears under /FeatureService and not /MapService. This is however not the behavior I am intending. I am looking to publish the whole map (mxd) as 1 map service.

Thanks for your help.
0 Kudos
StevenMoore1
Esri Contributor
Hi,

If you're only seeing feature services, then it's possible that you have an ArcGIS Server Basic license, which only allows you to publish feature, geodata, and geometry services:

(Page 9 of 17)
http://www.esri.com/software/arcgis/arcgisserver/~/media/Files/Pdfs/library/brochures/pdfs/arcgis-se...

It seems a bit strange that you would still see a MapServer URL in Server Manager if that's the case though...
0 Kudos
AlexeiB
Deactivated User
I think we are getting somewhere with this. I was trying to create a GDB from inside Catalog and was told I don't have the proper license which indicates I do indeed only have the Basic license. If this is the case, that's why it also doesn't allow me to use Map Service. Does this logic make sense?

The Map Server URL is not visible per se in Manager but is instead opened if I click on the map service preview to the left of the the title, how many instances are running, being used, etc.

Also, would you happen to know if I can use ArcObjects in Silverlight with Arc 10.1 and VS 2012?

Thanks,
0 Kudos
StevenMoore1
Esri Contributor
Hi,

You can check what level of ArcGIS Server license you have by logging into Server Manager, clicking Site-->Software Authorization. At the top you should see the license level. If that says Basic, then yes it makes sense that you can't publish map services.

Unfortunately I don't work much with our APIs, so I can't really speak to your second question. I would suggest starting a new thread in our Silverlight API forum for that.
0 Kudos
AlexeiB
Deactivated User
That's exactly what it says and therefore all the pieces have fallen into place.

Thanks for your help Steve, I appreciate it.
0 Kudos