<?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 Re: REST service throws an exception when first accessed in ArcGIS REST APIs and Services Questions</title>
    <link>https://community.esri.com/t5/arcgis-rest-apis-and-services-questions/rest-service-throws-an-exception-when-first/m-p/551719#M2652</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Got the same problem.&amp;nbsp; From Manager, I can see the services are started.&amp;nbsp; Also checked SDE using Catalog, and the data there are accessible.&amp;nbsp; But got this error message for all of the published map sevices.&amp;nbsp; What's the problem?&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 02 Nov 2011 16:59:41 GMT</pubDate>
    <dc:creator>ShaningYu</dc:creator>
    <dc:date>2011-11-02T16:59:41Z</dc:date>
    <item>
      <title>REST service throws an exception when first accessed</title>
      <link>https://community.esri.com/t5/arcgis-rest-apis-and-services-questions/rest-service-throws-an-exception-when-first/m-p/551715#M2648</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;When accessing a map service REST endpoint the first time after a long time (several hours), it throws an exception:&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Service 'xxx' of type 'MapServer' does not exist or is inaccessible.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;And in the log file: Server Context creation failed on machine xxx&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;This error occurs in fact every morning, and then the services are working fine for the rest of the day.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;This problem only occurs when the data are on an ArcSDE geodatabase. The map services based on file geodatabases or on personal geodatabases are not throwing this error.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Is there something to configure on ArcSDE for these map services to work?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 16 Oct 2010 10:18:21 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-rest-apis-and-services-questions/rest-service-throws-an-exception-when-first/m-p/551715#M2648</guid>
      <dc:creator>agauch</dc:creator>
      <dc:date>2010-10-16T10:18:21Z</dc:date>
    </item>
    <item>
      <title>Re: REST service throws an exception when first accessed</title>
      <link>https://community.esri.com/t5/arcgis-rest-apis-and-services-questions/rest-service-throws-an-exception-when-first/m-p/551716#M2649</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I have this same issue and I have not found any way around this yet. I am using a vb script to ping the services but I still am having issues. I have not seen any good solutions as well for this but this kind of a major issue I wish ESRI would address.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 06 Dec 2010 18:17:02 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-rest-apis-and-services-questions/rest-service-throws-an-exception-when-first/m-p/551716#M2649</guid>
      <dc:creator>NickHetrick</dc:creator>
      <dc:date>2010-12-06T18:17:02Z</dc:date>
    </item>
    <item>
      <title>Re: REST service throws an exception when first accessed</title>
      <link>https://community.esri.com/t5/arcgis-rest-apis-and-services-questions/rest-service-throws-an-exception-when-first/m-p/551717#M2650</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I'm having this same issue too... had it with 9.3.1 and with 10 and with 10 SP1... Sorry, I don't have any solutions but was going to post the same thing.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 06 Dec 2010 22:49:16 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-rest-apis-and-services-questions/rest-service-throws-an-exception-when-first/m-p/551717#M2650</guid>
      <dc:creator>RyanCoodey</dc:creator>
      <dc:date>2010-12-06T22:49:16Z</dc:date>
    </item>
    <item>
      <title>Re: REST service throws an exception when first accessed</title>
      <link>https://community.esri.com/t5/arcgis-rest-apis-and-services-questions/rest-service-throws-an-exception-when-first/m-p/551718#M2651</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Please see section "Check for Invalid Data Connections" in this help topic:&lt;/SPAN&gt;&lt;BR /&gt;&lt;A href="http://help.arcgis.com/en/arcgisserver/10.0/help/arcgis_server_dotnet_help/index.html#//009300000069000000.htm"&gt;http://help.arcgis.com/en/arcgisserver/10.0/help/arcgis_server_dotnet_help/index.html#//009300000069000000.htm&lt;/A&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 08 Dec 2010 18:54:31 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-rest-apis-and-services-questions/rest-service-throws-an-exception-when-first/m-p/551718#M2651</guid>
      <dc:creator>RaviNarayanan</dc:creator>
      <dc:date>2010-12-08T18:54:31Z</dc:date>
    </item>
    <item>
      <title>Re: REST service throws an exception when first accessed</title>
      <link>https://community.esri.com/t5/arcgis-rest-apis-and-services-questions/rest-service-throws-an-exception-when-first/m-p/551719#M2652</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Got the same problem.&amp;nbsp; From Manager, I can see the services are started.&amp;nbsp; Also checked SDE using Catalog, and the data there are accessible.&amp;nbsp; But got this error message for all of the published map sevices.&amp;nbsp; What's the problem?&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 02 Nov 2011 16:59:41 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-rest-apis-and-services-questions/rest-service-throws-an-exception-when-first/m-p/551719#M2652</guid>
      <dc:creator>ShaningYu</dc:creator>
      <dc:date>2011-11-02T16:59:41Z</dc:date>
    </item>
  </channel>
</rss>

