<?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: Error while connecting to dtaa source in Report Server</title>
    <link>https://community.fabric.microsoft.com/t5/Report-Server/Error-while-connecting-to-dtaa-source/m-p/4365640#M39283</link>
    <description>&lt;P&gt;Look at the error message Do Sql server defines firewall rules for different executables? I can run queries from SSMS.&amp;nbsp;&lt;/P&gt;&lt;P&gt;Error message&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Cannot connect to SQL Database. Please contact SQL server team for further support. Server: '10.110.36.69', Database: 'Viewpoint', User: 'vijay.sql'. Check the connection configuration is correct, and make sure the &lt;STRONG&gt;SQL Database firewall allows the Data Factory runtime to access.&lt;/STRONG&gt; A connection was successfully established with the server, but then an error occurred during the login process. (provider: SSL Provider, error: 0 - The target principal name is incorrect.), SqlErrorNumber=-2146893022,Class=20,State=0, The target principal name is incorrect Activity ID: 532c3901-2a0c-42c5-a676-ff236b3f5c2d&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;img /&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Wed, 15 Jan 2025 18:28:31 GMT</pubDate>
    <dc:creator>vijaycp2</dc:creator>
    <dc:date>2025-01-15T18:28:31Z</dc:date>
    <item>
      <title>Error while connecting to dtaa source</title>
      <link>https://community.fabric.microsoft.com/t5/Report-Server/Error-while-connecting-to-dtaa-source/m-p/4363962#M39266</link>
      <description>&lt;P&gt;We are getting following error message. The connection from PowerBI desktop works fine however we can't connect to SQL server database from Power BI&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;img /&gt;&lt;/P&gt;&lt;P&gt;We have defined data source connection using settings - &amp;gt; manage connections and gateways&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;img /&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 14 Jan 2025 21:38:42 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Report-Server/Error-while-connecting-to-dtaa-source/m-p/4363962#M39266</guid>
      <dc:creator>vijaycp2</dc:creator>
      <dc:date>2025-01-14T21:38:42Z</dc:date>
    </item>
    <item>
      <title>Re: Error while connecting to dtaa source</title>
      <link>https://community.fabric.microsoft.com/t5/Report-Server/Error-while-connecting-to-dtaa-source/m-p/4364022#M39268</link>
      <description>&lt;P&gt;You need a gateway to access that on-prem database.&lt;/P&gt;</description>
      <pubDate>Tue, 14 Jan 2025 23:21:40 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Report-Server/Error-while-connecting-to-dtaa-source/m-p/4364022#M39268</guid>
      <dc:creator>lbendlin</dc:creator>
      <dc:date>2025-01-14T23:21:40Z</dc:date>
    </item>
    <item>
      <title>Re: Error while connecting to dtaa source</title>
      <link>https://community.fabric.microsoft.com/t5/Report-Server/Error-while-connecting-to-dtaa-source/m-p/4364039#M39269</link>
      <description>&lt;P&gt;We do have gateway which connects to on-prem database.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;img /&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 15 Jan 2025 00:06:56 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Report-Server/Error-while-connecting-to-dtaa-source/m-p/4364039#M39269</guid>
      <dc:creator>vijaycp2</dc:creator>
      <dc:date>2025-01-15T00:06:56Z</dc:date>
    </item>
    <item>
      <title>Re: Error while connecting to dtaa source</title>
      <link>https://community.fabric.microsoft.com/t5/Report-Server/Error-while-connecting-to-dtaa-source/m-p/4364074#M39270</link>
      <description>&lt;P&gt;Please show the connections section.&lt;/P&gt;</description>
      <pubDate>Wed, 15 Jan 2025 01:07:05 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Report-Server/Error-while-connecting-to-dtaa-source/m-p/4364074#M39270</guid>
      <dc:creator>lbendlin</dc:creator>
      <dc:date>2025-01-15T01:07:05Z</dc:date>
    </item>
    <item>
      <title>Re: Error while connecting to dtaa source</title>
      <link>https://community.fabric.microsoft.com/t5/Report-Server/Error-while-connecting-to-dtaa-source/m-p/4365436#M39282</link>
      <description>&lt;P&gt;&lt;img /&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 15 Jan 2025 15:55:10 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Report-Server/Error-while-connecting-to-dtaa-source/m-p/4365436#M39282</guid>
      <dc:creator>vijaycp2</dc:creator>
      <dc:date>2025-01-15T15:55:10Z</dc:date>
    </item>
    <item>
      <title>Re: Error while connecting to dtaa source</title>
      <link>https://community.fabric.microsoft.com/t5/Report-Server/Error-while-connecting-to-dtaa-source/m-p/4365640#M39283</link>
      <description>&lt;P&gt;Look at the error message Do Sql server defines firewall rules for different executables? I can run queries from SSMS.&amp;nbsp;&lt;/P&gt;&lt;P&gt;Error message&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Cannot connect to SQL Database. Please contact SQL server team for further support. Server: '10.110.36.69', Database: 'Viewpoint', User: 'vijay.sql'. Check the connection configuration is correct, and make sure the &lt;STRONG&gt;SQL Database firewall allows the Data Factory runtime to access.&lt;/STRONG&gt; A connection was successfully established with the server, but then an error occurred during the login process. (provider: SSL Provider, error: 0 - The target principal name is incorrect.), SqlErrorNumber=-2146893022,Class=20,State=0, The target principal name is incorrect Activity ID: 532c3901-2a0c-42c5-a676-ff236b3f5c2d&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;img /&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 15 Jan 2025 18:28:31 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Report-Server/Error-while-connecting-to-dtaa-source/m-p/4365640#M39283</guid>
      <dc:creator>vijaycp2</dc:creator>
      <dc:date>2025-01-15T18:28:31Z</dc:date>
    </item>
    <item>
      <title>Re: Error while connecting to dtaa source</title>
      <link>https://community.fabric.microsoft.com/t5/Report-Server/Error-while-connecting-to-dtaa-source/m-p/4370891#M39335</link>
      <description>&lt;P&gt;Hi,lbendlin,thanks for your concern about this issue.&lt;/P&gt;
&lt;P&gt;Your answer is excellent!&lt;BR /&gt;And I would like to share some additional solutions below.&lt;/P&gt;
&lt;P&gt;&lt;BR /&gt;Hello,&amp;nbsp;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="912740" data-lia-user-login="vijaycp2" class="lia-mention lia-mention-user"&gt;vijaycp2&lt;/a&gt; . I am glad to help you.&lt;BR /&gt;According to the screenshot of the error message you subsequently provided, the system suggests that the connection was successful but the name of the target subject is incorrect&lt;/P&gt;
&lt;P&gt;Errors with incorrect target subject names are usually related to SSL certificate configuration.&lt;BR /&gt;I hope my suggestions below are helpful&lt;/P&gt;
&lt;P&gt;1. Check the SSL certificate: make sure the subject name of the SSL certificate used by SQL Server matches the server name. If a self-signed certificate is used, make sure the client machine trusts the certificate.&lt;/P&gt;
&lt;P&gt;URL:&lt;BR /&gt;&lt;A href="https://community.fabric.microsoft.com/t5/Desktop/provider-SSL-provider-error-0-The-certificate-chain-was-issued/m-p/354074" target="_blank" rel="noopener"&gt;Solved: provider: SSL provider, error 0:The certificate ch... - Microsoft Fabric Community&lt;/A&gt;&lt;BR /&gt;&lt;A href="https://powerbi.microsoft.com/en-us/blog/ssl-security-error-with-data-source/" target="_blank" rel="noopener"&gt;SSL Security Error with Data Source | Microsoft Power BI Blog | Microsoft Power BI&lt;/A&gt;&lt;BR /&gt;2. Try disabling SSL encryption: If SSL encryption is not required, you can disable SSL encryption by adding Encrypt=False to the connection string.&lt;/P&gt;
&lt;P&gt;&lt;A href="https://learn.microsoft.com/en-us/answers/questions/1792649/datasource-error-microsoft-sql-power-bi" target="_blank" rel="noopener"&gt;DataSource.Error: Microsoft SQL - Power BI - Microsoft Q&amp;amp;A&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;I can not rule out the possibility that your database “Viewpoint” is inaccessible to the account used for gateway authentication.&lt;BR /&gt;I noticed that the authentication method selected in your gateway connection is Basic mode.&lt;BR /&gt;So you are using a SQL Server login account to access the database.&lt;BR /&gt;Please check if your SQL Server account has access rights to Database: 'Viewpoint', and if not, please give it access rights.&lt;BR /&gt;You can try to create a new test database on the same computer IP (same SSMS) and give access rights to the database to the SQL Server login account you are using for the gateway connection, create a pbix report with the test database and configure the Service gateway connection to check if the same problem exists.&lt;BR /&gt;&lt;BR /&gt;I hope my suggestions give you good ideas, if you have any more questions, please clarify in a follow-up reply.&lt;BR /&gt;Best Regards,&lt;BR /&gt;Carson Jian,&lt;BR /&gt;If this post &lt;EM&gt;&lt;STRONG&gt;helps&lt;/STRONG&gt;&lt;/EM&gt;, then please consider &lt;EM&gt;&lt;STRONG&gt;Accept it as the solution&lt;/STRONG&gt;&lt;/EM&gt; to help the other members find it more quickly.&lt;/P&gt;</description>
      <pubDate>Mon, 20 Jan 2025 02:27:52 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Report-Server/Error-while-connecting-to-dtaa-source/m-p/4370891#M39335</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2025-01-20T02:27:52Z</dc:date>
    </item>
    <item>
      <title>Re: Error while connecting to dtaa source</title>
      <link>https://community.fabric.microsoft.com/t5/Report-Server/Error-while-connecting-to-dtaa-source/m-p/4396827#M39565</link>
      <description>&lt;P&gt;Worked with Microsoft technical support team and modified data gateway sqlsrvr.dll.config file. After dll.config changes started working.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 05 Feb 2025 16:54:45 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Report-Server/Error-while-connecting-to-dtaa-source/m-p/4396827#M39565</guid>
      <dc:creator>vijaycp2</dc:creator>
      <dc:date>2025-02-05T16:54:45Z</dc:date>
    </item>
    <item>
      <title>Re: Error while connecting to dtaa source</title>
      <link>https://community.fabric.microsoft.com/t5/Report-Server/Error-while-connecting-to-dtaa-source/m-p/4397227#M39567</link>
      <description>&lt;P&gt;what did you change in that file?&lt;/P&gt;</description>
      <pubDate>Wed, 05 Feb 2025 23:20:31 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Report-Server/Error-while-connecting-to-dtaa-source/m-p/4397227#M39567</guid>
      <dc:creator>lbendlin</dc:creator>
      <dc:date>2025-02-05T23:20:31Z</dc:date>
    </item>
  </channel>
</rss>

