<?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: Server unavailable error in ArcGIS API for Silverlight Questions</title>
    <link>https://community.esri.com/t5/arcgis-api-for-silverlight-questions/server-unavailable-error/m-p/587536#M15041</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I'm not sure if this blog post will help but you can have a look at it anyway: &lt;/SPAN&gt;&lt;A href="http://blogs.esri.com/Dev/blogs/arcgisserver/archive/2008/08/12/The-REST-API-cache.aspx"&gt;http://blogs.esri.com/Dev/blogs/arcgisserver/archive/2008/08/12/The-REST-API-cache.aspx&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;You may also want to post in the ArcGIS Server forum. This seems to be related thread: &lt;/SPAN&gt;&lt;A href="http://forums.arcgis.com/threads/18470-Sleeping-Map-service-issue-with-ArcGIS-10"&gt;http://forums.arcgis.com/threads/18470-Sleeping-Map-service-issue-with-ArcGIS-10&lt;/A&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 16 Mar 2011 17:38:13 GMT</pubDate>
    <dc:creator>JenniferNery</dc:creator>
    <dc:date>2011-03-16T17:38:13Z</dc:date>
    <item>
      <title>Server unavailable error</title>
      <link>https://community.esri.com/t5/arcgis-api-for-silverlight-questions/server-unavailable-error/m-p/587535#M15040</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Occassionally when first loading my map I will get a Server Unavailable error. This happens even though the server IS available and after restarting the application it will load fine. I assume this is caused by some kind of timeout setting and the server just isn't responding fast enough. Can someone confirm this and suggest how to fix?&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 16 Mar 2011 16:05:18 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-silverlight-questions/server-unavailable-error/m-p/587535#M15040</guid>
      <dc:creator>DonFreeman</dc:creator>
      <dc:date>2011-03-16T16:05:18Z</dc:date>
    </item>
    <item>
      <title>Re: Server unavailable error</title>
      <link>https://community.esri.com/t5/arcgis-api-for-silverlight-questions/server-unavailable-error/m-p/587536#M15041</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I'm not sure if this blog post will help but you can have a look at it anyway: &lt;/SPAN&gt;&lt;A href="http://blogs.esri.com/Dev/blogs/arcgisserver/archive/2008/08/12/The-REST-API-cache.aspx"&gt;http://blogs.esri.com/Dev/blogs/arcgisserver/archive/2008/08/12/The-REST-API-cache.aspx&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;You may also want to post in the ArcGIS Server forum. This seems to be related thread: &lt;/SPAN&gt;&lt;A href="http://forums.arcgis.com/threads/18470-Sleeping-Map-service-issue-with-ArcGIS-10"&gt;http://forums.arcgis.com/threads/18470-Sleeping-Map-service-issue-with-ArcGIS-10&lt;/A&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 16 Mar 2011 17:38:13 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-silverlight-questions/server-unavailable-error/m-p/587536#M15041</guid>
      <dc:creator>JenniferNery</dc:creator>
      <dc:date>2011-03-16T17:38:13Z</dc:date>
    </item>
    <item>
      <title>Re: Server unavailable error</title>
      <link>https://community.esri.com/t5/arcgis-api-for-silverlight-questions/server-unavailable-error/m-p/587537#M15042</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hi Don, &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Sleepy services have been around for a while. &lt;span class="lia-unicode-emoji" title=":winking_face:"&gt;😉&lt;/span&gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I have used the VBA script to wake up the services (9.3 and 9.3.1). It is running every 15 minutes (services are idle in 20 minutes in my case). This has bee working pretty well for me. &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Here is the script:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;A href="http://forums.esri.com/Thread.asp?c=158&amp;amp;f=2276&amp;amp;t=228654&amp;amp;mc=160#812067"&gt;http://forums.esri.com/Thread.asp?c=158&amp;amp;f=2276&amp;amp;t=228654&amp;amp;mc=160#812067&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I have recently installed ArcGIS Server 10 on Windows Server 2008, and Map Services don't crash the firts time they are accessed, but there is a pretty good delay. &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I decided to experiment and use a different approach (not sure where I got the idea from): instead of using a script to ping the services and keep them alive, I have set the Idle Timeout property of the ArcGISServicesAppPool to 240 (4 hours), instead 20 minutes. You can use your own timeout depending how often the services are used. The ArcGISServicesAppPool is the Application Pool that is used to run the /ArcGIS/KML, ArcGIS/rest, ArcGIS/Services... apps. &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;This seems to be working. I no longer have delays when a service has not been used for 20 minutes. &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Here is the link how to set the timeout:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;A href="http://technet.microsoft.com/en-us/library/cc771956(WS.10).aspx"&gt;http://technet.microsoft.com/en-us/library/cc771956(WS.10).aspx&lt;/A&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp; - IIS 7&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;A href="http://www.microsoft.com/technet/prodtechnol/WindowsServer2003/Library/IIS/83b35271-c93c-49f4-b923-7fdca6fae1cf.mspx?mfr=true"&gt;http://www.microsoft.com/technet/prodtechnol/WindowsServer2003/Library/IIS/83b35271-c93c-49f4-b923-7fdca6fae1cf.mspx?mfr=true&lt;/A&gt;&lt;SPAN&gt;&amp;nbsp; - IIS 6&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;It has a gottcha though: by keeping the worker processes alive you are not releasing server resources. I would say, try it, see if it works for you, and if it works, evaluate how this will affect the server, and if you can afford it.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Good Luck! &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 16 Mar 2011 20:11:16 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-silverlight-questions/server-unavailable-error/m-p/587537#M15042</guid>
      <dc:creator>DarinaTchountcheva</dc:creator>
      <dc:date>2011-03-16T20:11:16Z</dc:date>
    </item>
  </channel>
</rss>

