<?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: GeoproccesingTools.Ex / ArcSOC.exe crashes when uploading a hosted feature layer from ArcGIS Pro to Enterprise 10.8.1 in Publishing and Managing Services Questions</title>
    <link>https://community.esri.com/t5/publishing-and-managing-services-questions/geoproccesingtools-ex-arcsoc-exe-crashes-when/m-p/1026188#M330</link>
    <description>&lt;P&gt;Moring&amp;nbsp;&lt;a href="https://community.esri.com/t5/user/viewprofilepage/user-id/262228"&gt;@MarcusAndersson&lt;/a&gt;,&lt;/P&gt;&lt;P&gt;On your question I think yes, the &lt;SPAN&gt;PublishingToolsEx&amp;nbsp;&lt;/SPAN&gt;tool spins up when publishing a GDB, it is not tied to the ArcGIS for Desktop app , I think the&amp;nbsp;&lt;SPAN&gt;PublishingToolsEx&lt;/SPAN&gt;&amp;nbsp;is more a legacy component.&lt;/P&gt;&lt;P&gt;Have you tried to spin up a new vm with a ArcGIS server that is federated and publish to that server? if this works then the corrupted part is definitely with ArcGIS server if it fails then it might be portal.&amp;nbsp;&lt;/P&gt;&lt;P&gt;So usually when I uninstall and re-install and the error persists the corruption is either in program files or in the content.&lt;/P&gt;&lt;P&gt;My &lt;STRONG&gt;last resort&lt;/STRONG&gt; method is as follows, backup the ArcGIS server and program files dir, uninstall and delete the program files ArcGIS &lt;STRONG&gt;C:\Program Files\ArcGIS\Server&lt;/STRONG&gt; , this breaks the link to your existing system but we can recover that.&lt;/P&gt;&lt;P&gt;1.&lt;/P&gt;&lt;P&gt;Rename the&amp;nbsp;arcgisserver dir e.g.&amp;nbsp;arcgisserver_old "the one with the config-store"&lt;/P&gt;&lt;P&gt;Re-Install ArcGIS Server to the same dir.&lt;/P&gt;&lt;P&gt;2.&lt;/P&gt;&lt;P&gt;Now we want to rebuild the links to portal and any data dirs.&lt;/P&gt;&lt;P&gt;go into the backup and copy any folders that are missing in the new system. "only Folders".&lt;/P&gt;&lt;P&gt;Go trough the folders one for one .&lt;/P&gt;&lt;P&gt;the folders are&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;config-store&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;C:\arcgis\arcgisserver\config-store\data\{sub-dirs}\&lt;/P&gt;&lt;P&gt;C:\arcgis\arcgisserver\config-store\security "*special notes see below"&lt;/P&gt;&lt;P&gt;C:\arcgis\arcgisserver\config-store\services&amp;nbsp;"&lt;STRONG&gt;*special notes wait till after&amp;nbsp; fist test"&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;directories&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;do not copy over &lt;STRONG&gt;system&lt;/STRONG&gt; and &lt;STRONG&gt;utilities&lt;/STRONG&gt; form the backup this is internal system folders.&lt;/P&gt;&lt;P&gt;C:\arcgis\arcgisserver\directories\arcgiscache&amp;nbsp;&lt;STRONG&gt;"*special notes wait till after&amp;nbsp; fist test"&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;C:\arcgis\arcgisserver\directories\arcgisjobs&amp;nbsp;&lt;STRONG&gt;"*special notes wait till after&amp;nbsp; fist test"&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;C:\arcgis\arcgisserver\directories\arcgisoutput&amp;nbsp;&lt;STRONG&gt;"*special notes wait till after&amp;nbsp; fist test"&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;C:\arcgis\arcgisserver\directories\arcgissystem\arcgisinput&amp;nbsp;&amp;nbsp;&lt;STRONG&gt;"*special notes wait till after&amp;nbsp; fist test"&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;config-store\data&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="HenryLindemann_0-1613110608566.png" style="width: 400px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/5894iE1C1C11BB8386F47/image-size/medium?v=v2&amp;amp;px=400" role="button" title="HenryLindemann_0-1613110608566.png" alt="HenryLindemann_0-1613110608566.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;drill down and copy folders in the above dirs&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="HenryLindemann_1-1613110716796.png" style="width: 400px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/5895iAB215B3F074D2C79/image-size/medium?v=v2&amp;amp;px=400" role="button" title="HenryLindemann_1-1613110716796.png" alt="HenryLindemann_1-1613110716796.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;config-store\security&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;only copy&amp;nbsp;security-config.json this is the federation and replace the existing file.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="HenryLindemann_2-1613111143282.png" style="width: 400px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/5896i7F88DA2008B331B9/image-size/medium?v=v2&amp;amp;px=400" role="button" title="HenryLindemann_2-1613111143282.png" alt="HenryLindemann_2-1613111143282.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;config-store\services&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;do not copy over &lt;STRONG&gt;system&lt;/STRONG&gt; and &lt;STRONG&gt;utilities&lt;/STRONG&gt; form the backup this is internal system folders.&lt;/P&gt;&lt;P&gt;NB Re-apply the service accounts to the ArcGIS server after the copy process .&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;First Test&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;if everything&amp;nbsp;went well you will have a empty ArcGIS Server that is federated to you system with the existing federation, now do you publishing test on the empty system.&lt;/P&gt;&lt;P&gt;Now I have seen on upgraded systems that misplaced files can land in the content store and cause funny errors that is why we do the first test with no content. if this works then copy the content back and test again if it fails then it is a indication that something is misplaced in the content and if it&amp;nbsp; works great.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Hope it Helps&amp;nbsp;&lt;/P&gt;&lt;P&gt;Henry&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Fri, 12 Feb 2021 06:44:54 GMT</pubDate>
    <dc:creator>HenryLindemann</dc:creator>
    <dc:date>2021-02-12T06:44:54Z</dc:date>
    <item>
      <title>GeoproccesingTools.Ex / ArcSOC.exe crashes when uploading a hosted feature layer from ArcGIS Pro to Enterprise 10.8.1</title>
      <link>https://community.esri.com/t5/publishing-and-managing-services-questions/geoproccesingtools-ex-arcsoc-exe-crashes-when/m-p/1021270#M312</link>
      <description>&lt;P&gt;Hi guys,&lt;/P&gt;&lt;P&gt;I have a problem that occurs when you try to publish a hosted feature (copy data) to Portal from ArcGIS Pro.&lt;/P&gt;&lt;P&gt;The service definition-file uploads to Portal just fine, and for a short period of time, a hosted feature with the same name is created in the Portal but then Pro goes "Failed to publish web layer" and the hosted feature is removed from Portal.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="MarcusAndersson_0-1611865558896.png" style="width: 400px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/4835iED2ED8354853AE22/image-size/medium?v=v2&amp;amp;px=400" role="button" title="MarcusAndersson_0-1611865558896.png" alt="MarcusAndersson_0-1611865558896.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;The Pro-log reads:&lt;/P&gt;&lt;TABLE width="307"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD&gt;&amp;nbsp;&lt;/TD&gt;&lt;TD&gt;&amp;nbsp;&lt;/TD&gt;&lt;TD&gt;...more successful operations above here, cut out...&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD width="115"&gt;2021-01-28 21:24&lt;/TD&gt;&lt;TD width="64"&gt;Status: InProgress&lt;/TD&gt;&lt;TD width="128"&gt;StatusMessage: Compressing package into SD file&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;2021-01-28 21:24&lt;/TD&gt;&lt;TD&gt;Status: InProgress&lt;/TD&gt;&lt;TD&gt;StatusMessage: Staging successful&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;2021-01-28 21:24&lt;/TD&gt;&lt;TD&gt;Status: InProgress&lt;/TD&gt;&lt;TD&gt;StatusMessage: Uploading service definition&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;2021-01-28 21:24&lt;/TD&gt;&lt;TD&gt;Status: InProgress&lt;/TD&gt;&lt;TD&gt;StatusMessage: Publishing tool initialized&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;2021-01-28 21:24&lt;/TD&gt;&lt;TD&gt;Status: InProgress&lt;/TD&gt;&lt;TD&gt;StatusMessage: Publishing web layer (AGO)&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;2021-01-28 21:24&lt;/TD&gt;&lt;TD&gt;Status: InProgress&lt;/TD&gt;&lt;TD&gt;StatusMessage: Failed. Failed to execute (Publish Portal Service). Failed.&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;2021-01-28 21:24&lt;/TD&gt;&lt;TD&gt;Status: InProgress&lt;/TD&gt;&lt;TD&gt;StatusMessage: Publishing web layer failed (AGO)&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;2021-01-28 21:24&lt;/TD&gt;&lt;TD&gt;Status: InProgress&lt;/TD&gt;&lt;TD&gt;StatusMessage: Server Response: {"hasVersionedData":false,"supportsDisconnectedEditing":false,"supportedQueryFormats":"JSON","currentVersion":10.81,"serviceDescription":"","maxRecordCount":2000,"capabilities":"Query","description":"","copyrightText":"","spatialReference":{"wkid":3006,"latestWkid":3006},"fullExtent":{"xmin":438713.39250000007,"ymin":6393012.90599999949,"xmax":527327.68699999992,"ymax":6533343.0839000009,"spatialReference":{"wkid":3006,"latestWkid":3006}},"initialExtent":{"xmin":364851.86917459668,"ymin":6354372.8373888936,"xmax":596411.18957539252,"ymax":6583317.30975505,"spatialReference":{"wkid":3006,"latestWkid":3006}},"units":"esriMeters","allowGeometryUpdates":true,"enableZDefaults":true,"zDefault":0,"syncEnabled":false,"supportsApplyEditsWithGlobalIds":false,"maxViewsCount":20,"allowUpdateWithoutMValues":true,"editorTrackingInfo":{"enableEditorTracking":false,"enableOwnershipAccessControl":false,"allowOthersToUpdate":true,"allowOthersToDelete":false,"allowOthersToQuery":true},"supportsReturnDeleteResults":true,"isLocationTrackingService":false,"hasSyncEnabledViews":false,"hasViews":false,"supportsAppend":true,"supportedAppendFormats":"shapefile,featureCollection","layers":[{"id":0,"name":"test_m2"}],"tables":[],"serviceItemId":"c283eb374db942a49595a6341d997741"}&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;2021-01-28 21:24&lt;/TD&gt;&lt;TD&gt;Status: InProgress&lt;/TD&gt;&lt;TD&gt;StatusMessage: Publishing tool execution failed&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;2021-01-28 21:24&lt;/TD&gt;&lt;TD&gt;Status: Failed&lt;/TD&gt;&lt;TD&gt;ErrorMessage: Failed to publish web layer&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The log from Server Manager reads:&lt;/P&gt;&lt;DIV class="dojoxGridRow"&gt;&lt;TABLE border="0" cellspacing="0" cellpadding="0"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD&gt;SEVERE&lt;/TD&gt;&lt;TD&gt;28 jan. 2021 21:24:42&lt;/TD&gt;&lt;TD&gt;Error executing tool. Publish Portal Service Job ID: j7f2ec07d2c654eeb81499fbc6ce749f3 : Failed. Failed to execute (Publish Portal Service).&lt;/TD&gt;&lt;TD&gt;System/PublishingTools.GPServer&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;/DIV&gt;&lt;DIV class="dojoxGridRow dojoxGridRowOdd"&gt;&lt;TABLE border="0" cellspacing="0" cellpadding="0"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD&gt;SEVERE&lt;/TD&gt;&lt;TD&gt;28 jan. 2021 21:24:42&lt;/TD&gt;&lt;TD&gt;Delegate job failed.&lt;/TD&gt;&lt;TD&gt;System/PublishingTools.GPServer&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;/DIV&gt;&lt;DIV class="dojoxGridRow"&gt;&lt;TABLE border="0" cellspacing="0" cellpadding="0"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD&gt;SEVERE&lt;/TD&gt;&lt;TD&gt;28 jan. 2021 21:24:42&lt;/TD&gt;&lt;TD&gt;The containing process for 'System/PublishingToolsEx' job 'j51c7db29ac9d4661bc425aa5d5d3b925' has crashed.&lt;/TD&gt;&lt;TD&gt;Server&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;/DIV&gt;&lt;DIV class="dojoxGridRow dojoxGridRowOdd dojoxGridRowOver"&gt;&lt;TABLE border="0" cellspacing="0" cellpadding="0"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD&gt;SEVERE&lt;/TD&gt;&lt;TD&gt;28 jan. 2021 21:24:36&lt;/TD&gt;&lt;TD&gt;Instance of the service 'System/PublishingToolsEx.GPServer' crashed. Please see if an error report was generated in 'C:\arcgisserver\logs\&amp;lt;domain&amp;gt;\errorreports'. To send an error report to Esri, compose an e-mail to ArcGISErrorReport@esri.com and attach the error report file.&lt;/TD&gt;&lt;TD&gt;Server&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;/DIV&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Local server logs:&lt;BR /&gt;"Source: .NET Runtime"&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="markdown"&gt;Application: ArcSOC.exe
Framework Version: v4.0.30319
Description: The process was terminated due to an unhandled exception.
Exception Info: exception code c0000005, exception address 00007FFDA8088947&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;"Source: Application Error"&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="markdown"&gt;Faulting application name: ArcSOC.exe, version: 12.6.0.24234, time stamp: 0x5ee81bca
Faulting module name: sdepgsrvr.dll, version: 12.6.0.24234, time stamp: 0x5ee80ef4
Exception code: 0xc0000005
Fault offset: 0x0000000000068947
Faulting process id: 0x858
Faulting application start time: 0x01d6f58f52f28ee3
Faulting application path: C:\Program Files\ArcGIS\Server\framework\runtime\ArcGIS\bin\ArcSOC.exe
Faulting module path: C:\Program Files\ArcGIS\Server\framework\runtime\ArcGIS\bin\sdepgsrvr.dll
Report Id: d5af886f-61a6-11eb-8161-0050568c55d9
Faulting package full name: 
Faulting package-relative application ID: &lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;The setup is a two machine Enterprise site with one server running ArcGIS Server and DataStore and the other is running Portal. Windows Server 2012 r2 on both.&lt;BR /&gt;&lt;BR /&gt;What works:&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;To publish a hosted feature service from ArcMap 10.4 works just fine.&lt;/LI&gt;&lt;LI&gt;To publish a Map Image works just fine.&lt;/LI&gt;&lt;LI&gt;To upload a *.zip-shapefile through the web interface of Portal and publish it as a hosted service works just fine, albeit an error shows but the service itself works fine.&lt;/LI&gt;&lt;LI&gt;To publish a hosted feature service through the Portal web interface (from the *.sd-file previously uploaded from Pro!) works, though the same error is shown in the browser&lt;BR /&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="3.PNG" style="width: 250px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/4839iB71B4B10BD43E9B6/image-size/large?v=v2&amp;amp;px=999" role="button" title="3.PNG" alt="3.PNG" /&gt;&lt;/span&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;After reviewing logs it seems as this error has occured from December 5, 2020 (the ArcSOC-crash that is) but not at this scale at all and from January 18th 2021 we have not been able to publish like this at all through Pro.&amp;nbsp;&lt;/P&gt;&lt;P&gt;What we've done:&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;Feels like "everything" by now... But I'll recap what I can remember right now (late at night in Sweden)&lt;/LI&gt;&lt;LI&gt;Restarted everything (processes, servers etc) a couple of times&lt;/LI&gt;&lt;LI&gt;Removed/reinstalled Windows Updates from the server machines.&lt;/LI&gt;&lt;LI&gt;Installed the IIS stability patch&lt;/LI&gt;&lt;LI&gt;Removed and reinstalled the "Printing patch"&lt;/LI&gt;&lt;LI&gt;Reviewed and opened ports if needed according to installation documents&lt;/LI&gt;&lt;LI&gt;Checked traffic using Fiddler with no significant results&lt;/LI&gt;&lt;LI&gt;Checked traffic on reverse proxys with no significant results&lt;/LI&gt;&lt;LI&gt;Physically went to the office to check if that would make a difference, beeing on that network. (We use Direct Access from home)&lt;/LI&gt;&lt;LI&gt;Checked that we have enough disk space everywhere&lt;/LI&gt;&lt;LI&gt;Recreated PublishingTools and .EX&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;... and a bunch of other stuff.&lt;/P&gt;&lt;P&gt;I've probably left out lots of important stuff but my brain is aching, and also, sorry for the formatting os some stuff.&amp;nbsp;&lt;/P&gt;&lt;P&gt;Anyone have ANY idea of what can cause this behaviour? ESRI Sweden "gave up" and suggested we order a new machine with Windows Server 2019 on and reinstall. But I would like to solve this &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;BR /&gt;ANY help or suggestions at all is very welcome at this stage! Thanks!&lt;/P&gt;&lt;P&gt;/ Marcus&lt;/P&gt;</description>
      <pubDate>Thu, 28 Jan 2021 21:46:30 GMT</pubDate>
      <guid>https://community.esri.com/t5/publishing-and-managing-services-questions/geoproccesingtools-ex-arcsoc-exe-crashes-when/m-p/1021270#M312</guid>
      <dc:creator>MarcusAndersson</dc:creator>
      <dc:date>2021-01-28T21:46:30Z</dc:date>
    </item>
    <item>
      <title>Re: GeoproccesingTools.Ex / ArcSOC.exe crashes when uploading a hosted feature layer from ArcGIS Pro to Enterprise 10.8.1</title>
      <link>https://community.esri.com/t5/publishing-and-managing-services-questions/geoproccesingtools-ex-arcsoc-exe-crashes-when/m-p/1021409#M313</link>
      <description>&lt;P&gt;&lt;a href="https://community.esri.com/t5/user/viewprofilepage/user-id/262228"&gt;@MarcusAndersson&lt;/a&gt;,&lt;/P&gt;&lt;P&gt;On what version of Windows is ArcGIS Pro running and what version is it?&lt;/P&gt;&lt;P&gt;In you testing did you try and publish from a SQL connected service and a FGDB?&amp;nbsp;&lt;/P&gt;&lt;P&gt;Have you tried updating .net and c++ redistributables?&lt;/P&gt;&lt;P&gt;What ArcObjects is specified in the PubEx service&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="HenryLindemann_0-1611903603320.png" style="width: 400px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/4861i118537F08E9AA44D/image-size/medium?v=v2&amp;amp;px=400" role="button" title="HenryLindemann_0-1611903603320.png" alt="HenryLindemann_0-1611903603320.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Henry&lt;/P&gt;</description>
      <pubDate>Fri, 29 Jan 2021 07:09:55 GMT</pubDate>
      <guid>https://community.esri.com/t5/publishing-and-managing-services-questions/geoproccesingtools-ex-arcsoc-exe-crashes-when/m-p/1021409#M313</guid>
      <dc:creator>HenryLindemann</dc:creator>
      <dc:date>2021-01-29T07:09:55Z</dc:date>
    </item>
    <item>
      <title>Re: GeoproccesingTools.Ex / ArcSOC.exe crashes when uploading a hosted feature layer from ArcGIS Pro to Enterprise 10.8.1</title>
      <link>https://community.esri.com/t5/publishing-and-managing-services-questions/geoproccesingtools-ex-arcsoc-exe-crashes-when/m-p/1021414#M314</link>
      <description>&lt;P&gt;Hi!&lt;/P&gt;&lt;P&gt;Thanks for answering&amp;nbsp;&lt;a href="https://community.esri.com/t5/user/viewprofilepage/user-id/400739"&gt;@HenryLindemann&lt;/a&gt;!&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="MarcusAndersson_0-1611910881788.png" style="width: 400px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/4870i144501CC244A9879/image-size/medium?v=v2&amp;amp;px=400" role="button" title="MarcusAndersson_0-1611910881788.png" alt="MarcusAndersson_0-1611910881788.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;Version 2.7.0 of Pro right now, have also tried 2.6.x before with no success. Running on Windows 10 Enterprise 20H2 version&amp;nbsp;19042.746. (Have also tried to publish from a Pro 2.7 installation on the server Windows Server 2012 r2).&lt;BR /&gt;&lt;BR /&gt;All the failed tests have been from a file geodatabase feature class (that's what's not working, but I probably forgot to mention that in the main post).&lt;BR /&gt;To publish to Portal from a SQL-connected database generates the same errors.&lt;BR /&gt;To upload a FGDB to Portal and to publish services from there works.&lt;/P&gt;&lt;P&gt;Have not updated .net and c++ redistributables. I've looked suspiciously at .net but have not fiddled with it, yet. Will do now then &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt; Will also look at the c++, thanks! Any suggestions for versions to look at when updating?&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="MarcusAndersson_0-1611907370673.png" style="width: 400px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/4862i0F67142A71B2BBE6/image-size/medium?v=v2&amp;amp;px=400" role="button" title="MarcusAndersson_0-1611907370673.png" alt="MarcusAndersson_0-1611907370673.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;ArcObjects11.&lt;/P&gt;&lt;P&gt;Thanks again!&lt;BR /&gt;Best regards,&lt;BR /&gt;Marcus&lt;/P&gt;&lt;P&gt;--------------------------------------------------------&lt;BR /&gt;Added:&lt;BR /&gt;Could this have to do with anything?&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="MarcusAndersson_0-1611908425019.png" style="width: 400px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/4863i796CEE318CFCF322/image-size/medium?v=v2&amp;amp;px=400" role="button" title="MarcusAndersson_0-1611908425019.png" alt="MarcusAndersson_0-1611908425019.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;BR,&lt;BR /&gt;Marcus&lt;/P&gt;</description>
      <pubDate>Fri, 29 Jan 2021 09:01:33 GMT</pubDate>
      <guid>https://community.esri.com/t5/publishing-and-managing-services-questions/geoproccesingtools-ex-arcsoc-exe-crashes-when/m-p/1021414#M314</guid>
      <dc:creator>MarcusAndersson</dc:creator>
      <dc:date>2021-01-29T09:01:33Z</dc:date>
    </item>
    <item>
      <title>Re: GeoproccesingTools.Ex / ArcSOC.exe crashes when uploading a hosted feature layer from ArcGIS Pro to Enterprise 10.8.1</title>
      <link>https://community.esri.com/t5/publishing-and-managing-services-questions/geoproccesingtools-ex-arcsoc-exe-crashes-when/m-p/1021436#M315</link>
      <description>&lt;P&gt;Hi &lt;a href="https://community.esri.com/t5/user/viewprofilepage/user-id/262228"&gt;@MarcusAndersson&lt;/a&gt;,&lt;/P&gt;&lt;P&gt;I would just install the latest&amp;nbsp;&lt;A href="https://support.microsoft.com/en-us/topic/the-latest-supported-visual-c-downloads-2647da03-1eea-4433-9aff-95f26a218cc0" target="_blank" rel="noopener"&gt;The latest supported Visual C++ downloads (microsoft.com)&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="https://dotnet.microsoft.com/download/dotnet-framework/thank-you/net48-web-installer" target="_blank" rel="noopener"&gt;https://dotnet.microsoft.com/download/dotnet-framework/thank-you/net48-web-installer&lt;/A&gt;&lt;/P&gt;&lt;P&gt;I know there was a .net update for pro at 2.6 I think.&lt;/P&gt;&lt;P&gt;I see there is two versions of sdepgsrvr.dll can you have a look if it is the same as what I have below&amp;nbsp;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="HenryLindemann_0-1611912313663.png" style="width: 400px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/4872i0A55530A266B9CE9/image-size/medium?v=v2&amp;amp;px=400" role="button" title="HenryLindemann_0-1611912313663.png" alt="HenryLindemann_0-1611912313663.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;I have included the two DLL in the download, might just be a corrupt dll&lt;/P&gt;</description>
      <pubDate>Fri, 29 Jan 2021 09:34:05 GMT</pubDate>
      <guid>https://community.esri.com/t5/publishing-and-managing-services-questions/geoproccesingtools-ex-arcsoc-exe-crashes-when/m-p/1021436#M315</guid>
      <dc:creator>HenryLindemann</dc:creator>
      <dc:date>2021-01-29T09:34:05Z</dc:date>
    </item>
    <item>
      <title>Re: GeoproccesingTools.Ex / ArcSOC.exe crashes when uploading a hosted feature layer from ArcGIS Pro to Enterprise 10.8.1</title>
      <link>https://community.esri.com/t5/publishing-and-managing-services-questions/geoproccesingtools-ex-arcsoc-exe-crashes-when/m-p/1021443#M316</link>
      <description>&lt;P&gt;Great, thanks!&lt;/P&gt;&lt;P&gt;Is it possible to just replace the .dll-files? There's nothing "special" written in them as far as you know? The versions were the same as yours btw, but might still be corrupt as you say.&lt;/P&gt;&lt;P&gt;Will give this a shot, along with the .net and c++.&amp;nbsp;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;/ Marcus&lt;/P&gt;</description>
      <pubDate>Fri, 29 Jan 2021 09:54:06 GMT</pubDate>
      <guid>https://community.esri.com/t5/publishing-and-managing-services-questions/geoproccesingtools-ex-arcsoc-exe-crashes-when/m-p/1021443#M316</guid>
      <dc:creator>MarcusAndersson</dc:creator>
      <dc:date>2021-01-29T09:54:06Z</dc:date>
    </item>
    <item>
      <title>Re: GeoproccesingTools.Ex / ArcSOC.exe crashes when uploading a hosted feature layer from ArcGIS Pro to Enterprise 10.8.1</title>
      <link>https://community.esri.com/t5/publishing-and-managing-services-questions/geoproccesingtools-ex-arcsoc-exe-crashes-when/m-p/1021453#M317</link>
      <description>&lt;P&gt;If it is the same version then I don't see a problem, it is jut a peace of wrapped code after all. Just turn you server of when you replace it as there might be some service accessing the dll.&lt;/P&gt;&lt;P&gt;Ok let me know if any of the suggestions solves it.&lt;/P&gt;&lt;P&gt;Henry&lt;/P&gt;</description>
      <pubDate>Fri, 29 Jan 2021 10:16:05 GMT</pubDate>
      <guid>https://community.esri.com/t5/publishing-and-managing-services-questions/geoproccesingtools-ex-arcsoc-exe-crashes-when/m-p/1021453#M317</guid>
      <dc:creator>HenryLindemann</dc:creator>
      <dc:date>2021-01-29T10:16:05Z</dc:date>
    </item>
    <item>
      <title>Re: GeoproccesingTools.Ex / ArcSOC.exe crashes when uploading a hosted feature layer from ArcGIS Pro to Enterprise 10.8.1</title>
      <link>https://community.esri.com/t5/publishing-and-managing-services-questions/geoproccesingtools-ex-arcsoc-exe-crashes-when/m-p/1023818#M328</link>
      <description>&lt;P&gt;Hi again,&lt;/P&gt;&lt;P&gt;Thought I might give an update on the issue.&amp;nbsp;&lt;BR /&gt;Installing .NET, C++ and change of .dll-files did&amp;nbsp;unfortunatley not solve the publishing error so we went back to the snapshots taken befor tinkering with this.&lt;/P&gt;&lt;P&gt;Next step is to try an "in-place upgrade" of the OS to Windows Server 2019 on the two machines. We'll do this by cloning and test to run the OS-upgrade in the clones. This "in-place upgrade" has been suggested by ESRI and they say they've done this successfully many times, our IT-provider is not that confident to say the least but let's hope that it works out &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/P&gt;&lt;P&gt;If that doesn't work the next step will probably be to set up two new machines running Windows Server 2019 and then migrate Enterprise from the old ones. Something like this:&amp;nbsp;&lt;A href="https://www.esri.com/arcgis-blog/products/arcgis-enterprise/administration/migrate-to-a-new-machine-in-arcgis-enterprise/" target="_blank"&gt;https://www.esri.com/arcgis-blog/products/arcgis-enterprise/administration/migrate-to-a-new-machine-in-arcgis-enterprise/&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;Last step would be to reinstall Enterprise on two new machines and then try to migrate data etc.&lt;BR /&gt;But we'll see. I'll post the final "solution" here, once we're there...&lt;/P&gt;</description>
      <pubDate>Fri, 05 Feb 2021 08:34:28 GMT</pubDate>
      <guid>https://community.esri.com/t5/publishing-and-managing-services-questions/geoproccesingtools-ex-arcsoc-exe-crashes-when/m-p/1023818#M328</guid>
      <dc:creator>MarcusAndersson</dc:creator>
      <dc:date>2021-02-05T08:34:28Z</dc:date>
    </item>
    <item>
      <title>Re: GeoproccesingTools.Ex / ArcSOC.exe crashes when uploading a hosted feature layer from ArcGIS Pro to Enterprise 10.8.1</title>
      <link>https://community.esri.com/t5/publishing-and-managing-services-questions/geoproccesingtools-ex-arcsoc-exe-crashes-when/m-p/1025745#M329</link>
      <description>&lt;P&gt;Update:&lt;/P&gt;&lt;P&gt;Have now performed an in-place upgrade of the OS to Server 2019, which went fine in itself but didn't solve the actual problem. We'll keep running on 2019 since it at least didn't seem to break anything else &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/P&gt;&lt;P&gt;Other things we've done:&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;Created a new site from scratch&lt;/LI&gt;&lt;LI&gt;De- and reinstalled ArcGIS Server&lt;/LI&gt;&lt;LI&gt;Checked for permissions/rights (created a new built in user, not connected to the AD).. Do feel that this path might be worth investigating a bit further though. Does anyone (&amp;nbsp;&lt;a href="https://community.esri.com/t5/user/viewprofilepage/user-id/400739"&gt;@HenryLindemann&lt;/a&gt;&amp;nbsp;?) know if the AppPool or "anyone else" is involved when PublishingToolsEx runs from Pro?&lt;/LI&gt;&lt;LI&gt;Lots of other things but these are the major ones I think..&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;Things we'll check today, or tomorrow is that when upgrading to 10.8.1 the ESRI-technician added a web context url for some reason.. Can't remember why now so well have to check that again. And we'll also check the reverse proxy setups we have, again.&lt;/P&gt;&lt;P&gt;But all input is more than welcome so if you have something that you think might be worth checking, please leave a comment! &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/P&gt;&lt;P&gt;/ Marcus&lt;/P&gt;</description>
      <pubDate>Thu, 11 Feb 2021 07:44:20 GMT</pubDate>
      <guid>https://community.esri.com/t5/publishing-and-managing-services-questions/geoproccesingtools-ex-arcsoc-exe-crashes-when/m-p/1025745#M329</guid>
      <dc:creator>MarcusAndersson</dc:creator>
      <dc:date>2021-02-11T07:44:20Z</dc:date>
    </item>
    <item>
      <title>Re: GeoproccesingTools.Ex / ArcSOC.exe crashes when uploading a hosted feature layer from ArcGIS Pro to Enterprise 10.8.1</title>
      <link>https://community.esri.com/t5/publishing-and-managing-services-questions/geoproccesingtools-ex-arcsoc-exe-crashes-when/m-p/1026188#M330</link>
      <description>&lt;P&gt;Moring&amp;nbsp;&lt;a href="https://community.esri.com/t5/user/viewprofilepage/user-id/262228"&gt;@MarcusAndersson&lt;/a&gt;,&lt;/P&gt;&lt;P&gt;On your question I think yes, the &lt;SPAN&gt;PublishingToolsEx&amp;nbsp;&lt;/SPAN&gt;tool spins up when publishing a GDB, it is not tied to the ArcGIS for Desktop app , I think the&amp;nbsp;&lt;SPAN&gt;PublishingToolsEx&lt;/SPAN&gt;&amp;nbsp;is more a legacy component.&lt;/P&gt;&lt;P&gt;Have you tried to spin up a new vm with a ArcGIS server that is federated and publish to that server? if this works then the corrupted part is definitely with ArcGIS server if it fails then it might be portal.&amp;nbsp;&lt;/P&gt;&lt;P&gt;So usually when I uninstall and re-install and the error persists the corruption is either in program files or in the content.&lt;/P&gt;&lt;P&gt;My &lt;STRONG&gt;last resort&lt;/STRONG&gt; method is as follows, backup the ArcGIS server and program files dir, uninstall and delete the program files ArcGIS &lt;STRONG&gt;C:\Program Files\ArcGIS\Server&lt;/STRONG&gt; , this breaks the link to your existing system but we can recover that.&lt;/P&gt;&lt;P&gt;1.&lt;/P&gt;&lt;P&gt;Rename the&amp;nbsp;arcgisserver dir e.g.&amp;nbsp;arcgisserver_old "the one with the config-store"&lt;/P&gt;&lt;P&gt;Re-Install ArcGIS Server to the same dir.&lt;/P&gt;&lt;P&gt;2.&lt;/P&gt;&lt;P&gt;Now we want to rebuild the links to portal and any data dirs.&lt;/P&gt;&lt;P&gt;go into the backup and copy any folders that are missing in the new system. "only Folders".&lt;/P&gt;&lt;P&gt;Go trough the folders one for one .&lt;/P&gt;&lt;P&gt;the folders are&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;config-store&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;C:\arcgis\arcgisserver\config-store\data\{sub-dirs}\&lt;/P&gt;&lt;P&gt;C:\arcgis\arcgisserver\config-store\security "*special notes see below"&lt;/P&gt;&lt;P&gt;C:\arcgis\arcgisserver\config-store\services&amp;nbsp;"&lt;STRONG&gt;*special notes wait till after&amp;nbsp; fist test"&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;directories&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;do not copy over &lt;STRONG&gt;system&lt;/STRONG&gt; and &lt;STRONG&gt;utilities&lt;/STRONG&gt; form the backup this is internal system folders.&lt;/P&gt;&lt;P&gt;C:\arcgis\arcgisserver\directories\arcgiscache&amp;nbsp;&lt;STRONG&gt;"*special notes wait till after&amp;nbsp; fist test"&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;C:\arcgis\arcgisserver\directories\arcgisjobs&amp;nbsp;&lt;STRONG&gt;"*special notes wait till after&amp;nbsp; fist test"&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;C:\arcgis\arcgisserver\directories\arcgisoutput&amp;nbsp;&lt;STRONG&gt;"*special notes wait till after&amp;nbsp; fist test"&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;C:\arcgis\arcgisserver\directories\arcgissystem\arcgisinput&amp;nbsp;&amp;nbsp;&lt;STRONG&gt;"*special notes wait till after&amp;nbsp; fist test"&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;config-store\data&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="HenryLindemann_0-1613110608566.png" style="width: 400px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/5894iE1C1C11BB8386F47/image-size/medium?v=v2&amp;amp;px=400" role="button" title="HenryLindemann_0-1613110608566.png" alt="HenryLindemann_0-1613110608566.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;drill down and copy folders in the above dirs&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="HenryLindemann_1-1613110716796.png" style="width: 400px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/5895iAB215B3F074D2C79/image-size/medium?v=v2&amp;amp;px=400" role="button" title="HenryLindemann_1-1613110716796.png" alt="HenryLindemann_1-1613110716796.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;config-store\security&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;only copy&amp;nbsp;security-config.json this is the federation and replace the existing file.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="HenryLindemann_2-1613111143282.png" style="width: 400px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/5896i7F88DA2008B331B9/image-size/medium?v=v2&amp;amp;px=400" role="button" title="HenryLindemann_2-1613111143282.png" alt="HenryLindemann_2-1613111143282.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;config-store\services&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;do not copy over &lt;STRONG&gt;system&lt;/STRONG&gt; and &lt;STRONG&gt;utilities&lt;/STRONG&gt; form the backup this is internal system folders.&lt;/P&gt;&lt;P&gt;NB Re-apply the service accounts to the ArcGIS server after the copy process .&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;First Test&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;if everything&amp;nbsp;went well you will have a empty ArcGIS Server that is federated to you system with the existing federation, now do you publishing test on the empty system.&lt;/P&gt;&lt;P&gt;Now I have seen on upgraded systems that misplaced files can land in the content store and cause funny errors that is why we do the first test with no content. if this works then copy the content back and test again if it fails then it is a indication that something is misplaced in the content and if it&amp;nbsp; works great.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Hope it Helps&amp;nbsp;&lt;/P&gt;&lt;P&gt;Henry&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 12 Feb 2021 06:44:54 GMT</pubDate>
      <guid>https://community.esri.com/t5/publishing-and-managing-services-questions/geoproccesingtools-ex-arcsoc-exe-crashes-when/m-p/1026188#M330</guid>
      <dc:creator>HenryLindemann</dc:creator>
      <dc:date>2021-02-12T06:44:54Z</dc:date>
    </item>
    <item>
      <title>Re: GeoproccesingTools.Ex / ArcSOC.exe crashes when uploading a hosted feature layer from ArcGIS Pro to Enterprise 10.8.1</title>
      <link>https://community.esri.com/t5/publishing-and-managing-services-questions/geoproccesingtools-ex-arcsoc-exe-crashes-when/m-p/1026779#M331</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.esri.com/t5/user/viewprofilepage/user-id/400739"&gt;@HenryLindemann&lt;/a&gt;!&lt;/P&gt;&lt;P&gt;Thank you for your answer, once again.&lt;/P&gt;&lt;P&gt;Actually, we've already tried to both use a new machine with a new site and we've also reinstalled ArcGIS Server pretty much to the point of your &lt;EM&gt;last resort&lt;/EM&gt; option, I did it together with a guy from ESRI but we got the same error once more.&amp;nbsp;&lt;/P&gt;&lt;P&gt;The next steps for us will be to step by step together with our IT-provider walk through the system/windows/network settings on the servers and in the firewalls, reverse proxys etc to see if there's something there that has changed or somehow is causing the error. I have a list of stuff that needs to be checked, mostly taken from the system requirements and from the installation documents of Enterprise.&lt;/P&gt;&lt;P&gt;Will let you know when we've found something!&lt;/P&gt;&lt;P&gt;Best regards,&lt;BR /&gt;Marcus&lt;/P&gt;</description>
      <pubDate>Mon, 15 Feb 2021 07:57:47 GMT</pubDate>
      <guid>https://community.esri.com/t5/publishing-and-managing-services-questions/geoproccesingtools-ex-arcsoc-exe-crashes-when/m-p/1026779#M331</guid>
      <dc:creator>MarcusAndersson</dc:creator>
      <dc:date>2021-02-15T07:57:47Z</dc:date>
    </item>
    <item>
      <title>Re: GeoproccesingTools.Ex / ArcSOC.exe crashes when uploading a hosted feature layer from ArcGIS Pro to Enterprise 10.8.1</title>
      <link>https://community.esri.com/t5/publishing-and-managing-services-questions/geoproccesingtools-ex-arcsoc-exe-crashes-when/m-p/1032788#M346</link>
      <description>&lt;P&gt;Update!&lt;/P&gt;&lt;P&gt;I'd thought I should give an update on this since we've done and discovered some new things that might be of interest to others who find themselves in similar situations. Especially since these things seems to have "cured" the site!&amp;nbsp;&lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/P&gt;&lt;P&gt;First of all, we had no real way to go, we thought we had done "all" that we could. Therefor we installed Portal, Server &amp;amp; Data Store on two new virtual machines so we could get a completely fresh start. When that was done, the idea was to use a backup by WebGIS DR from the old, problematic servers to fill the new site and just go from there. But at this stage we discovered that the scheduled backups (WebGIS DR) that had been running weekly on the old site were not complete, the backup files did in fact not contain the data from Data Store (0kb)&amp;nbsp;&lt;span class="lia-unicode-emoji" title=":grimacing_face:"&gt;😬&lt;/span&gt;&amp;nbsp;&lt;BR /&gt;This caused some panic as we now were on an unstable system without complete backups. The last full backup turned out to be from November 2020. (This can be a general word of caution that you don't get an error message if the backups are incomplete, so you'll have to check this yourselves, somehow). However, this pointed us in the direction that something was wrong within the Data Store. We had some thoughts on this earlier on in the troubleshooting but according to ESRI the Data Store and the postgreSQL-database connected to it "should not be touched" and it's really hard to find any info on it at all.&lt;BR /&gt;Since first priority now was to get a working backup of the datastore we and a technician from ESRI now focused our efforts on that. We tried both the ArcGIS tier&amp;nbsp;&lt;A href="https://enterprise.arcgis.com/en/portal/latest/administer/windows/data-store-utility-reference.htm#ESRI_SECTION1_3F745CDA9DCD4B38A8F928CF25B49E78" target="_blank" rel="noopener"&gt;backupdatastore&lt;/A&gt;&amp;nbsp;and the postgreSQL tier pg_dump command but both failed the same way with error message:&lt;/P&gt;&lt;LI-CODE lang="markdown"&gt;pg_dump: error: query returned 0 rows instead of one: SELECT typlen, typinput, typoutput, typreceive, typsend, typmodin, typmodout, typanalyze, typreceive::pg_catalog.oid AS typreceiveoid, typsend::pg_catalog.oid AS typsendoid, typmodin::pg_catalog.oid AS typmodinoid, typmodout::pg_catalog.oid AS typmodoutoid, typanalyze::pg_catalog.oid AS typanalyzeoid, typcategory, typispreferred, typdelim, typbyval, typalign, typstorage, (typcollation &amp;lt;&amp;gt; 0) AS typcollatable, pg_catalog.pg_get_expr(typdefaultbin, 0) AS typdefaultbin, typdefault FROM pg_catalog.pg_type WHERE oid = '1889862'::pg_catalog.oid&lt;/LI-CODE&gt;&lt;P&gt;We took a file copy of the failing Data Store to the new system and connected it to the site to troubleshoot it there instead of live and after some initial tests we tried the &lt;A href="https://www.postgresql.org/docs/12/sql-vacuum.html" target="_blank" rel="noopener"&gt;vacuum&lt;/A&gt;-command. And... this actually seems to have done the trick! Which is also weird in its own way since vacuum is, and has been, performed on a daily basis on the postgreSQL-database already according to the logs. But to do it manually really seems to have healed the Data Store. We tried to do a backup of the Data Store and that now worked, so we decided to perform the same steps in the production environment late last night (after snapshots &amp;amp; file backups were taken). And so far everything seems to be working great! Backups are taked through WebGIS DR and things are running fine&amp;nbsp;&lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt; A bonus to all of this is that the original problem with the publishing of hosted features-errors now seems to have vanished as well..&amp;nbsp;&lt;/P&gt;&lt;P&gt;We still don't know what caused the issue in the first place though which is a bit of a downer. But one hypothesis is that somewhere in November the postgreSQL-database, for whatever reason, crashed and stopped right in the middle of something which then never really got done and caused some error in the DB. This might also explain the erratic behaviour that sometimes it was possible to publish hosted layers but most of the times it gave errors, that when it worked, the faulty lines/parts of the DB were not involved.. But this is just a guess of course. I don't know very much of postgreSQL-databases after all, and one should not need to know much either since ESRI claims that you never should have to touch them. But that was in the end what actually seems to have solved our issues.&lt;/P&gt;&lt;P&gt;We are letting the users test all the operations they'd expect to be working today and to report if they find some suspect behaviour, but so far (~4 hours into the day) everything seems to be working as is should once again!&amp;nbsp;&lt;span class="lia-unicode-emoji" title=":smiling_face_with_sunglasses:"&gt;😎&lt;/span&gt;&lt;/P&gt;&lt;P&gt;Thanks to&amp;nbsp;&lt;a href="https://community.esri.com/t5/user/viewprofilepage/user-id/400739"&gt;@HenryLindemann&lt;/a&gt;&amp;nbsp;for general ideas and thoughts in the thread.&lt;/P&gt;&lt;P&gt;BR,&lt;BR /&gt;Marcus&lt;/P&gt;</description>
      <pubDate>Thu, 04 Mar 2021 09:20:53 GMT</pubDate>
      <guid>https://community.esri.com/t5/publishing-and-managing-services-questions/geoproccesingtools-ex-arcsoc-exe-crashes-when/m-p/1032788#M346</guid>
      <dc:creator>MarcusAndersson</dc:creator>
      <dc:date>2021-03-04T09:20:53Z</dc:date>
    </item>
    <item>
      <title>Re: GeoproccesingTools.Ex / ArcSOC.exe crashes when uploading a hosted feature layer from ArcGIS Pro to Enterprise 10.8.1</title>
      <link>https://community.esri.com/t5/publishing-and-managing-services-questions/geoproccesingtools-ex-arcsoc-exe-crashes-when/m-p/1408113#M1155</link>
      <description>&lt;P&gt;Hi &lt;a href="https://community.esri.com/t5/user/viewprofilepage/user-id/262228"&gt;@MarcusAndersson&lt;/a&gt; ,&lt;/P&gt;&lt;P&gt;I am receiving the "Instance of the service 'System/PublishingToolsEx.GPServer' crashed" error in my server logs when it tries to unpack a replica GDB from a distributed collaboration with ArcGIS Online.&lt;/P&gt;&lt;P&gt;Like you I can publish directly from Pro to this same ArcGIS Servers datastore.&lt;/P&gt;&lt;P&gt;Also like you it appears that WebDR backups result in nothing (see screenshot) - can you confirm this was what happened to you?&lt;/P&gt;&lt;P&gt;Are you saying that if we perform the 'vacuum' command on our datastore it may resolve the issue?&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="ahargreaves_FW_0-1712775586842.png" style="width: 400px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/100625iC53132FAE0D710BA/image-size/medium?v=v2&amp;amp;px=400" role="button" title="ahargreaves_FW_0-1712775586842.png" alt="ahargreaves_FW_0-1712775586842.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 10 Apr 2024 18:59:53 GMT</pubDate>
      <guid>https://community.esri.com/t5/publishing-and-managing-services-questions/geoproccesingtools-ex-arcsoc-exe-crashes-when/m-p/1408113#M1155</guid>
      <dc:creator>ahargreaves_FW</dc:creator>
      <dc:date>2024-04-10T18:59:53Z</dc:date>
    </item>
    <item>
      <title>Re: GeoproccesingTools.Ex / ArcSOC.exe crashes when uploading a hosted feature layer from ArcGIS Pro to Enterprise 10.8.1</title>
      <link>https://community.esri.com/t5/publishing-and-managing-services-questions/geoproccesingtools-ex-arcsoc-exe-crashes-when/m-p/1408909#M1156</link>
      <description>&lt;P&gt;Hi!&lt;/P&gt;&lt;P&gt;Don’t do it easily. I can post a longer answer later today when I’m on a train and have some more time.&lt;/P&gt;&lt;P&gt;Best,&lt;/P&gt;&lt;P&gt;Marcus&lt;/P&gt;</description>
      <pubDate>Fri, 12 Apr 2024 08:50:28 GMT</pubDate>
      <guid>https://community.esri.com/t5/publishing-and-managing-services-questions/geoproccesingtools-ex-arcsoc-exe-crashes-when/m-p/1408909#M1156</guid>
      <dc:creator>MarcusAndersson</dc:creator>
      <dc:date>2024-04-12T08:50:28Z</dc:date>
    </item>
    <item>
      <title>Re: GeoproccesingTools.Ex / ArcSOC.exe crashes when uploading a hosted feature layer from ArcGIS Pro to Enterprise 10.8.1</title>
      <link>https://community.esri.com/t5/publishing-and-managing-services-questions/geoproccesingtools-ex-arcsoc-exe-crashes-when/m-p/1409141#M1157</link>
      <description>&lt;P&gt;Hi again&amp;nbsp;&lt;a href="https://community.esri.com/t5/user/viewprofilepage/user-id/508233"&gt;@ahargreaves_FW&lt;/a&gt;,&lt;/P&gt;&lt;P&gt;Sorry but didn’t get the time really. Not now either, so in short: see this as a last resort. Make sure you have a functioning backup system to switch to before applying it in production since this action is not supported by ESRI.&lt;/P&gt;&lt;P&gt;If you have the time and possibility, I strongly recommend you to contact ESRI support, and perhaps point them to this thread, to discuss other possible sources of error. Look at the logs together and see if you can find and test something else before performing commands on the Postgres-DB.&amp;nbsp;&lt;BR /&gt;Good luck though! Best,&lt;/P&gt;&lt;P&gt;Marcus&lt;/P&gt;</description>
      <pubDate>Fri, 12 Apr 2024 18:30:14 GMT</pubDate>
      <guid>https://community.esri.com/t5/publishing-and-managing-services-questions/geoproccesingtools-ex-arcsoc-exe-crashes-when/m-p/1409141#M1157</guid>
      <dc:creator>MarcusAndersson</dc:creator>
      <dc:date>2024-04-12T18:30:14Z</dc:date>
    </item>
    <item>
      <title>Re: GeoproccesingTools.Ex / ArcSOC.exe crashes when uploading a hosted feature layer from ArcGIS Pro to Enterprise 10.8.1</title>
      <link>https://community.esri.com/t5/publishing-and-managing-services-questions/geoproccesingtools-ex-arcsoc-exe-crashes-when/m-p/1410159#M1158</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.esri.com/t5/user/viewprofilepage/user-id/262228"&gt;@MarcusAndersson&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;This is actually a bug according to esri support. See BUG-000166672. The recommendation was to upgrade to v11.1 until we reminded them that we pay maintenance on a fully supported platform called 10.9.1 which clearly was not tested with collaborations originating from AGOL....&lt;/P&gt;</description>
      <pubDate>Tue, 16 Apr 2024 11:51:14 GMT</pubDate>
      <guid>https://community.esri.com/t5/publishing-and-managing-services-questions/geoproccesingtools-ex-arcsoc-exe-crashes-when/m-p/1410159#M1158</guid>
      <dc:creator>ahargreaves_FW</dc:creator>
      <dc:date>2024-04-16T11:51:14Z</dc:date>
    </item>
  </channel>
</rss>

