Help: ArcGIS Server 10 - REST API - Service does not exist or is inaccessible.

5253
11
08-23-2010 10:58 AM
NathanHerring
New Contributor
I've just recently installed ArcGIS Server 10 on RedHat Enterprise Linux 5. After install, I copied over the cache and map documents and attempted to create the services in Server Manager. Here's where things get strange... I was able to successfully create and start the World_Physical_Map service, hit the REST API and navigate the map. However, that's the *only* service that works. When I try to do World_Shaded_Relief or World_Topo_Map, for example, I get the dreaded:

"Service '<Service_Name>' of type 'MapServer' does not exist or is inaccessible."

What's stranger is that when I hit the base REST URL at http://<server>:8399/arcgis/rest/services the only available service is the World_Physical_Map even though I've set all 9 of them up exactly the same.

Anyway, I've searched the forums and Googled it but am coming up empty handed. Any suggestions at all are greatly appreciated.

Thanks,

Nate
0 Kudos
11 Replies
NelsonDe_Miranda
Occasional Contributor III
I'm getting a nearly identical error with AGS 10 but the .NET version on Windows Server 2008 R2. I've just installed AGS10 with a Standard Workgroup license and created a service in Manager. I can preview the service in Manager and browse to the REST catalog at http://servername/ArcGIS/rest/services/, where I can see my service name. But if I click the service link 'Ags10Test (MapServer)' in the catalog then it redirects to http://servername/ArcGIS/rest/services/Ags10Test/MapServer with the message 'Service 'Ags10Test' of type 'MapServer' does not exist or is inaccessible.'

I can browse to the SOAP service at http://servername/ArcGIS/services/Ags10Test/MapServer?wsdl fine: I get the WSDL as expected.

I'm also not able to log into the REST Admin even though my user name is part of the agsadmin group, so I can't clear the REST cache either. I suspect that if I can clear the REST cache then I might be good to go.

I'm using IIS 7.5 on the GIS server, and it has 'Anonymous Auth' enabled for the ArcGIS\rest virtual directory.

I turned GIS Server logging to verbose but nothing is getting logged either there or in the IIS logs that's of any use.



I've experienced this error as well.
A work around for this is to add the ArcGISWebServices account under the administrator list.

Start >> Control Panel >> Administrative Tools >> Computer Management >> Local Users and Groups >> Users >> ArcGISWebServices >> Add... >> Administrator

This will allow the services to be availible once more.
The bug is related to the operating system.

Cheers,

Nelson
0 Kudos
PeterBaldwin
New Contributor II
Hi Nelson,

I just wondered if you knew what the bug is related to? We are having the same problem on one of our servers with Windows 2008 but it works fine on another server with the same operating system and we can't figure out the difference between the two.

Thank you,

Peter.
0 Kudos