<?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: Add Database Server error: &amp;quot;Cannot connect to the database server&amp;quot; in Data Management Questions</title>
    <link>https://community.esri.com/t5/data-management-questions/add-database-server-error-quot-cannot-connect-to/m-p/507825#M28794</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I don't see a mention of the version of the Desktop software you are using, but make sure it is compatible, e.g.&lt;/P&gt;&lt;P&gt;&lt;A class="link-titled" href="http://desktop.arcgis.com/en/arcmap/10.4/manage-data/databases/database-requirements-sqlserver.htm" title="http://desktop.arcgis.com/en/arcmap/10.4/manage-data/databases/database-requirements-sqlserver.htm"&gt;Microsoft SQL Server database requirements for ArcGIS 10.4.x—Help | ArcGIS Desktop&lt;/A&gt;&amp;nbsp;&amp;nbsp; for example..&lt;/P&gt;&lt;BLOCKQUOTE class="jive_macro_quote jive-quote jive_text_macro"&gt;&lt;P&gt;*Microsoft SQL Server Express (32-bit) is only supported for desktop geodatabases.&lt;/P&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;Although I have the 64-bit version installed with 10.3.1 and it works fine.&lt;/P&gt;&lt;P&gt;You may need to install the client locally&lt;/P&gt;&lt;P&gt;&lt;A class="link-titled" href="http://desktop.arcgis.com/en/arcmap/10.4/manage-data/databases/database-clients.htm" title="http://desktop.arcgis.com/en/arcmap/10.4/manage-data/databases/database-clients.htm"&gt;Database clients—Help | ArcGIS Desktop&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have my SQL Express loaded on my local machine, but it should work on a VM machine also.&amp;nbsp; Make sure you are connecting thru the Database Servers connection and not the Database Connections in Catalog.&amp;nbsp; Mine appears like this, with a successful connection.&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;&lt;IMG class="image-1 jive-image" src="https://community.esri.com/legacyfs/online/364267_pastedImage_5.png" style="width: 340px; height: 265px;" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 25 Jul 2017 17:31:14 GMT</pubDate>
    <dc:creator>RebeccaStrauch__GISP</dc:creator>
    <dc:date>2017-07-25T17:31:14Z</dc:date>
    <item>
      <title>Add Database Server error: "Cannot connect to the database server"</title>
      <link>https://community.esri.com/t5/data-management-questions/add-database-server-error-quot-cannot-connect-to/m-p/507821#M28790</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;I'm setting up a Web-GIS using ArcGIS for Server Workgroup Standard. I'm now trying to add a database server in ArcCatalog, however, I receive the error "Register Database Server. Cannot connect to the database server. Failed to connect to Database Server.".&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So far a virtual machine (VM) has been set up, on which the SQL Server Express 2014 has been installed, authorized and enabledfor geodatabase storage. The Firewall on the VM has been changed to have port 1433 and 1434 open. Furthermore, in SQL Server Configuration Manager the TCP/IP has been enabled, IPALL set to port 1433 and the Dynamic option is left blank. Both the SQLServer and SQLBrowseris running. Also, the SQL server client (I've checked that it's the right version) has been installed on the client where ArcGIS desktop is installed.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;When trying to add a database server in ArcCatalog I've been using "&amp;lt;server_name&amp;gt;\&amp;lt;instance_name&amp;gt;" as well as &lt;BR /&gt;"&amp;lt;server_name&amp;gt;\&amp;lt;instance_name&amp;gt;, 1433", and also IP adress instead of hostname.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The installation of the SQL Server Express seems to have worked fine as I'm able to manage the instance using SQL Server Management Studio.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I'm new to this area of GIS, so I'm at this point not sure where to take my troubleshooting next. Any suggestions or help would be very much appreciated.&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;(btw, I saw this question in another thread, &lt;A href="https://community.esri.com/message/86306"&gt;https://community.esri.com/message/86306&lt;/A&gt;&amp;nbsp;, but decided to create a new question as the other thread offers no solution, there's some minor differences and it's a few years old)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;/Åke&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 24 Jul 2017 21:50:25 GMT</pubDate>
      <guid>https://community.esri.com/t5/data-management-questions/add-database-server-error-quot-cannot-connect-to/m-p/507821#M28790</guid>
      <dc:creator>ÅkeMagnusson1</dc:creator>
      <dc:date>2017-07-24T21:50:25Z</dc:date>
    </item>
    <item>
      <title>Re: Add Database Server error: "Cannot connect to the database server"</title>
      <link>https://community.esri.com/t5/data-management-questions/add-database-server-error-quot-cannot-connect-to/m-p/507822#M28791</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Is SQL Server Management Studio (SSMS) on the server machine or on your local client?&amp;nbsp; This may seem odd, but what is your instance name?&amp;nbsp; Also, in SSMS are you using Windows Authentication or SQL Server Authentication?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 24 Jul 2017 22:15:50 GMT</pubDate>
      <guid>https://community.esri.com/t5/data-management-questions/add-database-server-error-quot-cannot-connect-to/m-p/507822#M28791</guid>
      <dc:creator>JoshuaBixby</dc:creator>
      <dc:date>2017-07-24T22:15:50Z</dc:date>
    </item>
    <item>
      <title>Re: Add Database Server error: "Cannot connect to the database server"</title>
      <link>https://community.esri.com/t5/data-management-questions/add-database-server-error-quot-cannot-connect-to/m-p/507823#M28792</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Joshua,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks for your answer! SSMS is installed on the server machine.&lt;/P&gt;&lt;P&gt;The instance name is the default "SQLExpress", and the VM-hostname does not contain any accented characters (if you thought that might be the issue).&lt;/P&gt;&lt;P&gt;I'm using Windows Authentication in SSMS.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I've also noticed&amp;nbsp;that the connection attempts does not appear in the SSMS log when I'm trying to connect using "&lt;SPAN style="background-color: #ffffff;"&gt;&amp;lt;server_name&amp;gt;\&amp;lt;instance_name&amp;gt;"&lt;/SPAN&gt;, however if I use the IPv4 instead of hostname i.e. &lt;SPAN style="background-color: #ffffff;"&gt;"&amp;lt;IPv4&amp;gt;\&amp;lt;instance_name&amp;gt;"&lt;/SPAN&gt;&amp;nbsp;a "login failed-message" appears in both the SSMS log and in Server manager. The error in the SSMS log says "the login is from an untrusted domain and cannot be used with Windows authentication".&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Is add database server in ArcCatalog supposed to work if I use&amp;nbsp;&lt;SPAN style="background-color: #ffffff;"&gt;"&amp;lt;IPv4&amp;gt;\&amp;lt;instance_name&amp;gt;"? If not, could the problem be DNS related? I noticed that I can ping the VM using IPv4 but not if I use the hostname.&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 25 Jul 2017 12:42:04 GMT</pubDate>
      <guid>https://community.esri.com/t5/data-management-questions/add-database-server-error-quot-cannot-connect-to/m-p/507823#M28792</guid>
      <dc:creator>ÅkeMagnusson1</dc:creator>
      <dc:date>2017-07-25T12:42:04Z</dc:date>
    </item>
    <item>
      <title>Re: Add Database Server error: "Cannot connect to the database server"</title>
      <link>https://community.esri.com/t5/data-management-questions/add-database-server-error-quot-cannot-connect-to/m-p/507824#M28793</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;If SSMS is on the server machine, it ArcCatalog as well?&amp;nbsp; Or, are you trying to connect from another machine?&amp;nbsp; If the latter, the fact that SSMS can connect doesn't give the full picture because you haven't established the client can properly communicate the server.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;From what you describe so far, and the error message, is the VM hosting SQLExpress on the same Windows domain as the client machines trying to connect to it?&amp;nbsp; The error message indicates there may be separate domains involved, and there is not a trust established between the machines to allow Windows authentication to work.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 25 Jul 2017 13:49:38 GMT</pubDate>
      <guid>https://community.esri.com/t5/data-management-questions/add-database-server-error-quot-cannot-connect-to/m-p/507824#M28793</guid>
      <dc:creator>JoshuaBixby</dc:creator>
      <dc:date>2017-07-25T13:49:38Z</dc:date>
    </item>
    <item>
      <title>Re: Add Database Server error: "Cannot connect to the database server"</title>
      <link>https://community.esri.com/t5/data-management-questions/add-database-server-error-quot-cannot-connect-to/m-p/507825#M28794</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I don't see a mention of the version of the Desktop software you are using, but make sure it is compatible, e.g.&lt;/P&gt;&lt;P&gt;&lt;A class="link-titled" href="http://desktop.arcgis.com/en/arcmap/10.4/manage-data/databases/database-requirements-sqlserver.htm" title="http://desktop.arcgis.com/en/arcmap/10.4/manage-data/databases/database-requirements-sqlserver.htm"&gt;Microsoft SQL Server database requirements for ArcGIS 10.4.x—Help | ArcGIS Desktop&lt;/A&gt;&amp;nbsp;&amp;nbsp; for example..&lt;/P&gt;&lt;BLOCKQUOTE class="jive_macro_quote jive-quote jive_text_macro"&gt;&lt;P&gt;*Microsoft SQL Server Express (32-bit) is only supported for desktop geodatabases.&lt;/P&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;Although I have the 64-bit version installed with 10.3.1 and it works fine.&lt;/P&gt;&lt;P&gt;You may need to install the client locally&lt;/P&gt;&lt;P&gt;&lt;A class="link-titled" href="http://desktop.arcgis.com/en/arcmap/10.4/manage-data/databases/database-clients.htm" title="http://desktop.arcgis.com/en/arcmap/10.4/manage-data/databases/database-clients.htm"&gt;Database clients—Help | ArcGIS Desktop&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have my SQL Express loaded on my local machine, but it should work on a VM machine also.&amp;nbsp; Make sure you are connecting thru the Database Servers connection and not the Database Connections in Catalog.&amp;nbsp; Mine appears like this, with a successful connection.&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;&lt;IMG class="image-1 jive-image" src="https://community.esri.com/legacyfs/online/364267_pastedImage_5.png" style="width: 340px; height: 265px;" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 25 Jul 2017 17:31:14 GMT</pubDate>
      <guid>https://community.esri.com/t5/data-management-questions/add-database-server-error-quot-cannot-connect-to/m-p/507825#M28794</guid>
      <dc:creator>RebeccaStrauch__GISP</dc:creator>
      <dc:date>2017-07-25T17:31:14Z</dc:date>
    </item>
    <item>
      <title>Re: Add Database Server error: "Cannot connect to the database server"</title>
      <link>https://community.esri.com/t5/data-management-questions/add-database-server-error-quot-cannot-connect-to/m-p/507826#M28795</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;The latter is correct, I'm trying to connect from my desktop computer where ArcCatalog is&amp;nbsp;located.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Ok, yes, that might be the issue, I will look into this. Thanks for your help!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Edit: The VM belonged to a Workgroup, changing it to the same domain as the client (and the server) resolved the issue. Although the status of the database server in ArcCatalog is "unknown" I'm now able to add geodatabases and add data to those. Thanks again!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 25 Jul 2017 21:19:56 GMT</pubDate>
      <guid>https://community.esri.com/t5/data-management-questions/add-database-server-error-quot-cannot-connect-to/m-p/507826#M28795</guid>
      <dc:creator>ÅkeMagnusson1</dc:creator>
      <dc:date>2017-07-25T21:19:56Z</dc:date>
    </item>
    <item>
      <title>Re: Add Database Server error: "Cannot connect to the database server"</title>
      <link>https://community.esri.com/t5/data-management-questions/add-database-server-error-quot-cannot-connect-to/m-p/507827#M28796</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks for your reply! I don't think there's a compatibility issue. As I recall it we are using ArcGIS desktop 10.3.1&amp;nbsp;(I'm sure it's not an earlier version).&amp;nbsp;The express edition is Microsoft SQL Server 2014 64-bit.&lt;/P&gt;&lt;P&gt;Regarding the Microsoft SQL Server native client 64-bit, it's installed locally where ArcGIS desktop is located.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 25 Jul 2017 21:28:54 GMT</pubDate>
      <guid>https://community.esri.com/t5/data-management-questions/add-database-server-error-quot-cannot-connect-to/m-p/507827#M28796</guid>
      <dc:creator>ÅkeMagnusson1</dc:creator>
      <dc:date>2017-07-25T21:28:54Z</dc:date>
    </item>
  </channel>
</rss>

