<?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 Failed to Connect to Database Server Error, Add Database Server help in Data Management Questions</title>
    <link>https://community.esri.com/t5/data-management-questions/failed-to-connect-to-database-server-error-add/m-p/386885#M22185</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hello,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I am at wits end.&amp;nbsp; I installed SQL Express Server (Workgroup) on our server (RTA-GIS).&amp;nbsp; However on my local computer through ArcCatalog Add Database Server , I cannot connect to SQL Server and I get the error:&amp;nbsp; Register Database Server: Cannot connect to the database server, Failed to connect to the database server. Operation is not allowed when the object is open.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I have followed the installation instructions of SQL Server Express to a 'T'.&amp;nbsp; I have installed and run SQL Server Management Studio, and have made sure I can connect remotely, all TCP Ports and Pipes are enabled, All services are started (except SQL Server Agent - I cannot get that one to start).&amp;nbsp; Pretty much I have tried every trick and tried every tip and nothing has worked.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 20 Jul 2012 13:51:14 GMT</pubDate>
    <dc:creator>ClintonCooper1</dc:creator>
    <dc:date>2012-07-20T13:51:14Z</dc:date>
    <item>
      <title>Failed to Connect to Database Server Error, Add Database Server help</title>
      <link>https://community.esri.com/t5/data-management-questions/failed-to-connect-to-database-server-error-add/m-p/386885#M22185</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hello,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I am at wits end.&amp;nbsp; I installed SQL Express Server (Workgroup) on our server (RTA-GIS).&amp;nbsp; However on my local computer through ArcCatalog Add Database Server , I cannot connect to SQL Server and I get the error:&amp;nbsp; Register Database Server: Cannot connect to the database server, Failed to connect to the database server. Operation is not allowed when the object is open.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I have followed the installation instructions of SQL Server Express to a 'T'.&amp;nbsp; I have installed and run SQL Server Management Studio, and have made sure I can connect remotely, all TCP Ports and Pipes are enabled, All services are started (except SQL Server Agent - I cannot get that one to start).&amp;nbsp; Pretty much I have tried every trick and tried every tip and nothing has worked.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 20 Jul 2012 13:51:14 GMT</pubDate>
      <guid>https://community.esri.com/t5/data-management-questions/failed-to-connect-to-database-server-error-add/m-p/386885#M22185</guid>
      <dc:creator>ClintonCooper1</dc:creator>
      <dc:date>2012-07-20T13:51:14Z</dc:date>
    </item>
    <item>
      <title>Re: Failed to Connect to Database Server Error, Add Database Server help</title>
      <link>https://community.esri.com/t5/data-management-questions/failed-to-connect-to-database-server-error-add/m-p/386886#M22186</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hi Clinton,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Have you tried using the port number for the SQL Server Express instance within ArcCatalog Database Server connection?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;- goto SQL Server Configuration Manager, check TCP/IP dynamic port number that you have used for your current SQL Server Express instance, for example, in IPALL if you see the TCP Dynamic Ports as 8774.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;- then from ArcCatalog, add Database Server as following: &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp; sqlserver_machine_name,8774&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Ben&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 23 Jul 2012 22:38:43 GMT</pubDate>
      <guid>https://community.esri.com/t5/data-management-questions/failed-to-connect-to-database-server-error-add/m-p/386886#M22186</guid>
      <dc:creator>BenLin</dc:creator>
      <dc:date>2012-07-23T22:38:43Z</dc:date>
    </item>
    <item>
      <title>Re: Failed to Connect to Database Server Error, Add Database Server help</title>
      <link>https://community.esri.com/t5/data-management-questions/failed-to-connect-to-database-server-error-add/m-p/386887#M22187</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Ben,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks for the response.&amp;nbsp; That's been helpful to me, as I was getting the same issue.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Mark&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 09 Jul 2013 19:32:29 GMT</pubDate>
      <guid>https://community.esri.com/t5/data-management-questions/failed-to-connect-to-database-server-error-add/m-p/386887#M22187</guid>
      <dc:creator>MarkNorbury</dc:creator>
      <dc:date>2013-07-09T19:32:29Z</dc:date>
    </item>
    <item>
      <title>Re: Failed to Connect to Database Server Error, Add Database Server help</title>
      <link>https://community.esri.com/t5/data-management-questions/failed-to-connect-to-database-server-error-add/m-p/386888#M22188</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I ran into a similar issue on my end and wanted to add some information in the event that someone has my experience. In my case, I had ArcMap opened when I installed SQL Express workgroup as part of the 'Database Server Workgroup' installation (this was for ArcGIS 10.4.1; however, I suspect that this feedback applies to probably most versions).&amp;nbsp; After the installation, I tried to connect ArcMap to SQL Express using the database server, but received the same error message being reported in this thread.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I navigated to the TCP Dynamic Port and there was no special port number assigned (the default 1433 was being used as reported by documentation I found online for figuring out how to find the TCP information).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;After a bit of time, I tried closing ArcMap and re-opening it (thinking that ArcMap was not seeing the new service on my Windows machine).&amp;nbsp; After I did this and tried to connect to my SQL Express instance, it worked without issue.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I wanted to add this as another item in case someone falls into this small trap and spends a lot of time troubleshooting (perhaps Esri can write a check on the installation script to make sure no ArcGIS for Desktop software is up and running during the installation?).&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 17 Nov 2016 15:47:54 GMT</pubDate>
      <guid>https://community.esri.com/t5/data-management-questions/failed-to-connect-to-database-server-error-add/m-p/386888#M22188</guid>
      <dc:creator>Anonymous User</dc:creator>
      <dc:date>2016-11-17T15:47:54Z</dc:date>
    </item>
  </channel>
</rss>

