Select to view content in your preferred language

Layers not visible to REST

5792
11
06-15-2011 06:52 AM
ar4
by
Emerging Contributor
I have a mxd map published as a service serving KML . The service is consumed in google earth.

The map has 64 layers and all of them are visible in the GE client and ArcMap.

However when I go to the REST service only 19 layers are visible.

I get the same results using the SOAP service . Nothing I can see can make these layers appear.

I thought I might have a zoom or scale visibility problem but the rest service shows the same 19 layers when I use the URL http://server/ArcGIS/rest/service/layers

Can anyone enlighten me as to what setting or function might make layers invisible to the REST and SOAP APIs ?
0 Kudos
11 Replies
RichardWatson
Deactivated User
Goggle for: "Unable to init from" arcgis server

One of the reasons that I suggested that you literally run ArcMap using the ArcSOC account is due to various permission issues.  For example, we put our map documents in \users\public because the ArcSOC account does not necessarily have access to other directories.

How to debug suggestions:

  1. ArcGIS Server Manager log

  2. ArcGIS Server REST log

  3. Use the SysInternals DebugView utility, make sure that you Capture Global Win32

  4. Debug using Visual Studio or WinDbg

0 Kudos
ar4
by
Emerging Contributor
Already googled..I have extensively checked and rechecked permissions ( the listed cause in the results ) and in any case there was no result that matched the search term.

Most people appear to be getting a file reference in the error message, I get %s.

Arc Sever Manager log - While it let me know an error occurred it does tell for what or why . Mostly unhelpful even at the highest detail levels.

REST admin - since the service will not create this is unavailable. Unsure if this is expected behavior.

I am using the Java server but ill look to see if the other steps are helpful. I did dig down to the stderr file and find that the stack trace reporting that the error occurring in calling what appear to be C functions in server creation process.

What I really need in the ability to turn the serve logs upto TRACE or DEBUG levels .

However this seems to be a rather laborious process for large map documents . For "invalid layers"   especially so where a map might contain 50-100 layers .
0 Kudos