<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Layers not visible to REST in ArcGIS REST APIs and Services Questions</title>
    <link>https://community.esri.com/t5/arcgis-rest-apis-and-services-questions/layers-not-visible-to-rest/m-p/499103#M2392</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I have a mxd map published as a service serving KML . The service is consumed in google earth.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;The map has 64 layers and all of them are visible in the GE client and ArcMap.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;However when I go to the REST service only 19 layers are visible.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I get the same results using the SOAP service . Nothing I can see can make these layers appear.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;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 &lt;/SPAN&gt;&lt;A href="http://server/ArcGIS/rest/service/layers"&gt;http://server/ArcGIS/rest/service/layers&lt;/A&gt;&lt;SPAN&gt; &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Can anyone enlighten me as to what setting or function might make layers invisible to the REST and SOAP APIs ?&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 15 Jun 2011 13:52:56 GMT</pubDate>
    <dc:creator>ar4</dc:creator>
    <dc:date>2011-06-15T13:52:56Z</dc:date>
    <item>
      <title>Layers not visible to REST</title>
      <link>https://community.esri.com/t5/arcgis-rest-apis-and-services-questions/layers-not-visible-to-rest/m-p/499103#M2392</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I have a mxd map published as a service serving KML . The service is consumed in google earth.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;The map has 64 layers and all of them are visible in the GE client and ArcMap.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;However when I go to the REST service only 19 layers are visible.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I get the same results using the SOAP service . Nothing I can see can make these layers appear.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;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 &lt;/SPAN&gt;&lt;A href="http://server/ArcGIS/rest/service/layers"&gt;http://server/ArcGIS/rest/service/layers&lt;/A&gt;&lt;SPAN&gt; &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Can anyone enlighten me as to what setting or function might make layers invisible to the REST and SOAP APIs ?&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 15 Jun 2011 13:52:56 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-rest-apis-and-services-questions/layers-not-visible-to-rest/m-p/499103#M2392</guid>
      <dc:creator>ar4</dc:creator>
      <dc:date>2011-06-15T13:52:56Z</dc:date>
    </item>
    <item>
      <title>Re: Layers not visible to REST</title>
      <link>https://community.esri.com/t5/arcgis-rest-apis-and-services-questions/layers-not-visible-to-rest/m-p/499104#M2393</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Did you look at the ArcGIS Server Manager log?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Only certain types of layers are supported and the ones which have problems are logged.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 15 Jun 2011 14:16:47 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-rest-apis-and-services-questions/layers-not-visible-to-rest/m-p/499104#M2393</guid>
      <dc:creator>RichardWatson</dc:creator>
      <dc:date>2011-06-15T14:16:47Z</dc:date>
    </item>
    <item>
      <title>Re: Layers not visible to REST</title>
      <link>https://community.esri.com/t5/arcgis-rest-apis-and-services-questions/layers-not-visible-to-rest/m-p/499105#M2394</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I turned up the logging to verbose and made all columns visible.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I ran both a SOAP service test and tried the REST URL &lt;/SPAN&gt;&lt;A href="http://server/ArcGIS/rest/service/layers"&gt;http://server/ArcGIS/rest/service/layers&lt;/A&gt;&lt;SPAN&gt; .&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I did not see any errors. For the SOAP calls ( which included a find ) I did see the find initiation and the searches against the visible layers.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;However the "missing" layers are still missing .&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Is the a listing in the documentation of what layer types are supported somewhere ? Will "unsupported" layer types always throw an error&amp;nbsp; ?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I will keep testing&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 15 Jun 2011 14:46:55 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-rest-apis-and-services-questions/layers-not-visible-to-rest/m-p/499105#M2394</guid>
      <dc:creator>ar4</dc:creator>
      <dc:date>2011-06-15T14:46:55Z</dc:date>
    </item>
    <item>
      <title>Re: Layers not visible to REST</title>
      <link>https://community.esri.com/t5/arcgis-rest-apis-and-services-questions/layers-not-visible-to-rest/m-p/499106#M2395</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;No errors thrown from either the REST layers URL or the SOAP calls but no mention of the missing layers.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I opened the map in arc map , As far as i can tell the missing layers and the visible layers are the same , the "visible check box " is checked and the types are the same .&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 15 Jun 2011 15:07:54 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-rest-apis-and-services-questions/layers-not-visible-to-rest/m-p/499106#M2395</guid>
      <dc:creator>ar4</dc:creator>
      <dc:date>2011-06-15T15:07:54Z</dc:date>
    </item>
    <item>
      <title>Re: Layers not visible to REST</title>
      <link>https://community.esri.com/t5/arcgis-rest-apis-and-services-questions/layers-not-visible-to-rest/m-p/499107#M2396</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Ok some more info&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I opened the log files manually it told me there was a error of type 4013 when the server object is created . The error lists the missing layers but declares them to be invalid.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;We tried changing or reentering the data connections but this did not effect the layer "validity".&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;However all the layers are visible in the KML service we are publishing are visible and they are coming from the same map file and the same DB.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Is there anyway to have the logs tell us why a particular layer is invalid ?&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 15 Jun 2011 17:37:25 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-rest-apis-and-services-questions/layers-not-visible-to-rest/m-p/499107#M2396</guid>
      <dc:creator>ar4</dc:creator>
      <dc:date>2011-06-15T17:37:25Z</dc:date>
    </item>
    <item>
      <title>Re: Layers not visible to REST</title>
      <link>https://community.esri.com/t5/arcgis-rest-apis-and-services-questions/layers-not-visible-to-rest/m-p/499108#M2397</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;MSD or MXD based map service?&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 15 Jun 2011 17:39:56 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-rest-apis-and-services-questions/layers-not-visible-to-rest/m-p/499108#M2397</guid>
      <dc:creator>RichardWatson</dc:creator>
      <dc:date>2011-06-15T17:39:56Z</dc:date>
    </item>
    <item>
      <title>Re: Layers not visible to REST</title>
      <link>https://community.esri.com/t5/arcgis-rest-apis-and-services-questions/layers-not-visible-to-rest/m-p/499109#M2398</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;MXD &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;10.0 setup with Java server and Oracle DB&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 15 Jun 2011 17:55:29 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-rest-apis-and-services-questions/layers-not-visible-to-rest/m-p/499109#M2398</guid>
      <dc:creator>ar4</dc:creator>
      <dc:date>2011-06-15T17:55:29Z</dc:date>
    </item>
    <item>
      <title>Re: Layers not visible to REST</title>
      <link>https://community.esri.com/t5/arcgis-rest-apis-and-services-questions/layers-not-visible-to-rest/m-p/499110#M2399</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Ok I have determined that the reason for the layers not appearing is that that are "invalid".&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I have been able to configure a test map which produces "Unable to init from %s" and "Layer x is invalid ".&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;However these are the errors in the verbose ( and info:detailed) log . Is the any way to get more detail on these errors ? &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;for example --&amp;gt;WHY&amp;lt;--- the service is "Unable to init from %s"?&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 17 Jun 2011 15:33:27 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-rest-apis-and-services-questions/layers-not-visible-to-rest/m-p/499110#M2399</guid>
      <dc:creator>ar4</dc:creator>
      <dc:date>2011-06-17T15:33:27Z</dc:date>
    </item>
    <item>
      <title>Re: Layers not visible to REST</title>
      <link>https://community.esri.com/t5/arcgis-rest-apis-and-services-questions/layers-not-visible-to-rest/m-p/499111#M2400</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;As you confirmed, I knew that server logged the invalid layers.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I also know that MSD has tighter restrictions but you are using MXD.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Additional suggestions:&lt;/SPAN&gt;&lt;BR /&gt;&lt;OL&gt;&lt;BR /&gt;&lt;LI&gt;If the the layer is coming from SDE then make sure that you saved your credentials when you created the connection in ArcCatalog.&amp;nbsp; Server has no UI to collect these from you.&lt;/LI&gt;&lt;BR /&gt;&lt;LI&gt;Look at the problem layers in ArcMap and see if you can find the problem.&amp;nbsp; In fact, you might try logging on the system using the ArcSOC account and then view the MXD in ArcMap.&lt;/LI&gt;&lt;BR /&gt;&lt;/OL&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 17 Jun 2011 15:41:16 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-rest-apis-and-services-questions/layers-not-visible-to-rest/m-p/499111#M2400</guid>
      <dc:creator>RichardWatson</dc:creator>
      <dc:date>2011-06-17T15:41:16Z</dc:date>
    </item>
    <item>
      <title>Re: Layers not visible to REST</title>
      <link>https://community.esri.com/t5/arcgis-rest-apis-and-services-questions/layers-not-visible-to-rest/m-p/499112#M2401</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Thanks for the suggestions &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I have been using ArcMap and ArcCatalog .&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I have already noted a frustrating condition where I have to correct data connections in BOTH to make the "Invalid Layer" Message disappear.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;However having done that, the service will not publish and throws a "Unable to init from %s" error.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Strangely all the data is visible in ArcMap. &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I really need the Arcmanager to give a much more useful error message. Is there really no way to "dial up" the error message verbosity to a significant level ?&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 17 Jun 2011 16:35:49 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-rest-apis-and-services-questions/layers-not-visible-to-rest/m-p/499112#M2401</guid>
      <dc:creator>ar4</dc:creator>
      <dc:date>2011-06-17T16:35:49Z</dc:date>
    </item>
    <item>
      <title>Re: Layers not visible to REST</title>
      <link>https://community.esri.com/t5/arcgis-rest-apis-and-services-questions/layers-not-visible-to-rest/m-p/499113#M2402</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Goggle for: "Unable to init from" arcgis server&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;One of the reasons that I suggested that you literally run ArcMap using the ArcSOC account is due to various permission issues.&amp;nbsp; For example, we put our map documents in \users\public because the ArcSOC account does not necessarily have access to other directories.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;How to debug suggestions:&lt;/SPAN&gt;&lt;BR /&gt;&lt;OL&gt;&lt;BR /&gt;&lt;LI&gt;ArcGIS Server Manager log&lt;/LI&gt;&lt;BR /&gt;&lt;LI&gt;ArcGIS Server REST log&lt;/LI&gt;&lt;BR /&gt;&lt;LI&gt;Use the SysInternals DebugView utility, make sure that you Capture Global Win32&lt;/LI&gt;&lt;BR /&gt;&lt;LI&gt;Debug using Visual Studio or WinDbg&lt;/LI&gt;&lt;BR /&gt;&lt;/OL&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 17 Jun 2011 16:44:30 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-rest-apis-and-services-questions/layers-not-visible-to-rest/m-p/499113#M2402</guid>
      <dc:creator>RichardWatson</dc:creator>
      <dc:date>2011-06-17T16:44:30Z</dc:date>
    </item>
    <item>
      <title>Re: Layers not visible to REST</title>
      <link>https://community.esri.com/t5/arcgis-rest-apis-and-services-questions/layers-not-visible-to-rest/m-p/499114#M2403</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;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.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Most people appear to be getting a file reference in the error message, I get %s.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;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.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;REST admin - since the service will not create this is unavailable. Unsure if this is expected behavior.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;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.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;What I really need in the ability to turn the serve logs upto TRACE or DEBUG levels .&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;However this seems to be a rather laborious process for large map documents . For "invalid layers"&amp;nbsp;&amp;nbsp; especially so where a map might contain 50-100 layers .&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 18 Jun 2011 14:04:40 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-rest-apis-and-services-questions/layers-not-visible-to-rest/m-p/499114#M2403</guid>
      <dc:creator>ar4</dc:creator>
      <dc:date>2011-06-18T14:04:40Z</dc:date>
    </item>
  </channel>
</rss>

