<?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: ArcGIS Server - Unable to publish map services - SQL group listener for database in ArcGIS Enterprise Questions</title>
    <link>https://community.esri.com/t5/arcgis-enterprise-questions/arcgis-server-unable-to-publish-map-services-sql/m-p/295783#M11388</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;So, after a bit of troubleshooting with Esri, we found a couple of issues at play:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1)&amp;nbsp;Publishing tool Ex was not started&lt;/P&gt;&lt;P&gt;2)&amp;nbsp;The entry into the dsconnections.lst file was not present for the database registered with the listener name&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regarding Publishing Ex, I believe ArcGIS Server timed-out on recycling this service, which I did not catch, in my own troubleshooting - but it did compound efforts to resolve before realizing it was spooled-down.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The issue with&amp;nbsp;&lt;SPAN&gt;dsconnections.lst&amp;nbsp;is a little more nebulous. After upgrading from 10.3 to 10.6, a quirk must have manifested resulting in database registrations not fully "sticking" e.g. a connection string was added in one&amp;nbsp;dsconnections list (there are two) but not the other, or double adding in one, causing "already registered" messages.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;The Esri rep and I ended-up manually deleting some entries in dsconnections.lst as a form of recovery, and after recycling the ArcGIS Server windows service, it seems database registering began working again, thus allowing the publishing of services again.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;I do not believe the available group listeners had anything to do with it, it just happened to be coincidental. For anyone experiencing this issue, I would recommend de-registering your databases in Manager, recycling the ArcGIS Server windows service, recycling the Publishing and Publishing Ex map services, and then re-registering your db connections. This *should* help!&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 03 May 2018 13:25:40 GMT</pubDate>
    <dc:creator>ChrisSmith7</dc:creator>
    <dc:date>2018-05-03T13:25:40Z</dc:date>
    <item>
      <title>ArcGIS Server - Unable to publish map services - SQL group listener for database</title>
      <link>https://community.esri.com/t5/arcgis-enterprise-questions/arcgis-server-unable-to-publish-map-services-sql/m-p/295776#M11381</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hey guys - need some help!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I'm having an issue where ArcGIS Server will not publish map services sourced to an MS SQL group listener alias. I&amp;nbsp;&lt;STRONG&gt;&lt;EM&gt;can&lt;/EM&gt; &lt;/STRONG&gt;publish the same service when sourced directly to the SQL cluster - same data, same process (x,y event layer), except one publishes without issue, and the other not.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have tried publishing the service using the ArcMap GUI. I've tried saving a service definition draft and staging/uploading using Server Tools. I've tried publishing from within Manager - nothing works when using the group listener. I've also tried manually setting&amp;nbsp;APPLICATIONINTENT and MULTISUBNETFAILOVER as per&amp;nbsp;&lt;A class="link-titled" href="http://desktop.arcgis.com/en/arcmap/latest/manage-data/gdbs-in-sql-server/connections-highly-available-sqlserver.htm#ESRI_SECTION1_5E50B5D9A2F74419B8B790C3912DC840" title="http://desktop.arcgis.com/en/arcmap/latest/manage-data/gdbs-in-sql-server/connections-highly-available-sqlserver.htm#ESRI_SECTION1_5E50B5D9A2F74419B8B790C3912DC840"&gt;Connections to highly available SQL Server databases—Help | ArcGIS Desktop&lt;/A&gt;. I've tried different naming conventions, not immediately starting the service, using different folders, creating new ones, registering the group listener db using different naming conventions, re-applying SQL user perms... nothing works.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I can connect to the instance in ArcCatalog and manipulate/geoprocess in ArcMap without issue... it's the publishing that almost immediately fails:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG __jive_id="400482" class="image-1 jive-image" src="https://community.esri.com/legacyfs/online/400482_pastedImage_4.png" style="width: auto; height: auto;" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;As per recommendation, I've added perms to every directory I've run across related to ArcGIS/Esri -&lt;STRONG&gt; I have no problems publishing other services, just ones related to the group listener.&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I noticed others have had issues connecting -&amp;nbsp;&lt;A href="https://community.esri.com/thread/112187"&gt;Group listener for Database is not connecting&lt;/A&gt;&amp;nbsp; - again, I have no issues from connecting from within ArcMap - just with publishing.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I've spun down all services, restarted Publishing Tools, recycled the ArcGIS Server Windows Services process, restarted the server, restarted the Web Adaptor server, adjusted min/max processes in Manager for each service... nothing works.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Here's some server logs that may help from around the time processing failed... I bolded some of the things that looked interesting and found some stuff on Geonet, but nothing conclusive. Keep in mind, this is from multiple attempts back-to-back... I think I was loading from manager at the time and tried to publish a few times after failing:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;BLOCKQUOTE class="jive_macro_quote jive-quote jive_text_macro"&gt;&lt;P&gt;SEVERE Apr 3, 2018, 9:49:18 AM Error executing tool. Publish Service Definition Job ID: j8bbd31a22a804aa39ea8f9d769a0e30c System/PublishingTools.GPServer&lt;BR /&gt;SEVERE Apr 3, 2018, 9:49:18 AM Error executing tool. Publish Service Definition Job ID: j8bbd31a22a804aa39ea8f9d769a0e30c : ERROR 001360: Failed to get basic item metadata for service definition upload. ERROR 001362: Failed to extract manifest from uploaded service definition. Failed to execute (Publish Service Definition). System/PublishingTools.GPServer&lt;BR /&gt;SEVERE Apr 3, 2018, 9:49:18 AM Failed to extract manifest from uploaded service definition. System/PublishingTools.GPServer&lt;BR /&gt;SEVERE Apr 3, 2018, 9:49:18 AM Failed to get basic item metadata for service definition upload.: ERROR: code:404, Could not find resource or operation 'i6d8d0dff-1297-4b6f-a71c-4c90a7463298' on the system. No resource could be found at that address. System/PublishingTools.GPServer&lt;BR /&gt;SEVERE Apr 3, 2018, 9:49:14 AM Error executing tool. Publish Service Definition Job ID: je029c3ad0688414592aff0969b65a73v System/PublishingTools.GPServer&lt;BR /&gt;SEVERE Apr 3, 2018, 9:49:14 AM Error executing tool. Publish Service Definition Job ID: je029c3ad0688414592aff0969b65a73v : ERROR 001360: Failed to get basic item metadata for service definition upload. ERROR 001362: Failed to extract manifest from uploaded service definition. Failed to execute (Publish Service Definition). System/PublishingTools.GPServer&lt;BR /&gt;&lt;STRONG&gt;SEVERE Apr 3, 2018, 9:49:14 AM Failed to extract manifest from uploaded service definition. System/PublishingTools.GPServer&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG&gt;SEVERE Apr 3, 2018, 9:49:14 AM Failed to get basic item metadata for service definition upload.: ERROR: code:404, Could not find resource or operation 'i6d8d0dff-1297-4b6f-a71c-4c90a7463298' on the system. No resource could be found at that address. System/PublishingTools.GPServer&lt;/STRONG&gt;&lt;BR /&gt;SEVERE Apr 3, 2018, 9:49:11 AM Error executing tool. Publish Service Definition Job ID: j655e3bccf3ee497f876nn76c7c4b4f5b System/PublishingTools.GPServer&lt;BR /&gt;SEVERE Apr 3, 2018, 9:49:11 AM Error executing tool. Publish Service Definition Job ID: j655e3bccf3ee497f876nn76c7c4b4f5b : ERROR 001360: Failed to get basic item metadata for service definition upload. ERROR 001362: Failed to extract manifest from uploaded service definition. Failed to execute (Publish Service Definition). System/PublishingTools.GPServer&lt;BR /&gt;SEVERE Apr 3, 2018, 9:49:11 AM Failed to extract manifest from uploaded service definition. System/PublishingTools.GPServer&lt;BR /&gt;SEVERE Apr 3, 2018, 9:49:11 AM Failed to get basic item metadata for service definition upload.: ERROR: code:404, Could not find resource or operation 'i6d8d0dff-1297-4b6f-a71c-4c90a7463298' on the system. No resource could be found at that address. System/PublishingTools.GPServer&lt;BR /&gt;SEVERE Apr 3, 2018, 9:49:07 AM Error executing tool. Publish Service Definition Job ID: jfa1c4220fb794068be1yu7b29713aa55 System/PublishingTools.GPServer&lt;BR /&gt;SEVERE Apr 3, 2018, 9:49:07 AM Error executing tool. Publish Service Definition Job ID: jfa1c4220fb794068be1yu7b29713aa55 : ERROR 001487: Failed to update the published service with the server-side data location. Please see the server's log for more details. ERROR 001369: Failed to create the service. Failed to execute (Publish Service Definition). System/PublishingTools.GPServer&lt;BR /&gt;&lt;STRONG&gt;SEVERE Apr 3, 2018, 9:49:07 AM Failed to create the service.: Updating the server connection string for layer MY_MAP_DB.MAPUSER_MY_MAP_DB.%tbl_map_AGV_1 failed. Attempted connection string was ENCRYPTED_PASSWORD=MY_ENCRYPTED_PASSWORD;SERVER=AGXXXXXXX;INSTANCE="DSID=e851aec4-00c2-4795-87e6-n6f2652552b7";DBCLIENT=sqlserver;DB_CONNECTION_PROPERTIES=AGXXXXXXX,1031;DATABASE=MY_MAP_DB;USER=MapUser_MY_MAP_DB;AUTHENTICATION_MODE=DBMS. Table name is MY_MAP_DB.MAPUSER_MY_MAP_DB.%tbl_map_1. Please verify the data exists on the server. System/PublishingTools.GPServer&lt;/STRONG&gt;&lt;BR /&gt;SEVERE Apr 3, 2018, 9:49:07 AM DoAfterSDExtraction failed. System/PublishingTools.GPServer&lt;BR /&gt;&lt;STRONG&gt;SEVERE Apr 3, 2018, 9:49:07 AM SwizzleService failed. System/PublishingTools.GPServer&lt;/STRONG&gt;&lt;BR /&gt;SEVERE Apr 3, 2018, 9:48:42 AM Error executing tool. Publish Service Definition Job ID: j16h4ce5d483946b29e28e20j2360c3d7 System/PublishingTools.GPServer&lt;BR /&gt;SEVERE Apr 3, 2018, 9:48:42 AM Error executing tool. Publish Service Definition Job ID: j16h4ce5d483946b29e28e20j2360c3d7 : ERROR 001360: Failed to get basic item metadata for service definition upload. ERROR 001362: Failed to extract manifest from uploaded service definition. Failed to execute (Publish Service Definition). System/PublishingTools.GPServer&lt;BR /&gt;&lt;STRONG&gt;SEVERE Apr 3, 2018, 9:48:42 AM Failed to extract manifest from uploaded service definition. System/PublishingTools.GPServer&lt;/STRONG&gt;&lt;BR /&gt;SEVERE Apr 3, 2018, 9:48:42 AM Failed to get basic item metadata for service definition upload.: ERROR: code:404, Could not find resource or operation 'i8baadf8d-6f3f-44b3-8de9-814e1b6b9315' on the system. No resource could be found at that address. System/PublishingTools.GPServer&lt;BR /&gt;SEVERE Apr 3, 2018, 9:48:38 AM Error executing tool. Publish Service Definition Job ID: ja20l40af8ee489fe9146479e8153a213 System/PublishingTools.GPServer&lt;BR /&gt;SEVERE Apr 3, 2018, 9:48:38 AM Error executing tool. Publish Service Definition Job ID: ja20l40af8ee489fe9146479e8153a213 : ERROR 001487: Failed to update the published service with the server-side data location. Please see the server's log for more details. ERROR 001369: Failed to create the service. Failed to execute (Publish Service Definition). System/PublishingTools.GPServer&lt;BR /&gt;&lt;STRONG&gt;SEVERE Apr 3, 2018, 9:48:38 AM Failed to create the service.: Updating the server connection string for layer MY_MAP_DB.MAPUSER_MY_MAP_DB.%tbl_map_AGV_1 failed. Attempted connection string was ENCRYPTED_PASSWORD=MY_ENCRYPTED_PASSWORD;SERVER=AGXXXXXXX;INSTANCE="DSID=e851aec4-00c2-4795-87e6-n6f2652552b7";DBCLIENT=sqlserver;DB_CONNECTION_PROPERTIES=AGXXXXXXX,1031;DATABASE=MY_MAP_DB;USER=MapUser_MY_MAP_DB;AUTHENTICATION_MODE=DBMS. Table name is MY_MAP_DB.MAPUSER_MY_MAP_DB.%&lt;SPAN style="background-color: #f6f6f6;"&gt;&lt;STRONG&gt;tbl_map_1&lt;/STRONG&gt;&lt;/SPAN&gt;. Please verify the data exists on the server. System/PublishingTools.GPServer&lt;/STRONG&gt;&lt;BR /&gt;SEVERE Apr 3, 2018, 9:48:38 AM DoAfterSDExtraction failed. System/PublishingTools.GPServer&lt;BR /&gt;&lt;STRONG&gt;SEVERE Apr 3, 2018, 9:48:38 AM SwizzleService failed. System/PublishingTools.GPServer&lt;/STRONG&gt;&lt;BR /&gt;SEVERE Apr 3, 2018, 9:47:48 AM Error executing tool. Publish Service Definition Job ID: jd42c6ele01384ffca5089facv0e0fd01 System/PublishingTools.GPServer&lt;BR /&gt;SEVERE Apr 3, 2018, 9:47:48 AM Error executing tool. Publish Service Definition Job ID: jd42c6ele01384ffca5089facv0e0fd01 : ERROR 001487: Failed to update the published service with the server-side data location. Please see the server's log for more details. ERROR 001369: Failed to create the service. Failed to execute (Publish Service Definition). System/PublishingTools.GPServer&lt;BR /&gt;&lt;STRONG&gt;SEVERE Apr 3, 2018, 9:47:48 AM Failed to create the service.: Updating the server connection string for layer MY_MAP_DB.MAPUSER_MY_MAP_DB.%tbl_map_AGV_1 failed. Attempted connection string was ENCRYPTED_PASSWORD=MY_ENCRYPTED_PASSWORD;SERVER=AGXXXXXXX;INSTANCE="DSID=e851aec4-00c2-4795-87e6-n6f2652552b7";DBCLIENT=sqlserver;DB_CONNECTION_PROPERTIES=AGXXXXXXX,1031;DATABASE=MY_MAP_DB;USER=MapUser_MY_MAP_DB;AUTHENTICATION_MODE=DBMS. Table name is MY_MAP_DB.MAPUSER_MY_MAP_DB.%&lt;SPAN style="background-color: #f6f6f6;"&gt;&lt;STRONG&gt;tbl_map_1&lt;/STRONG&gt;&lt;/SPAN&gt;. Please verify the data exists on the server. System/PublishingTools.GPServer&lt;/STRONG&gt;&lt;BR /&gt;SEVERE Apr 3, 2018, 9:47:48 AM DoAfterSDExtraction failed. System/PublishingTools.GPServer&lt;BR /&gt;S&lt;STRONG&gt;EVERE Apr 3, 2018, 9:47:48 AM SwizzleService failed. System/PublishingTools.GPServer&lt;/STRONG&gt;&lt;BR /&gt;WARNING Apr 3, 2018, 9:47:34 AM Unable to process request. json Rest&lt;BR /&gt;WARNING Apr 3, 2018, 9:47:20 AM Unable to process request. json Rest&lt;BR /&gt;SEVERE Apr 3, 2018, 9:47:06 AM Error executing tool. PublishServiceDefinition Job ID: j72e65h16b9c2402e910sep8cfc6c152n System/PublishingTools.GPServer&lt;BR /&gt;SEVERE Apr 3, 2018, 9:47:06 AM Error executing tool. PublishServiceDefinition Job ID: j72e65h16b9c2402e910sep8cfc6c152n : ERROR 001487: Failed to update the published service with the server-side data location. Please see the server's log for more details. ERROR 001369: Failed to create the service. Failed to execute (Publish Service Definition). System/PublishingTools.GPServer&lt;BR /&gt;&lt;STRONG&gt;SEVERE Apr 3, 2018, 9:47:06 AM Failed to create the service.: Updating the server connection string for layer MY_MAP_DB.MAPUSER_MY_MAP_DB.%tbl_map_AGV_1 failed. Attempted connection string was ENCRYPTED_PASSWORD=MY_ENCRYPTED_PASSWORD;SERVER=AGXXXXXXX;INSTANCE="DSID=e851aec4-00c2-4795-87e6-n6f2652552b7";DBCLIENT=sqlserver;DB_CONNECTION_PROPERTIES=AGXXXXXXX,1031;DATABASE=MY_MAP_DB;USER=MapUser_MY_MAP_DB;AUTHENTICATION_MODE=DBMS. Table name is MY_MAP_DB.MAPUSER_MY_MAP_DB.%&lt;SPAN style="background-color: #f6f6f6;"&gt;&lt;STRONG&gt;tbl_map_1&lt;/STRONG&gt;&lt;/SPAN&gt;. Please verify the data exists on the server. System/PublishingTools.GPServer&lt;/STRONG&gt;&lt;BR /&gt;SEVERE Apr 3, 2018, 9:47:06 AM DoAfterSDExtraction failed. System/PublishingTools.GPServer&lt;BR /&gt;&lt;STRONG&gt;SEVERE Apr 3, 2018, 9:47:06 AM SwizzleService failed. System/PublishingTools.GPServer&lt;/STRONG&gt;&lt;BR /&gt;WARNING Apr 3, 2018, 9:43:58 AM Unable to process request. json Rest&lt;BR /&gt;WARNING Apr 3, 2018, 9:42:43 AM Unable to process request. json Rest&lt;BR /&gt;WARNING Apr 3, 2018, 9:41:09 AM Unable to process request. json Rest&lt;BR /&gt;WARNING Apr 3, 2018, 9:39:52 AM Unable to process request. json Rest&lt;BR /&gt;WARNING Apr 3, 2018, 9:39:24 AM Unable to process request. json Rest&lt;BR /&gt;WARNING Apr 3, 2018, 9:36:08 AM Unable to process request. json Rest&lt;BR /&gt;SEVERE Apr 3, 2018, 9:29:14 AM Error executing tool. PublishServiceDefinition Job ID: jc5be0a81lb174eca8e2820fx0eda233k System/PublishingTools.GPServer&lt;BR /&gt;SEVERE Apr 3, 2018, 9:29:14 AM Error executing tool. PublishServiceDefinition Job ID: jc5be0a81lb174eca8e2820fx0eda233k : ERROR 001487: Failed to update the published service with the server-side data location. Please see the server's log for more details. ERROR 001369: Failed to create the service. Failed to execute (Publish Service Definition). System/PublishingTools.GPServer&lt;BR /&gt;&lt;STRONG&gt;SEVERE Apr 3, 2018, 9:29:14 AM Failed to create the service.: Updating the server connection string for layer MY_MAP_DB.MAPUSER_MY_MAP_DB.%tbl_map_AGV_1 failed. Attempted connection string was ENCRYPTED_PASSWORD=MY_ENCRYPTED_PASSWORD;SERVER=AGXXXXXXX;INSTANCE="DSID=e851aec4-00c2-4795-87e6-n6f2652552b7";DBCLIENT=sqlserver;DB_CONNECTION_PROPERTIES=AGXXXXXXX,1031;DATABASE=MY_MAP_DB;USER=MapUser_MY_MAP_DB;AUTHENTICATION_MODE=DBMS. Table name is MY_MAP_DB.MAPUSER_MY_MAP_DB.%&lt;SPAN style="background-color: #f6f6f6;"&gt;&lt;STRONG&gt;tbl_map_1&lt;/STRONG&gt;&lt;/SPAN&gt;. Please verify the data exists on the server. System/PublishingTools.GPServer&lt;/STRONG&gt;&lt;BR /&gt;SEVERE Apr 3, 2018, 9:29:14 AM DoAfterSDExtraction failed. System/PublishingTools.GPServer&lt;BR /&gt;&lt;STRONG&gt;SEVERE Apr 3, 2018, 9:29:14 AM SwizzleService failed. System/PublishingTools.GPServer&lt;/STRONG&gt;&lt;/P&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Also, the GP error output:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;BLOCKQUOTE class="jive_macro_quote jive-quote jive_text_macro"&gt;&lt;P&gt;Executing: UploadServiceDefinition "C:\Users\me\AppData\Local\ESRI\Desktop10.6\Staging\arcgis on gisserver_6443 (admin)\TEST_SERVICE_3.sd" "C:\Users\me\AppData\Roaming\Esri\Desktop10.6\ArcCatalog\arcgis on gisserver_6443 (admin)" # # FROM_SERVICE_DEFINITION # STARTED USE_DEFINITION NO_SHARE_ONLINE PRIVATE NO_SHARE_ORGANIZATION #&lt;BR /&gt;Start Time: Tue Apr 3 09:47:04 2018&lt;BR /&gt;Submitted.&lt;BR /&gt;Executing...&lt;BR /&gt;Failed.&lt;BR /&gt;ERROR: the server's publishing job didn't succeed.&lt;BR /&gt;Failed to execute (UploadServiceDefinition).&lt;BR /&gt;Failed at Tue Apr 3 09:47:06 2018 (Elapsed Time: 2.29 seconds)&lt;/P&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;And, some info on my set-up:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;ArcGIS Server 10.6&lt;/LI&gt;&lt;LI&gt;ArcGIS Server Web Adaptor 10.6&lt;/LI&gt;&lt;LI&gt;Windows Server 2012 r2&lt;/LI&gt;&lt;LI&gt;MS SQL Server 2012 r2&lt;/LI&gt;&lt;LI&gt;64 gb memory (usually, about 30 free)&lt;/LI&gt;&lt;LI&gt;CPU cycles look good&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Ever since upgrading to 10.6, the stability I enjoyed with 10.3 has gone down the tube - it's very frustrating... from McAfee conflicts to difficulties in publishing and more! I hope Esri patches this, soon! As I understand, some very deep things under the hood changed in 10.6; maybe it's rearing its ugly head now.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 03 Apr 2018 15:41:16 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-enterprise-questions/arcgis-server-unable-to-publish-map-services-sql/m-p/295776#M11381</guid>
      <dc:creator>ChrisSmith7</dc:creator>
      <dc:date>2018-04-03T15:41:16Z</dc:date>
    </item>
    <item>
      <title>Re: ArcGIS Server - Unable to publish map services - SQL group listener for database</title>
      <link>https://community.esri.com/t5/arcgis-enterprise-questions/arcgis-server-unable-to-publish-map-services-sql/m-p/295777#M11382</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Oh, something I forgot to add - I tried publishing using fully a qualified domain as well:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;arcgis on gis001_6443 (admin)&lt;/LI&gt;&lt;LI&gt;arcgis on gis002.mydummydomain.com (admin)&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="https://community.esri.com/migrated-users/2621"&gt;George Thompson&lt;/A&gt;, any ideas? Adding -&amp;nbsp;&lt;A _jive_internal="true" class="" data-containerid="17" data-containertype="-2" data-objectid="1516" data-objecttype="700" href="https://community.esri.com/groups/enterprise-architect/activity" style="color: #287433; background-color: #ffffff; border: 0px; padding: 1px 0px 1px calc(12px + 0.35ex);"&gt;Enterprise Architect&lt;/A&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 03 Apr 2018 15:55:56 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-enterprise-questions/arcgis-server-unable-to-publish-map-services-sql/m-p/295777#M11382</guid>
      <dc:creator>ChrisSmith7</dc:creator>
      <dc:date>2018-04-03T15:55:56Z</dc:date>
    </item>
    <item>
      <title>Re: ArcGIS Server - Unable to publish map services - SQL group listener for database</title>
      <link>https://community.esri.com/t5/arcgis-enterprise-questions/arcgis-server-unable-to-publish-map-services-sql/m-p/295778#M11383</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I have not tested at 10.6 and am unsure. It looks like in the logs that the PublishingGP Service did not restart? Is that accurate?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 03 Apr 2018 16:12:21 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-enterprise-questions/arcgis-server-unable-to-publish-map-services-sql/m-p/295778#M11383</guid>
      <dc:creator>George_Thompson</dc:creator>
      <dc:date>2018-04-03T16:12:21Z</dc:date>
    </item>
    <item>
      <title>Re: ArcGIS Server - Unable to publish map services - SQL group listener for database</title>
      <link>https://community.esri.com/t5/arcgis-enterprise-questions/arcgis-server-unable-to-publish-map-services-sql/m-p/295779#M11384</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I was able to recycle the&amp;nbsp;&lt;SPAN style="background-color: #ffffff;"&gt;PublishingGP service - it's up and running, and I've confirmed by deploying a couple of small, non-SQL services (pushing data directly to the server).&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 03 Apr 2018 16:23:55 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-enterprise-questions/arcgis-server-unable-to-publish-map-services-sql/m-p/295779#M11384</guid>
      <dc:creator>ChrisSmith7</dc:creator>
      <dc:date>2018-04-03T16:23:55Z</dc:date>
    </item>
    <item>
      <title>Re: ArcGIS Server - Unable to publish map services - SQL group listener for database</title>
      <link>https://community.esri.com/t5/arcgis-enterprise-questions/arcgis-server-unable-to-publish-map-services-sql/m-p/295780#M11385</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I wonder if the % sign in the table name &lt;STRONG&gt;MY_MAP_DB.MAPUSER_MY_MAP_DB.%tbl_map_AGV_1 &lt;/STRONG&gt;is a problem:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Failed to create the service.: Updating the server connection string for layer &lt;STRONG&gt;MY_MAP_DB.MAPUSER_MY_MAP_DB.%tbl_map_AGV_1&lt;/STRONG&gt; failed. Attempted connection string was ENCRYPTED_PASSWORD=MY_ENCRYPTED_PASSWORD;SERVER=AG31XXXXX;INSTANCE="DSID=e851aec4-00c2-4795-87e6-n6f2652552b7";DBCLIENT=sqlserver;DB_CONNECTION_PROPERTIES=AG31XXXXX,1031;DATABASE=MY_MAP_DB;USER=MapUser_MY_MAP_DB;AUTHENTICATION_MODE=DBMS. Table name is &lt;STRONG&gt;MY_MAP_DB.MAPUSER_MY_MAP_DB.%tbl_map_1&lt;/STRONG&gt;. Please verify the data exists on the server. System/PublishingTools.GPServer&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Does it work if it isn't an XY Event layer?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 03 Apr 2018 16:34:21 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-enterprise-questions/arcgis-server-unable-to-publish-map-services-sql/m-p/295780#M11385</guid>
      <dc:creator>JonathanQuinn</dc:creator>
      <dc:date>2018-04-03T16:34:21Z</dc:date>
    </item>
    <item>
      <title>Re: ArcGIS Server - Unable to publish map services - SQL group listener for database</title>
      <link>https://community.esri.com/t5/arcgis-enterprise-questions/arcgis-server-unable-to-publish-map-services-sql/m-p/295781#M11386</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Those were added by ArcGIS when&amp;nbsp;dragging over from ArcCatalog. Adding within ArcMap, the % sign is not present, but the issue still occurs. I can still publish hitting the SQL cluster directly with % signs as well - that doesn't appear to be the issue.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;What are your recommendation for trying something other than an XY Event Layer? I tried as a query layer, but, while it completes successfully, ArcMap doesn't want to add the object to the TOC, so I am unable to attempt a service creation. Unfortunately, I must use XY event layer as certain architectural decisions have been made precluding the usage of native spatial datatypes in SQL (for now).&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 03 Apr 2018 18:51:37 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-enterprise-questions/arcgis-server-unable-to-publish-map-services-sql/m-p/295781#M11386</guid>
      <dc:creator>ChrisSmith7</dc:creator>
      <dc:date>2018-04-03T18:51:37Z</dc:date>
    </item>
    <item>
      <title>Re: ArcGIS Server - Unable to publish map services - SQL group listener for database</title>
      <link>https://community.esri.com/t5/arcgis-enterprise-questions/arcgis-server-unable-to-publish-map-services-sql/m-p/295782#M11387</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I found another thread with similar issues, particularly with XY event layers:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="https://community.esri.com/thread/177553"&gt;Unable to publish map service with data in enterprise database using Server 10.4&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;And some patches for earlier versions (I'm using 10.6, however):&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A class="link-titled" href="https://support.esri.com/bugs/nimbus/QlVHLTAwMDA5NjI5Mg==" title="https://support.esri.com/bugs/nimbus/QlVHLTAwMDA5NjI5Mg=="&gt;BUG-000096292: When the database view is joined to a definition que..&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A class="link-titled" href="https://support.esri.com/en/download/7479#bugs" title="https://support.esri.com/en/download/7479#bugs"&gt;ArcGIS Server 10.4.1 Publishing Patch 2&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="https://community.esri.com/thread/181345"&gt;ArcGIS for Server Publishing Patch for 10.4.0 &amp;amp;amp; 10.4.1 &lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Seems this has been an issue before... I have an open ticket with Esri and will communicate any resolutions with the group. Since some fundamentals have changed under the hood in 10.6, I'm wondering if this fix was missed porting to the new version. It's a theory, at least!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Also, for those who are unaware, here's the Microsoft write-up on group listeners:&lt;/P&gt;&lt;BLOCKQUOTE class="jive_macro_quote jive-quote jive_text_macro"&gt;&lt;H2 class="" style="color: #000000; background-color: #ffffff; font-weight: 300; font-size: 1.75rem; margin-top: 32px; margin-bottom: 12px;"&gt;Availability Group Listeners&lt;/H2&gt;&lt;P class="" data-lf-anchor-id="89e06d0dcfd32ea031899e4747416271:0" style="color: #000000; background-color: #ffffff; margin-top: 1rem; padding-right: 25px !important;"&gt;You can provide client connectivity to the database of a given availability group by creating an availability group listener. An availability group listener is a virtual network name (VNN) to which clients can connect in order to access a database in a primary or secondary replica of an Always On availability group. An availability group listener enables a client to connect to an availability replica without knowing the name of the physical instance of SQL Server to which the client is connecting. The client connection string does not need to be modified to connect to the current location of the current primary replica.&lt;SPAN class=""&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P class="" data-lf-anchor-id="929d6d3dcd7b24b031c993c267536375:0" style="color: #000000; background-color: #ffffff; margin-top: 1rem; padding-right: 25px !important;"&gt;An availability group listener consists of a Domain Name System (DNS) listener name, listener port designation, and one or more IP addresses. Only the TCP protocol is supported by availability group listener. The DNS name of the listener must also be unique in the domain and in NetBIOS. When you create a new availability group listener it becomes a resource in a cluster with an associated virtual network name (VNN), virtual IP (VIP), and availability group dependency. A client uses DNS to resolve the VNN into multiple IP addresses and then tries to connect to each address, until a connection request succeeds or until the connection requests time out.&lt;SPAN class=""&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P class="" data-lf-anchor-id="a94c7c15d56982e682c99d83554d6772:0" style="color: #000000; background-color: #ffffff; margin-top: 1rem; padding-right: 25px !important;"&gt;If read-only routing is configured for one or more&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;A data-linktype="relative-path" href="https://docs.microsoft.com/en-us/sql/database-engine/availability-groups/windows/active-secondaries-readable-secondary-replicas-always-on-availability-groups" style="color: #0078d7; background-color: transparent; text-decoration: underline;"&gt;readable secondary replicas&lt;/A&gt;, read-intent client connections to the primary replica are redirected to a readable secondary replica. Also, if the primary replica goes offline on one instance of SQL Server, and a new primary replica comes online on another instance of SQL Server, the availability group listener enables clients to connect to the new primary replica.&lt;SPAN class=""&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P class="" data-lf-anchor-id="da1e691e8b4b89a08fc91e57578d0a6d:0" style="color: #000000; background-color: #ffffff; margin-top: 1rem; padding-right: 25px !important;"&gt;For essential information about availability group listeners, see&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;A data-linktype="relative-path" href="https://docs.microsoft.com/en-us/sql/database-engine/availability-groups/windows/create-or-configure-an-availability-group-listener-sql-server" style="color: #0078d7; background-color: transparent; text-decoration: underline;"&gt;Create or Configure an Availability Group Listener (SQL Server)&lt;/A&gt;.&lt;/P&gt;&lt;/BLOCKQUOTE&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 04 Apr 2018 14:32:19 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-enterprise-questions/arcgis-server-unable-to-publish-map-services-sql/m-p/295782#M11387</guid>
      <dc:creator>ChrisSmith7</dc:creator>
      <dc:date>2018-04-04T14:32:19Z</dc:date>
    </item>
    <item>
      <title>Re: ArcGIS Server - Unable to publish map services - SQL group listener for database</title>
      <link>https://community.esri.com/t5/arcgis-enterprise-questions/arcgis-server-unable-to-publish-map-services-sql/m-p/295783#M11388</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;So, after a bit of troubleshooting with Esri, we found a couple of issues at play:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1)&amp;nbsp;Publishing tool Ex was not started&lt;/P&gt;&lt;P&gt;2)&amp;nbsp;The entry into the dsconnections.lst file was not present for the database registered with the listener name&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regarding Publishing Ex, I believe ArcGIS Server timed-out on recycling this service, which I did not catch, in my own troubleshooting - but it did compound efforts to resolve before realizing it was spooled-down.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The issue with&amp;nbsp;&lt;SPAN&gt;dsconnections.lst&amp;nbsp;is a little more nebulous. After upgrading from 10.3 to 10.6, a quirk must have manifested resulting in database registrations not fully "sticking" e.g. a connection string was added in one&amp;nbsp;dsconnections list (there are two) but not the other, or double adding in one, causing "already registered" messages.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;The Esri rep and I ended-up manually deleting some entries in dsconnections.lst as a form of recovery, and after recycling the ArcGIS Server windows service, it seems database registering began working again, thus allowing the publishing of services again.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;I do not believe the available group listeners had anything to do with it, it just happened to be coincidental. For anyone experiencing this issue, I would recommend de-registering your databases in Manager, recycling the ArcGIS Server windows service, recycling the Publishing and Publishing Ex map services, and then re-registering your db connections. This *should* help!&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 03 May 2018 13:25:40 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-enterprise-questions/arcgis-server-unable-to-publish-map-services-sql/m-p/295783#M11388</guid>
      <dc:creator>ChrisSmith7</dc:creator>
      <dc:date>2018-05-03T13:25:40Z</dc:date>
    </item>
  </channel>
</rss>

