<?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: Problems with scratch.gdb in published geoprocessing service in ArcGIS Enterprise Questions</title>
    <link>https://community.esri.com/t5/arcgis-enterprise-questions/problems-with-scratch-gdb-in-published/m-p/263757#M10142</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;What if you try using %scratchGDB% instead?&amp;nbsp; Is it failing because it expects to find the data in the scratch.gdb but the data is actually written to the scratch folder?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 04 Oct 2017 18:51:49 GMT</pubDate>
    <dc:creator>JonathanQuinn</dc:creator>
    <dc:date>2017-10-04T18:51:49Z</dc:date>
    <item>
      <title>Problems with scratch.gdb in published geoprocessing service</title>
      <link>https://community.esri.com/t5/arcgis-enterprise-questions/problems-with-scratch-gdb-in-published/m-p/263756#M10141</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am publishing a geoprocessing model from a unc path on out file server and the resulting geoporcessing service doesnt seem to place data in the scratch.gdb geodatabse.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Within the name of the folder I&amp;nbsp;am publishing I have Scratch, with a scratch.gdb, a toolbox with scripts in and the actual GP model itself.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Within the actual model itself I have&amp;nbsp;%scratchworkspace%\Buffer2 every time i write data to disc.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Within desktop I set both workspaces to&amp;nbsp;\\uc-**\ma**pping\Tea**ms\G**IS\Toolbox\Geoprocess10_5\MissingPersons\Scratch\Scratch.gdb&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The service will publish fine. I am using arcGis Desktop 10.5.1 and ArcGIS Server 10.5.1 and portal 10.5.1&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;When i run the model and i inspect the arcgisjobs directory, shapefiles are being outputted and nothing is being put in the .gdb&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The model will eventually fail in WebAppBuilder.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Any idea what I am doing wrong ?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;Jonathan&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 04 Oct 2017 16:17:26 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-enterprise-questions/problems-with-scratch-gdb-in-published/m-p/263756#M10141</guid>
      <dc:creator>JonathanKnowles1</dc:creator>
      <dc:date>2017-10-04T16:17:26Z</dc:date>
    </item>
    <item>
      <title>Re: Problems with scratch.gdb in published geoprocessing service</title>
      <link>https://community.esri.com/t5/arcgis-enterprise-questions/problems-with-scratch-gdb-in-published/m-p/263757#M10142</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;What if you try using %scratchGDB% instead?&amp;nbsp; Is it failing because it expects to find the data in the scratch.gdb but the data is actually written to the scratch folder?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 04 Oct 2017 18:51:49 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-enterprise-questions/problems-with-scratch-gdb-in-published/m-p/263757#M10142</guid>
      <dc:creator>JonathanQuinn</dc:creator>
      <dc:date>2017-10-04T18:51:49Z</dc:date>
    </item>
    <item>
      <title>Re: Problems with scratch.gdb in published geoprocessing service</title>
      <link>https://community.esri.com/t5/arcgis-enterprise-questions/problems-with-scratch-gdb-in-published/m-p/263758#M10143</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;It still fails. when I examine the extracted folder the model reads "&lt;SPAN style="color: #000000; font-family: Times New Roman; font-size: medium;"&gt; &lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin: 0cm 0cm 0pt;"&gt;&lt;SPAN style="color: #000000; font-family: Calibri; font-size: medium;"&gt;Every time I publish the extracted model appears to have “c:\users\243295\AppData\Local\Temp\arcF95D\Buffer1.shp” when I would expect to see&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin: 0cm 0cm 0pt;"&gt;&lt;SPAN style="color: #000000; font-family: Calibri; font-size: medium;"&gt;“%scratchGDB%/…”&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin: 0cm 0cm 0pt;"&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #000000; font-size: medium; font-family: Times New Roman;"&gt;Is this a bug ??&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #000000; font-size: medium; font-family: Times New Roman;"&gt;Thanks&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #000000; font-size: medium; font-family: Times New Roman;"&gt;Jonathan&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 06 Oct 2017 12:51:22 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-enterprise-questions/problems-with-scratch-gdb-in-published/m-p/263758#M10143</guid>
      <dc:creator>JonathanKnowles1</dc:creator>
      <dc:date>2017-10-06T12:51:22Z</dc:date>
    </item>
    <item>
      <title>Re: Problems with scratch.gdb in published geoprocessing service</title>
      <link>https://community.esri.com/t5/arcgis-enterprise-questions/problems-with-scratch-gdb-in-published/m-p/263759#M10144</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;The %scratchGDB% and %scratchFolder% variables are dynamically generated&amp;nbsp;on the current workspace and scratch workspace, and should be dynamically generated. Make sure those locations are not set or set to a path that exists on the server side.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 23 Oct 2017 18:12:18 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-enterprise-questions/problems-with-scratch-gdb-in-published/m-p/263759#M10144</guid>
      <dc:creator>curtvprice</dc:creator>
      <dc:date>2017-10-23T18:12:18Z</dc:date>
    </item>
  </channel>
</rss>

