<?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: Publishing MapService to ArcGIS Server problem (Slow and cannot publish data from SQLDatabase) in ArcGIS Enterprise Questions</title>
    <link>https://community.esri.com/t5/arcgis-enterprise-questions/publishing-mapservice-to-arcgis-server-problem/m-p/553774#M21345</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;No worries.&lt;/P&gt;&lt;P&gt;Thank you for idea!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 01 Apr 2016 14:10:21 GMT</pubDate>
    <dc:creator>AlexanderBykov</dc:creator>
    <dc:date>2016-04-01T14:10:21Z</dc:date>
    <item>
      <title>Publishing MapService to ArcGIS Server problem (Slow and cannot publish data from SQLDatabase)</title>
      <link>https://community.esri.com/t5/arcgis-enterprise-questions/publishing-mapservice-to-arcgis-server-problem/m-p/553768#M21339</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P style="margin-bottom: 1em; color: #222426; font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif; background-color: rgba(248, 248, 248, 0.6);"&gt;I am trying to publish a map to ArcGIS Server with one layer from SQL Server.&lt;/P&gt;&lt;P style="margin-bottom: 1em; color: #222426; font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif; background-color: rgba(248, 248, 248, 0.6);"&gt;We have:&lt;/P&gt;&lt;P style="margin-bottom: 1em; color: #222426; font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif; background-color: rgba(248, 248, 248, 0.6);"&gt;&lt;STRONG&gt;1. Data:&lt;/STRONG&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;SQL Database with data&lt;/LI&gt;&lt;LI&gt;Most of Feature Classes are stored in Feature Sets&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&lt;SPAN style="margin-bottom: 1em; color: #222426; font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif; background-color: rgba(248, 248, 248, 0.6);"&gt;&lt;STRONG&gt;2. SQL Server (sqlsrv) with Data&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="margin-bottom: 1em; color: #222426; font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif; background-color: rgba(248, 248, 248, 0.6);"&gt;&lt;STRONG&gt;3. Machine with ArcGIS Server agserver&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;This is a virtual machine&lt;/LI&gt;&lt;LI&gt;ArcGIS Server 10.3 installed&lt;/LI&gt;&lt;LI&gt;ArcGIS Server is running using domain account (agsacc)&lt;/LI&gt;&lt;LI&gt;agsacc account is an Administrator on agserver machine (Can access any folder)&lt;/LI&gt;&lt;LI&gt;Database (sqlsrv) is registered and verified (using Operational System Authentification)&lt;/LI&gt;&lt;LI&gt;I can see and use data from SQL sqlsrv in ArcMap on 'agserver' machine&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&lt;SPAN style="margin-bottom: 1em; color: #222426; font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif; background-color: rgba(248, 248, 248, 0.6);"&gt;&lt;STRONG&gt;Problems:&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;OL style="margin-bottom: 1em; margin-left: 30px; color: #222426; font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif; background-color: rgba(248, 248, 248, 0.6);"&gt;&lt;LI&gt;&lt;SPAN style="margin-bottom: 1em;"&gt;When I am trying to publish a shapefile (150kb)&lt;/SPAN&gt;&lt;UL&gt;&lt;LI&gt;Service published successfully, but takes 1-2 hrs to publish this service.&lt;/LI&gt;&lt;/UL&gt;&lt;/LI&gt;&lt;LI&gt;&lt;SPAN style="margin-bottom: 1em;"&gt;When I am trying to publish anything from sqlsrv, it takes also about 2 hrs, but:&lt;/SPAN&gt;&lt;UL&gt;&lt;LI&gt;Publishing process failed with the error:&lt;/LI&gt;&lt;/UL&gt;&lt;/LI&gt;&lt;/OL&gt;&lt;P&gt;&lt;SPAN style="margin-bottom: 1em; color: #222426; font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif; background-color: rgba(248, 248, 248, 0.6);"&gt;&lt;EM&gt;ERROR 001369: Failed to create the service. Failed to execute (Publish Service Definition). Failed at Thu Mar 24 18:46:18 2016 (Elapsed Time: 5 minutes 23 seconds) Failed. ERROR: the server's publishing job didn't succeed. Failed to execute (UploadServiceDefinition).&lt;/EM&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;I can see in ArcGIS Server Manager that my service is "stopping"&lt;/LI&gt;&lt;LI&gt;When I am trying to stop it and run again, I have the following error:&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&lt;SPAN style="margin-bottom: 1em; color: #222426; font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif; background-color: rgba(248, 248, 248, 0.6);"&gt;&lt;EM&gt;Failed to construct instance of service 'test4.MapServer'. Can not open file C:\arcgisserver\directories\arcgissystem\arcgisinput\test4.MapServer\extracted\v101\test4.msd. The system cannot find the path specified. Probable cause: The file is inaccessible to Server.&lt;/EM&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;There is nothing (0 files) in this service folder&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;**What I have tried:**&lt;/P&gt;&lt;P&gt;-Set log level to Verbose (couldn't find anything). I am not sure what should I be looking for.&lt;/P&gt;&lt;P&gt;-Repaired ArcGIS Server Installation&lt;/P&gt;&lt;P&gt;-Reinstalled ArcGIS Server (still doesn't work)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;**Update, 160328 1500**&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Just turned off Antivirus and shapefile published for a couple of seconds.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; However, map with data from sqlserver still cannot be published&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Got the following errors in the Log:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; -Core server call to create service failed.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; -Error executing tool.: ERROR 001369: Failed to create the service. Failed to execute (Publish Service Definition).&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; -Failed to create the service.: ERROR: Service failed to start, Internal server error.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; -Failed to construct instance of service 'test20160328_2.MapServer'. Service startup timeout&lt;/P&gt;&lt;P style="margin-bottom: 1em; color: #222426; font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif; background-color: rgba(248, 248, 248, 0.6);"&gt;&lt;/P&gt;&lt;P style="margin-bottom: 1em; color: #222426; font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif; background-color: rgba(248, 248, 248, 0.6);"&gt;&lt;/P&gt;&lt;P style="margin-bottom: 1em; color: #222426; font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif; background-color: rgba(248, 248, 248, 0.6);"&gt;Is there is a way to understand where is the problem?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 28 Mar 2016 17:31:18 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-enterprise-questions/publishing-mapservice-to-arcgis-server-problem/m-p/553768#M21339</guid>
      <dc:creator>AlexanderBykov</dc:creator>
      <dc:date>2016-03-28T17:31:18Z</dc:date>
    </item>
    <item>
      <title>Re: Publishing MapService to ArcGIS Server problem (Slow and cannot publish data from SQLDatabase)</title>
      <link>https://community.esri.com/t5/arcgis-enterprise-questions/publishing-mapservice-to-arcgis-server-problem/m-p/553769#M21340</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;Try this:&lt;/P&gt;&lt;P&gt;1. Export your shapefile(s) to the .sde.&lt;/P&gt;&lt;P&gt;2. Register your&amp;nbsp; .sde geodatabase with ArcGIS Server (That is if you have not done that already)&lt;/P&gt;&lt;P&gt;3. Publish.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You might also want to restart ArcGIS Server publishing tools.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 29 Mar 2016 10:09:02 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-enterprise-questions/publishing-mapservice-to-arcgis-server-problem/m-p/553769#M21340</guid>
      <dc:creator>EphraimMuya</dc:creator>
      <dc:date>2016-03-29T10:09:02Z</dc:date>
    </item>
    <item>
      <title>Re: Publishing MapService to ArcGIS Server problem (Slow and cannot publish data from SQLDatabase)</title>
      <link>https://community.esri.com/t5/arcgis-enterprise-questions/publishing-mapservice-to-arcgis-server-problem/m-p/553770#M21341</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;1. I've exported the shapefile (which I was able to publish) to sde&lt;/P&gt;&lt;P&gt;2. Database is registered with ArcGIS Server and validated&lt;/P&gt;&lt;P&gt;Restarted publishing tools.&lt;/P&gt;&lt;P&gt;3. No success.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 30 Mar 2016 18:19:07 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-enterprise-questions/publishing-mapservice-to-arcgis-server-problem/m-p/553770#M21341</guid>
      <dc:creator>AlexanderBykov</dc:creator>
      <dc:date>2016-03-30T18:19:07Z</dc:date>
    </item>
    <item>
      <title>Re: Publishing MapService to ArcGIS Server problem (Slow and cannot publish data from SQLDatabase)</title>
      <link>https://community.esri.com/t5/arcgis-enterprise-questions/publishing-mapservice-to-arcgis-server-problem/m-p/553771#M21342</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I had similar error messages while publishing, but it never took 2 hours. Turned out I ran out of virtual memory (not RAM but paging file). Worth a shot to look into. &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 31 Mar 2016 20:18:19 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-enterprise-questions/publishing-mapservice-to-arcgis-server-problem/m-p/553771#M21342</guid>
      <dc:creator>MatthewLofgren</dc:creator>
      <dc:date>2016-03-31T20:18:19Z</dc:date>
    </item>
    <item>
      <title>Re: Publishing MapService to ArcGIS Server problem (Slow and cannot publish data from SQLDatabase)</title>
      <link>https://community.esri.com/t5/arcgis-enterprise-questions/publishing-mapservice-to-arcgis-server-problem/m-p/553772#M21343</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Matthew, &lt;/P&gt;&lt;P&gt;Are you referring to pagefile.sys on MSSQL Server or ArcGIS Server Machine?&lt;/P&gt;&lt;P&gt;Here is what I have for ArcGIS Server machine:&lt;/P&gt;&lt;P&gt;&lt;IMG class="image-1 jive-image" height="326" src="https://community.esri.com/legacyfs/online/193640_pastedImage_0.png" style="height: 326px; width: 245.807px;" width="246" /&gt;&lt;/P&gt;&lt;P&gt;And for SQL Server:&lt;/P&gt;&lt;P&gt;&lt;IMG class="image-2 jive-image" height="325" src="https://community.esri.com/legacyfs/online/193641_pastedImage_1.png" style="width: 245px; height: 325.043px;" width="245" /&gt;&lt;/P&gt;&lt;P&gt;Also, SQL Server has only 10GB free space on C drive, will it make a difference for pagefile?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 01 Apr 2016 14:03:29 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-enterprise-questions/publishing-mapservice-to-arcgis-server-problem/m-p/553772#M21343</guid>
      <dc:creator>AlexanderBykov</dc:creator>
      <dc:date>2016-04-01T14:03:29Z</dc:date>
    </item>
    <item>
      <title>Re: Publishing MapService to ArcGIS Server problem (Slow and cannot publish data from SQLDatabase)</title>
      <link>https://community.esri.com/t5/arcgis-enterprise-questions/publishing-mapservice-to-arcgis-server-problem/m-p/553773#M21344</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;That actually looks OK. Probably not related then. Sorry...&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 01 Apr 2016 14:08:20 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-enterprise-questions/publishing-mapservice-to-arcgis-server-problem/m-p/553773#M21344</guid>
      <dc:creator>MatthewLofgren</dc:creator>
      <dc:date>2016-04-01T14:08:20Z</dc:date>
    </item>
    <item>
      <title>Re: Publishing MapService to ArcGIS Server problem (Slow and cannot publish data from SQLDatabase)</title>
      <link>https://community.esri.com/t5/arcgis-enterprise-questions/publishing-mapservice-to-arcgis-server-problem/m-p/553774#M21345</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;No worries.&lt;/P&gt;&lt;P&gt;Thank you for idea!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 01 Apr 2016 14:10:21 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-enterprise-questions/publishing-mapservice-to-arcgis-server-problem/m-p/553774#M21345</guid>
      <dc:creator>AlexanderBykov</dc:creator>
      <dc:date>2016-04-01T14:10:21Z</dc:date>
    </item>
    <item>
      <title>Re: Publishing MapService to ArcGIS Server problem (Slow and cannot publish data from SQLDatabase)</title>
      <link>https://community.esri.com/t5/arcgis-enterprise-questions/publishing-mapservice-to-arcgis-server-problem/m-p/553775#M21346</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;When you click on File &amp;gt; Share As &amp;gt; Service.&amp;nbsp; Click the option to create a service definition file.&amp;nbsp; Then use the Upload Service Definition tool to publish it to Server.&amp;nbsp; I have found this to work when I get publishing errors.&lt;IMG class="image-1 jive-image" src="https://community.esri.com/legacyfs/online/194675_pastedImage_0.png" style="max-width: 1200px; max-height: 900px;" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 12 Apr 2016 18:25:59 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-enterprise-questions/publishing-mapservice-to-arcgis-server-problem/m-p/553775#M21346</guid>
      <dc:creator>AndrewKeith3</dc:creator>
      <dc:date>2016-04-12T18:25:59Z</dc:date>
    </item>
    <item>
      <title>Re: Publishing MapService to ArcGIS Server problem (Slow and cannot publish data from SQLDatabase)</title>
      <link>https://community.esri.com/t5/arcgis-enterprise-questions/publishing-mapservice-to-arcgis-server-problem/m-p/553776#M21347</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please use below link and alos upgrade your current AGS version to 10.4.1.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="https://community.esri.com/thread/181345"&gt;https://community.esri.com/thread/181345&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 22 Aug 2016 14:13:10 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-enterprise-questions/publishing-mapservice-to-arcgis-server-problem/m-p/553776#M21347</guid>
      <dc:creator>Anonymous User</dc:creator>
      <dc:date>2016-08-22T14:13:10Z</dc:date>
    </item>
    <item>
      <title>Re: Publishing MapService to ArcGIS Server problem (Slow and cannot publish data from SQLDatabase)</title>
      <link>https://community.esri.com/t5/arcgis-enterprise-questions/publishing-mapservice-to-arcgis-server-problem/m-p/553777#M21348</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thank you! &amp;nbsp;This method worked for me!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 24 Aug 2017 19:06:20 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-enterprise-questions/publishing-mapservice-to-arcgis-server-problem/m-p/553777#M21348</guid>
      <dc:creator>MarkBenishek</dc:creator>
      <dc:date>2017-08-24T19:06:20Z</dc:date>
    </item>
  </channel>
</rss>

