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

5249
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
NathanHerring
New Contributor
Hoping for some ideas.  Still haven't had any luck researching this issue.

Thanks in advance,

Nate
0 Kudos
RaviNarayanan
Esri Contributor
Nate,

A couple of suggestions:
1. please check if the service is started (using ArcGIS Manager) and can be previewed.
2. Clear REST cache (http://servername:8399/arcgis/rest/admin or the rest/admin endpoint where REST is deployed)
0 Kudos
RahulRavikumar
New Contributor
Nate,

A couple of suggestions:
1. please check if the service is started (using ArcGIS Manager) and can be previewed.
2. Clear REST cache (http://servername:8399/arcgis/rest/admin or the rest/admin endpoint where REST is deployed)


Nate, every-time you create a new service or make changes to an existing service. You must clear the REST cache.
0 Kudos
NathanHerring
New Contributor
Ravi/Rahul-

I just wanted to say thank you for the advice.  Clearing the cache worked perfectly and I'm now up and running.  Again, a big thanks to both of you!

Nate
0 Kudos
ChrisBeaudette
Occasional Contributor
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.
0 Kudos
RaviNarayanan
Esri Contributor

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. 


Can you try logging into REST admin as a local user that is part of the agsadmin group (eg: arcgiswebservices)?
0 Kudos
DrewDowling
Occasional Contributor III
C_R_C

Did you ever figure this out? I'm having the same problem. I can't log on the the rest admin console with any account, be it local in the agsadmin group or the network admin account. Everything else appears to be working fine.

ArcServer 10 on Windows server 2008
0 Kudos
LiuYu
by
New Contributor
i met the problem as you, my service is started,i can preview it clearly,i clear the cache,i can see the service name in arcgis/rest/services,but when i click the service name i get Service does not exist or is inaccessbile?
0 Kudos
RichardWatson
Frequent Contributor
C_R_C
I can't log on the the rest admin console with any account, be it local in the agsadmin group or the network admin account.


On the login page, try to include the domain name as a prefix to the account that you are using.  Something like "domain\account".  If you are using a local account then the domain is the machinename.
0 Kudos