<?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 Rebuild Map Cache Programmaticall Using Geoprocessing To Run Locally on ArcGIS Server in ArcObjects SDK Questions</title>
    <link>https://community.esri.com/t5/arcobjects-sdk-questions/rebuild-map-cache-programmaticall-using/m-p/253655#M6524</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I'm trying to run a toolbox item locally on an ArcGIS Server using the GeoProcessor in c#.&amp;nbsp; There are several toolboxes available that look like they should work: &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;C:\Program Files\ArcGIS\Server\ArcToolbox\Toolboxes\Data Management Tools.tbx\Tile Cache\Mange Tile Cache &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;C:\Program Files\ArcGIS\Server\ArcToolbox\Toolboxes\Server Tools.tbx\Caching\Manage Map Server Cache Tiles&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;C:\Program Files\ArcGIS\Server\ArcToolbox\Services\Caching Tools.tbx\Manage Map Cache Tiles.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I have tried all three and none work when run locally on ArcGIS server:&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;The first one complains that there is an existing cache - of course there is, I'm trying to rebuild it!&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;The second one gets close, but I get a message complaining that the "Input Service: dataset not found or supported" - I suspect that the format of the string I'm using doesn't work as the example shows how to use if from ArcGIS desktop: "GIS Servers\\&lt;/SPAN&gt;&lt;SPAN style="font-style:italic;"&gt;my server name&lt;/SPAN&gt;&lt;SPAN&gt; (admin)\\&lt;/SPAN&gt;&lt;SPAN style="font-style:italic;"&gt;service name&lt;/SPAN&gt;&lt;SPAN&gt;.MapServer".&amp;nbsp; I've tried as many permutations I can think of to run it locally, but perhaps it just isn't supported.&amp;nbsp; Any ideas?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;The third one returns the oft found, and extremely helpful error from arcobjects: HRESULT E_FAIL has been returned from a call to a COM component.&amp;nbsp; I did explicitly try to add the toolbox for the 3rd one as it wasn't found in the default Toolboxes folder.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Does anyone have any experience rebuilding the map cache programmatically on ArcGIS server?&amp;nbsp; Any help is appreciated.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 28 Jan 2014 15:26:22 GMT</pubDate>
    <dc:creator>AveryPenniston</dc:creator>
    <dc:date>2014-01-28T15:26:22Z</dc:date>
    <item>
      <title>Rebuild Map Cache Programmaticall Using Geoprocessing To Run Locally on ArcGIS Server</title>
      <link>https://community.esri.com/t5/arcobjects-sdk-questions/rebuild-map-cache-programmaticall-using/m-p/253655#M6524</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I'm trying to run a toolbox item locally on an ArcGIS Server using the GeoProcessor in c#.&amp;nbsp; There are several toolboxes available that look like they should work: &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;C:\Program Files\ArcGIS\Server\ArcToolbox\Toolboxes\Data Management Tools.tbx\Tile Cache\Mange Tile Cache &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;C:\Program Files\ArcGIS\Server\ArcToolbox\Toolboxes\Server Tools.tbx\Caching\Manage Map Server Cache Tiles&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;C:\Program Files\ArcGIS\Server\ArcToolbox\Services\Caching Tools.tbx\Manage Map Cache Tiles.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I have tried all three and none work when run locally on ArcGIS server:&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;The first one complains that there is an existing cache - of course there is, I'm trying to rebuild it!&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;The second one gets close, but I get a message complaining that the "Input Service: dataset not found or supported" - I suspect that the format of the string I'm using doesn't work as the example shows how to use if from ArcGIS desktop: "GIS Servers\\&lt;/SPAN&gt;&lt;SPAN style="font-style:italic;"&gt;my server name&lt;/SPAN&gt;&lt;SPAN&gt; (admin)\\&lt;/SPAN&gt;&lt;SPAN style="font-style:italic;"&gt;service name&lt;/SPAN&gt;&lt;SPAN&gt;.MapServer".&amp;nbsp; I've tried as many permutations I can think of to run it locally, but perhaps it just isn't supported.&amp;nbsp; Any ideas?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;The third one returns the oft found, and extremely helpful error from arcobjects: HRESULT E_FAIL has been returned from a call to a COM component.&amp;nbsp; I did explicitly try to add the toolbox for the 3rd one as it wasn't found in the default Toolboxes folder.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Does anyone have any experience rebuilding the map cache programmatically on ArcGIS server?&amp;nbsp; Any help is appreciated.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 28 Jan 2014 15:26:22 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcobjects-sdk-questions/rebuild-map-cache-programmaticall-using/m-p/253655#M6524</guid>
      <dc:creator>AveryPenniston</dc:creator>
      <dc:date>2014-01-28T15:26:22Z</dc:date>
    </item>
  </channel>
</rss>

