<?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>idea Databases &amp;gt; Create New Connection &amp;gt; We could connect to the database. in ArcGIS Insights Ideas</title>
    <link>https://community.esri.com/t5/arcgis-insights-ideas/databases-gt-create-new-connection-gt-we-could/idi-p/1224076</link>
    <description>&lt;P&gt;Just an idea.&amp;nbsp; I'm evaluating ArcGIS Insights Desktop 2022.2.0.4957 to add to our barrel of BI products.&amp;nbsp; I installed it on my workhorse PC, Windows 10 Enterprise 21H2.&amp;nbsp; I tried to connect to my solid, fully functional 10.9.1.2.9 enterprise geodatabase in SQL Server 2019 Enterprise.&amp;nbsp; ArcGIS Insights Desktop didn't even get past the first thing I would wanted to do.&amp;nbsp; SQL Server Management Studio, Power BI Desktop, Tableau, ArcGIS Pro, ArcGIS Enterprise, ArcMap, QGIS, Excel, etc. can do it, no problem.&lt;/P&gt;&lt;P&gt;My idea is that ArcGIS Insights could do it, too.&amp;nbsp; Fastest software evaluation I've ever done.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="TimMinter_0-1666299891077.png" style="width: 400px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/54089i4F610D5E638704F3/image-size/medium?v=v2&amp;amp;px=400" role="button" title="TimMinter_0-1666299891077.png" alt="TimMinter_0-1666299891077.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;tim&lt;/P&gt;</description>
    <pubDate>Thu, 20 Oct 2022 21:15:43 GMT</pubDate>
    <dc:creator>TimMinter</dc:creator>
    <dc:date>2022-10-20T21:15:43Z</dc:date>
    <item>
      <title>Databases &gt; Create New Connection &gt; We could connect to the database.</title>
      <link>https://community.esri.com/t5/arcgis-insights-ideas/databases-gt-create-new-connection-gt-we-could/idi-p/1224076</link>
      <description>&lt;P&gt;Just an idea.&amp;nbsp; I'm evaluating ArcGIS Insights Desktop 2022.2.0.4957 to add to our barrel of BI products.&amp;nbsp; I installed it on my workhorse PC, Windows 10 Enterprise 21H2.&amp;nbsp; I tried to connect to my solid, fully functional 10.9.1.2.9 enterprise geodatabase in SQL Server 2019 Enterprise.&amp;nbsp; ArcGIS Insights Desktop didn't even get past the first thing I would wanted to do.&amp;nbsp; SQL Server Management Studio, Power BI Desktop, Tableau, ArcGIS Pro, ArcGIS Enterprise, ArcMap, QGIS, Excel, etc. can do it, no problem.&lt;/P&gt;&lt;P&gt;My idea is that ArcGIS Insights could do it, too.&amp;nbsp; Fastest software evaluation I've ever done.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="TimMinter_0-1666299891077.png" style="width: 400px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/54089i4F610D5E638704F3/image-size/medium?v=v2&amp;amp;px=400" role="button" title="TimMinter_0-1666299891077.png" alt="TimMinter_0-1666299891077.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;tim&lt;/P&gt;</description>
      <pubDate>Thu, 20 Oct 2022 21:15:43 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-insights-ideas/databases-gt-create-new-connection-gt-we-could/idi-p/1224076</guid>
      <dc:creator>TimMinter</dc:creator>
      <dc:date>2022-10-20T21:15:43Z</dc:date>
    </item>
    <item>
      <title>Re: Databases &gt; Create New Connection &gt; We could connect to the database.</title>
      <link>https://community.esri.com/t5/arcgis-insights-ideas/databases-gt-create-new-connection-gt-we-could/idc-p/1224276#M306</link>
      <description>&lt;P&gt;Hi Tim,&lt;/P&gt;&lt;P&gt;Sorry to hear that. In order to determine the root cause, we need more information about this issue.&lt;/P&gt;&lt;P&gt;1. The authentication method: according to your screenshot, I believe you are using Windows authentication to connect to your SQL Server database. If this is right, please check the next point.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="SQL Server auth type.png" style="width: 711px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/54136iDEB82ADA53D152C4/image-size/large?v=v2&amp;amp;px=999" role="button" title="SQL Server auth type.png" alt="SQL Server auth type.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;2. There are required privileges for SQL Server database users that can make the connections from Insights to the SQL Server database. Please check the help doc at&amp;nbsp;&lt;A href="https://doc.arcgis.com/en/insights/latest/administer/database-privileges.htm#GUID-7D327A70-88CD-4395-9B37-943D9A251EBF" target="_blank"&gt;Required database privileges—ArcGIS Insights | Documentation&lt;/A&gt;.&lt;/P&gt;&lt;P&gt;3. The logs in insights_service.log can help us troubleshoot the issue. For Windows system, it is located at C:\Users\&amp;lt;username&amp;gt;\AppData\Roaming\Esri\ArcGIS Insights\logs. Repeat the issue and check the last few records there. Please send us the records.&amp;nbsp;&lt;STRONG&gt;Note&lt;/STRONG&gt;, before you start checking the log, make sure that set the log level to Debug from the Insights Desktop settings.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="debugloglevel.png" style="width: 771px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/54137i82BEAE53DFF2DF7F/image-size/large?v=v2&amp;amp;px=999" role="button" title="debugloglevel.png" alt="debugloglevel.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;We will check the logs and determine the root cause.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Frances&lt;/P&gt;</description>
      <pubDate>Fri, 21 Oct 2022 15:36:57 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-insights-ideas/databases-gt-create-new-connection-gt-we-could/idc-p/1224276#M306</guid>
      <dc:creator>FrancesZhu1</dc:creator>
      <dc:date>2022-10-21T15:36:57Z</dc:date>
    </item>
    <item>
      <title>Re: Databases &gt; Create New Connection &gt; We could connect to the database.</title>
      <link>https://community.esri.com/t5/arcgis-insights-ideas/databases-gt-create-new-connection-gt-we-could/idc-p/1224422#M307</link>
      <description>&lt;P&gt;Hi Frances,&lt;/P&gt;&lt;P&gt;The account I'm using meets the ArcGIS Insights "Without data caching" permission requirements in the database, and I use that account to connect and use data without error or warning messages via all of the clients I initially mentioned.&amp;nbsp; I've tried IP address and server name and CNAME (Alias) with fully qualified domain name in the Insights database connection dialog "Server name (Fully qualified domain name)" field.&lt;/P&gt;&lt;P&gt;The insights_service.log shows a driver getting excited about a "Tag mismatch!" here:&lt;/P&gt;&lt;P&gt;2022-10-21 15:25:13,719 [qtp111819772-28] ERROR c.e.i.s.IntegratedSecurityLogin - IntegratedSecurityLogin failed:&lt;BR /&gt;com.microsoft.sqlserver.jdbc.SQLServerException: The driver could not establish a secure connection to SQL Server by using Secure Sockets Layer (SSL) encryption. Error: "Tag mismatch!". ClientConnectionId:&amp;lt;redacted guid-looking string&amp;gt;&lt;/P&gt;</description>
      <pubDate>Fri, 21 Oct 2022 22:52:14 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-insights-ideas/databases-gt-create-new-connection-gt-we-could/idc-p/1224422#M307</guid>
      <dc:creator>TimMinter</dc:creator>
      <dc:date>2022-10-21T22:52:14Z</dc:date>
    </item>
    <item>
      <title>Re: Databases &gt; Create New Connection &gt; We could connect to the database.</title>
      <link>https://community.esri.com/t5/arcgis-insights-ideas/databases-gt-create-new-connection-gt-we-could/idc-p/1225025#M308</link>
      <description>&lt;P&gt;Hi Tim,&lt;/P&gt;&lt;P&gt;This is Frances using another account as my previous account was somehow blocked.&lt;/P&gt;&lt;P&gt;For the error '&lt;SPAN&gt;Secure Sockets Layer (SSL) encryption. Error: "Tag mismatch!"', we believe it is the issue with SSL handshake. Our suggestion is that try a newer version of SQL Server driver.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;The SQL Server driver delivered with Insights Desktop 2022.2 is&amp;nbsp;&lt;STRONG&gt;mssql-jdbc-9.4.1.jre11.jar&lt;/STRONG&gt;. Let's try the newer driver&amp;nbsp;&lt;STRONG&gt;mssql-jdbc-10.2.0.jre11.jar&amp;nbsp;&lt;/STRONG&gt;(&lt;A href="https://github.com/microsoft/mssql-jdbc/releases/download/v10.2.0/mssql-jdbc-10.2.0.jre11.jar" target="_blank"&gt;https://github.com/microsoft/mssql-jdbc/releases/download/v10.2.0/mssql-jdbc-10.2.0.jre11.jar&lt;/A&gt;).&amp;nbsp;&lt;/P&gt;&lt;P&gt;The SQL Server driver is under&amp;nbsp;C:\Program Files\ArcGIS\Insights\insights-service if you are using default path in installation. Remove the old SQL Server drvier&amp;nbsp;&lt;STRONG&gt;mssql-jdbc-9.4.1.jre11.jar&amp;nbsp;&lt;/STRONG&gt;and copy the new driver &lt;STRONG&gt;mssql-jdbc-10.2.0.jre11.jar&amp;nbsp;&lt;/STRONG&gt;there. You need to close the Insights Desktop app before replacing the driver.&lt;/P&gt;&lt;P&gt;Start the Insights Desktop after the new driver is in place. Try to create the SQL Server database connection again. Let me know if this works.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 25 Oct 2022 01:20:45 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-insights-ideas/databases-gt-create-new-connection-gt-we-could/idc-p/1225025#M308</guid>
      <dc:creator>FrancesZhu101</dc:creator>
      <dc:date>2022-10-25T01:20:45Z</dc:date>
    </item>
    <item>
      <title>Re: Databases &gt; Create New Connection &gt; We could connect to the database.</title>
      <link>https://community.esri.com/t5/arcgis-insights-ideas/databases-gt-create-new-connection-gt-we-could/idc-p/1225213#M309</link>
      <description>&lt;P&gt;Hi Frances,&lt;/P&gt;&lt;P&gt;This try failed with the same error message.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="TimMinter_0-1666710050659.png" style="width: 400px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/54361iC9C6154782936B8F/image-size/medium?v=v2&amp;amp;px=400" role="button" title="TimMinter_0-1666710050659.png" alt="TimMinter_0-1666710050659.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;2022-10-25 07:52:11,914 [qtp1463877470-31] ERROR c.e.i.s.IntegratedSecurityLogin - IntegratedSecurityLogin failed:&lt;BR /&gt;com.microsoft.sqlserver.jdbc.SQLServerException: The driver could not establish a secure connection to SQL Server by using Secure Sockets Layer (SSL) encryption. Error: "Tag mismatch!". ClientConnectionId:&amp;lt;redacted guid-looking string&amp;gt;&lt;/P&gt;&lt;P&gt;I have logging all the way up and can send you the log file.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="TimMinter_1-1666710253261.png" style="width: 400px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/54362i55DE58BCF951155F/image-size/medium?v=v2&amp;amp;px=400" role="button" title="TimMinter_1-1666710253261.png" alt="TimMinter_1-1666710253261.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;tim&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 25 Oct 2022 15:08:32 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-insights-ideas/databases-gt-create-new-connection-gt-we-could/idc-p/1225213#M309</guid>
      <dc:creator>TimMinter</dc:creator>
      <dc:date>2022-10-25T15:08:32Z</dc:date>
    </item>
    <item>
      <title>Re: Databases &gt; Create New Connection &gt; We could connect to the database.</title>
      <link>https://community.esri.com/t5/arcgis-insights-ideas/databases-gt-create-new-connection-gt-we-could/idc-p/1225749#M310</link>
      <description>&lt;P&gt;A few more data points...&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;Found that the most recent MSSQL JDBC driver is 11.2.&amp;nbsp; tried, failed.&amp;nbsp;&amp;nbsp;&lt;A href="https://learn.microsoft.com/en-us/sql/connect/jdbc/download-microsoft-jdbc-driver-for-sql-server?view=sql-server-ver15" target="_self"&gt;https://learn.microsoft.com/en-us/sql/connect/jdbc/download-microsoft-jdbc-driver-for-sql-server?view=sql-server-ver15&lt;/A&gt;&lt;/LI&gt;&lt;LI&gt;Noticed that I did not take a step to check or reset Classpath to the new driver.&amp;nbsp; Looked around to see if I could do that.&amp;nbsp; Probably not on my end in the role of "user."&amp;nbsp; Maybe the Insights code goes sniffing and sets it automatically?&amp;nbsp; idk.&amp;nbsp; &lt;A href="https://learn.microsoft.com/en-us/sql/connect/jdbc/using-the-jdbc-driver?view=sql-server-ver15" target="_self"&gt;https://learn.microsoft.com/en-us/sql/connect/jdbc/using-the-jdbc-driver?view=sql-server-ver15&lt;/A&gt;&lt;/LI&gt;&lt;LI&gt;SQL Server 2019 Enterprise instance Is Clustered = False&lt;/LI&gt;&lt;LI&gt;SQL Server 2019 Enterprise security configuration:&lt;UL&gt;&lt;LI&gt;Force Encryption = Yes&lt;/LI&gt;&lt;LI&gt;Certificate unexpired, issued by parent organization&lt;/LI&gt;&lt;LI&gt;service account under which instance runs has read permission on certificate&lt;/LI&gt;&lt;/UL&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;Hmm.&amp;nbsp; Similar?&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;&lt;SPAN&gt;"try removing this connection string property&amp;nbsp;&lt;/SPAN&gt;hostNameInCertificate=*.database.windows.net&lt;SPAN&gt;" from here&amp;nbsp;&lt;A href="https://github.com/microsoft/mssql-jdbc/issues/1926" target="_self"&gt;https://github.com/microsoft/mssql-jdbc/issues/1926&lt;/A&gt;&lt;/SPAN&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;gotta get back to work.&lt;/P&gt;&lt;P&gt;tim&lt;/P&gt;</description>
      <pubDate>Wed, 26 Oct 2022 16:59:21 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-insights-ideas/databases-gt-create-new-connection-gt-we-could/idc-p/1225749#M310</guid>
      <dc:creator>TimMinter</dc:creator>
      <dc:date>2022-10-26T16:59:21Z</dc:date>
    </item>
    <item>
      <title>Re: Databases &gt; Create New Connection &gt; We could connect to the database.</title>
      <link>https://community.esri.com/t5/arcgis-insights-ideas/databases-gt-create-new-connection-gt-we-could/idc-p/1225754#M311</link>
      <description>&lt;P&gt;Hi Tim,&lt;/P&gt;&lt;P&gt;These are very good points. Thank you.&lt;/P&gt;&lt;P&gt;We are also trying to reproduce the problem on our end, but haven't made it yet.&amp;nbsp;Give me more time. I will give you update asap.&lt;/P&gt;&lt;P&gt;Frances&lt;/P&gt;</description>
      <pubDate>Wed, 26 Oct 2022 17:12:39 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-insights-ideas/databases-gt-create-new-connection-gt-we-could/idc-p/1225754#M311</guid>
      <dc:creator>FrancesZhu101</dc:creator>
      <dc:date>2022-10-26T17:12:39Z</dc:date>
    </item>
    <item>
      <title>Re: Databases &gt; Create New Connection &gt; We could connect to the database.</title>
      <link>https://community.esri.com/t5/arcgis-insights-ideas/databases-gt-create-new-connection-gt-we-could/idc-p/1226690#M312</link>
      <description>&lt;P&gt;Hi Tim,&lt;/P&gt;&lt;P&gt;The issue is definitely related to "Force encryption" with a certificate. The error message is thrown from the SQL Server JDBC driver, which is not controlled by Insights. The&amp;nbsp;workaround is turning off the enforce encryption from your SQL Server 2019 database.&lt;/P&gt;&lt;P&gt;One thing I want to clarify is that ArcGIS Pro is using different connection type to connect SQL Server database, which is ODBC. The SQL Server ODBC driver is used.&amp;nbsp;&lt;/P&gt;&lt;P&gt;We are still investigating the issue and trying to create the same environment as yours.&amp;nbsp;It takes time. So, please create a support ticket for this issue. I will update you through Esri support.&lt;/P&gt;&lt;P&gt;Frances&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 28 Oct 2022 17:32:55 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-insights-ideas/databases-gt-create-new-connection-gt-we-could/idc-p/1226690#M312</guid>
      <dc:creator>FrancesZhu101</dc:creator>
      <dc:date>2022-10-28T17:32:55Z</dc:date>
    </item>
    <item>
      <title>Re: Databases &gt; Create New Connection &gt; We could connect to the database.</title>
      <link>https://community.esri.com/t5/arcgis-insights-ideas/databases-gt-create-new-connection-gt-we-could/idc-p/1226739#M313</link>
      <description>&lt;P&gt;Hi Tim,&lt;/P&gt;&lt;P&gt;I found the reason of why newer JDBC driver doesn't work. We forget updating the&amp;nbsp;mssql-jdbc_auth DLL when we updated the jdbc driver. The version of JDBC driver and the jdbc_auth DLL must be the same version.&lt;/P&gt;&lt;P&gt;Please try the&amp;nbsp;&lt;STRONG&gt;mssql-jdbc-10.2.0.jre11.jar &lt;/STRONG&gt;and&lt;STRONG&gt; mssql-jdbc_auth-10.2.0.x64.dll&amp;nbsp;&lt;/STRONG&gt;(&lt;A href="https://search.maven.org/artifact/com.microsoft.sqlserver/mssql-jdbc_auth/10.2.0.x64/dll" target="_blank"&gt;https://search.maven.org/artifact/com.microsoft.sqlserver/mssql-jdbc_auth/10.2.0.x64/dll&lt;/A&gt;) first.&lt;/P&gt;&lt;P&gt;Put&amp;nbsp;&lt;STRONG&gt;mssql-jdbc-10.2.0.jre11.jar&lt;/STRONG&gt; to "&lt;SPAN&gt;ArcGIS\Insights\insights-service", and &lt;STRONG&gt;mssql-jdbc_auth-10.2.0.x64.dll&amp;nbsp;&lt;/STRONG&gt;to&amp;nbsp;"ArcGIS\Insights\resources".&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN&gt;Make sure remove the old jar and old dll files.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;If you want to use the latest driver v11.2.1, you need to get the same version of the dll file.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Let me know if the problem is solve.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Thanks,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Frances&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 28 Oct 2022 19:19:25 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-insights-ideas/databases-gt-create-new-connection-gt-we-could/idc-p/1226739#M313</guid>
      <dc:creator>FrancesZhu101</dc:creator>
      <dc:date>2022-10-28T19:19:25Z</dc:date>
    </item>
    <item>
      <title>Re: Databases &gt; Create New Connection &gt; We could connect to the database.</title>
      <link>https://community.esri.com/t5/arcgis-insights-ideas/databases-gt-create-new-connection-gt-we-could/idc-p/1226810#M314</link>
      <description>&lt;P&gt;Hi Frances,&lt;/P&gt;&lt;P&gt;One of my teammates opened support case &lt;SPAN&gt;#03181219&lt;/SPAN&gt;, which resulted in &lt;SPAN&gt;#BUG-000153360&lt;/SPAN&gt;.&amp;nbsp; From a quick scan, it looks like the bug fix recommendation and your info above about the accompanying DLL converged.&lt;/P&gt;&lt;P&gt;I've had to move along to other assignments and have uninstalled Insights.&amp;nbsp; Hopefully, my idea will come to fruition the next time I download and install it.&lt;/P&gt;&lt;P&gt;Thank you, cheers, and have a proper weekend,&lt;/P&gt;&lt;P&gt;tim&lt;/P&gt;</description>
      <pubDate>Fri, 28 Oct 2022 21:58:50 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-insights-ideas/databases-gt-create-new-connection-gt-we-could/idc-p/1226810#M314</guid>
      <dc:creator>TimMinter</dc:creator>
      <dc:date>2022-10-28T21:58:50Z</dc:date>
    </item>
  </channel>
</rss>

