<?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 Error connecting Postgres with Gateway in Report Server</title>
    <link>https://community.fabric.microsoft.com/t5/Report-Server/Error-connecting-Postgres-with-Gateway/m-p/4338511#M39010</link>
    <description>&lt;P&gt;I can connect Power BI Desktop to a local Postgres server, so I published a Power BI report and tried to set up a connection on Power BI Cloud with my local gateway that can access Postgres.&lt;/P&gt;&lt;P&gt;If I try to update the semantic model, I receive this error:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Errore dell'origine dati: [ValidateMarkupTags]{"error":{"code":"DM_GWPipeline_Gateway_MashupDataAccessError","pbi.error":{"code":"DM_GWPipeline_Gateway_MashupDataAccessError","parameters":{},"details":[{"code":"DM_ErrorDetailNameCode_UnderlyingErrorCode","detail":{"type":1,"value":"-2147467259"}},{"code":"DM_ErrorDetailNameCode_UnderlyingErrorMessage","detail":{"type":1,"value":"[ccon]Installare Npgsql versione 4.0.16.0&amp;lt;/ip&amp;gt; o precedente.[/ccon]"}},{"code":"DM_ErrorDetailNameCode_UnderlyingHResult","detail":{"type":1,"value":"-2147467259"}},{"code":"Microsoft.Data.Mashup.ErrorCode","detail":{"type":1,"value":"10305"}},{"code":"Microsoft.Data.Mashup.ValueError.DataSourceKind","detail":{"type":1,"value":"PostgreSQL"}},{"code":"Microsoft.Data.Mashup.ValueError.DataSourcePath","detail":{"type":1,"value":"[ccon][ccon]&amp;lt;ip&amp;gt;192.168.0.12&amp;lt;/ip&amp;gt;[/ccon]&amp;lt;ip&amp;gt;&amp;lt;ip&amp;gt;192.168.0.0&amp;lt;/ip&amp;gt;&amp;lt;/ip&amp;gt;;val_fKOANemvfL[/ccon]"}},{"code":"Microsoft.Data.Mashup.ValueError.Reason","detail":{"type":1,"value":"DataSource.MissingClientLibrary"}}],"exceptionCulprit":1}}} Table: prodotto.&lt;BR /&gt;URI cluster: WABI-WEST-EUROPE-redirect.analysis.windows.net&lt;BR /&gt;ID attività: 7a39cf9b-0094-4de7-be3f-2c8be3c19cdc&lt;BR /&gt;ID richiesta: 4d229eaa-5fba-68b3-b18c-ab4637ad8aa5&lt;BR /&gt;Ora: 2024-12-20 10:32:25Z&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I've installed Npgsql version 4.0.16.0 as stated in the error log and restarted the gateway, but I still get the same error.&lt;/P&gt;&lt;P&gt;My gateway is okay because I use it to access Excel files that are on the local network in other Power BI reports.&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Sorry if my English is not correct.&lt;/SPAN&gt;&lt;/P&gt;</description>
    <pubDate>Fri, 20 Dec 2024 10:45:57 GMT</pubDate>
    <dc:creator>rinogattuso</dc:creator>
    <dc:date>2024-12-20T10:45:57Z</dc:date>
    <item>
      <title>Error connecting Postgres with Gateway</title>
      <link>https://community.fabric.microsoft.com/t5/Report-Server/Error-connecting-Postgres-with-Gateway/m-p/4338511#M39010</link>
      <description>&lt;P&gt;I can connect Power BI Desktop to a local Postgres server, so I published a Power BI report and tried to set up a connection on Power BI Cloud with my local gateway that can access Postgres.&lt;/P&gt;&lt;P&gt;If I try to update the semantic model, I receive this error:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Errore dell'origine dati: [ValidateMarkupTags]{"error":{"code":"DM_GWPipeline_Gateway_MashupDataAccessError","pbi.error":{"code":"DM_GWPipeline_Gateway_MashupDataAccessError","parameters":{},"details":[{"code":"DM_ErrorDetailNameCode_UnderlyingErrorCode","detail":{"type":1,"value":"-2147467259"}},{"code":"DM_ErrorDetailNameCode_UnderlyingErrorMessage","detail":{"type":1,"value":"[ccon]Installare Npgsql versione 4.0.16.0&amp;lt;/ip&amp;gt; o precedente.[/ccon]"}},{"code":"DM_ErrorDetailNameCode_UnderlyingHResult","detail":{"type":1,"value":"-2147467259"}},{"code":"Microsoft.Data.Mashup.ErrorCode","detail":{"type":1,"value":"10305"}},{"code":"Microsoft.Data.Mashup.ValueError.DataSourceKind","detail":{"type":1,"value":"PostgreSQL"}},{"code":"Microsoft.Data.Mashup.ValueError.DataSourcePath","detail":{"type":1,"value":"[ccon][ccon]&amp;lt;ip&amp;gt;192.168.0.12&amp;lt;/ip&amp;gt;[/ccon]&amp;lt;ip&amp;gt;&amp;lt;ip&amp;gt;192.168.0.0&amp;lt;/ip&amp;gt;&amp;lt;/ip&amp;gt;;val_fKOANemvfL[/ccon]"}},{"code":"Microsoft.Data.Mashup.ValueError.Reason","detail":{"type":1,"value":"DataSource.MissingClientLibrary"}}],"exceptionCulprit":1}}} Table: prodotto.&lt;BR /&gt;URI cluster: WABI-WEST-EUROPE-redirect.analysis.windows.net&lt;BR /&gt;ID attività: 7a39cf9b-0094-4de7-be3f-2c8be3c19cdc&lt;BR /&gt;ID richiesta: 4d229eaa-5fba-68b3-b18c-ab4637ad8aa5&lt;BR /&gt;Ora: 2024-12-20 10:32:25Z&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I've installed Npgsql version 4.0.16.0 as stated in the error log and restarted the gateway, but I still get the same error.&lt;/P&gt;&lt;P&gt;My gateway is okay because I use it to access Excel files that are on the local network in other Power BI reports.&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Sorry if my English is not correct.&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 20 Dec 2024 10:45:57 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Report-Server/Error-connecting-Postgres-with-Gateway/m-p/4338511#M39010</guid>
      <dc:creator>rinogattuso</dc:creator>
      <dc:date>2024-12-20T10:45:57Z</dc:date>
    </item>
    <item>
      <title>Re: Error connecting Postgres with Gateway</title>
      <link>https://community.fabric.microsoft.com/t5/Report-Server/Error-connecting-Postgres-with-Gateway/m-p/4338999#M39012</link>
      <description>&lt;P&gt;Gateway install files do not include the Postgres drivers. You can borrow them from the Desktop install.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;From&amp;nbsp;C:\Program Files\Microsoft Power BI Desktop\bin\ADO.NET Providers&lt;/P&gt;
&lt;P&gt;to&amp;nbsp;C:\Program Files\On-premises data gateway\m\ADO.NET Providers&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;everything npgsql&lt;/P&gt;</description>
      <pubDate>Fri, 20 Dec 2024 16:36:24 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Report-Server/Error-connecting-Postgres-with-Gateway/m-p/4338999#M39012</guid>
      <dc:creator>lbendlin</dc:creator>
      <dc:date>2024-12-20T16:36:24Z</dc:date>
    </item>
    <item>
      <title>Re: Error connecting Postgres with Gateway</title>
      <link>https://community.fabric.microsoft.com/t5/Report-Server/Error-connecting-Postgres-with-Gateway/m-p/4340310#M39023</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;Hello,&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="904031" data-lia-user-login="rinogattuso" class="lia-mention lia-mention-user"&gt;rinogattuso&lt;/a&gt; .I am gald to help you.&lt;BR /&gt;I found the relevant issue link from my browser, hope it helps.&lt;BR /&gt;URL:&lt;/P&gt;
&lt;P lang="x-none"&gt;&lt;A href="https://learn.microsoft.com/en-us/power-query/connectors/postgresql#prerequisites" target="_blank" rel="noopener"&gt;Power Query PostgreSQL connector - Power Query | Microsoft Learn&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;
&lt;P&gt;&lt;img /&gt;&lt;/P&gt;
&lt;P&gt;And I've noticed that some users try to use the ODBC connector instead of the PostgreSQL connector, but be aware that you'll need to reconfigure the data source and may need to modify the query.&lt;BR /&gt;URL:&lt;BR /&gt;&lt;A href="https://community.fabric.microsoft.com/t5/Power-Query/Configure-Gateway-to-connect-to-PostgreSQL/td-p/478150" target="_blank" rel="noopener"&gt;&lt;SPAN&gt;Solved: Configure Gateway to connect to PostgreSQL - Microsoft Fabric Community&lt;/SPAN&gt;&lt;/A&gt;&lt;SPAN&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;A href="https://community.fabric.microsoft.com/t5/Power-Query/PostgreSQL-connection-through-On-premise-Data-Gateway/td-p/115736/page/2" target="_blank" rel="noopener"&gt;&lt;SPAN&gt;Solved: PostgreSQL connection through On-premise Data Gate... - Page 2 - Microsoft Fabric Community&lt;/SPAN&gt;&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;If you need to use a gateway to connect to PostgreSQL, using ODBC is also a good idea.&lt;BR /&gt;Using ODBC is also a suggestion to try.&lt;BR /&gt;URL:&lt;BR /&gt;&lt;A href="https://dataintoresults.com/post/powerbi-and-postgresql-ssl-lets-encrypt-and-gateway/" target="_blank"&gt;PowerBI and PostgreSQL : SSL, Let’s encrypt and Gateway&lt;/A&gt;&lt;BR /&gt;&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;/P&gt;</description>
      <pubDate>Thu, 26 Dec 2024 02:50:07 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Report-Server/Error-connecting-Postgres-with-Gateway/m-p/4340310#M39023</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2024-12-26T02:50:07Z</dc:date>
    </item>
    <item>
      <title>Re: Error connecting Postgres with Gateway</title>
      <link>https://community.fabric.microsoft.com/t5/Report-Server/Error-connecting-Postgres-with-Gateway/m-p/4346119#M39064</link>
      <description>&lt;P&gt;Hi,&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="904031" data-lia-user-login="rinogattuso" class="lia-mention lia-mention-user"&gt;rinogattuso&lt;/a&gt; .Merry Christmas to you.&lt;BR /&gt;I subsequently configured the relevant pbix reports according to the official documentation and successfully completed the refresh operation on Service&lt;BR /&gt;I hope you find the following test helpful.&lt;/P&gt;
&lt;LI-CODE lang="markup"&gt;My
servername:
localhost:5432
&lt;/LI-CODE&gt;
&lt;P&gt;&lt;BR /&gt;I use the version :PostgreSQL 17&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;
&lt;P&gt;&lt;img /&gt;&lt;/P&gt;
&lt;P&gt;&lt;img /&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;img /&gt;&lt;/P&gt;
&lt;P&gt;There was a problem at the beginning.&lt;BR /&gt;&lt;BR /&gt;Requires version 4.0.10 or earlier (do not download newer versions)&lt;/P&gt;
&lt;P lang="x-none"&gt;&lt;A href="https://github.com/npgsql/npgsql/releases/tag/v4.0.10" target="_blank"&gt;Release Npgsql v4.0.10 · npgsql/npgsql · GitHub&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&lt;img /&gt;&lt;/P&gt;
&lt;P&gt;Note that you must check the box for&lt;/P&gt;
&lt;P&gt;&lt;img /&gt;&lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;After successful installation restart the computer (you have to restart the computer)&lt;/STRONG&gt;&lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;Log in to the power bi service and configure the on process gateway.&lt;/STRONG&gt;&lt;/P&gt;
&lt;P&gt;&lt;img /&gt;&lt;/P&gt;
&lt;P&gt;&lt;img /&gt;&lt;/P&gt;
&lt;P&gt;&lt;img /&gt;&lt;/P&gt;
&lt;P&gt;When the gateway is set up correctly, the data source credentials issue is automatically resolved as well&lt;BR /&gt;PostgreSQL Refresh Successful.&lt;/P&gt;
&lt;P&gt;&lt;img /&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;img /&gt;&lt;/P&gt;
&lt;P&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;
&lt;P lang="x-none"&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 30 Dec 2024 09:30:08 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Report-Server/Error-connecting-Postgres-with-Gateway/m-p/4346119#M39064</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2024-12-30T09:30:08Z</dc:date>
    </item>
  </channel>
</rss>

