Join us for an expert-led overview of the tools and concepts you'll need to pass exam PL-300. The first session starts on June 11th. See you there!
Get registeredPower BI is turning 10! Let’s celebrate together with dataviz contests, interactive sessions, and giveaways. Register now.
Hi,
I want to connect to Powerbi premium Workspace to postgreSQL RDS hosted in aws. Having issue to connect to AWS PostgreSQL RDS from PowerBi Premium workspace.
Following steps were taken in windows aws ec2.
When creating a powerbi premium workspace - new connection to aws postgreSQL rds, via on-premises option. [since powerbi recommending on-premises option even though rds is in aws cloud] - note: there is cloud option but Azure recommends to use mainly for Azure fabric env.
Passed the following information correctly:
Connection String - aws rds end point, username and password and selected gateway adapter from the drop down, and tried all three different options individually like private, none, org and public, when the connection occurs, i am getting the following error:
Unable to create connection for the following reason: Unable to connect to the data source. Either the data source is inaccessible, a connection timeout occurred, or the data source credentials are invalid. Please verify the data source configuration and contact a data source administrator to troubleshoot this issue.
Please install Npgsql version 4.0.17.0 or earlier.
if any one faced similar issue like above, somehow, it shows npgsql 4.0.17.0 earlier even though the current npgsql version is 9.0. Please let me know. I couldn't find any solution and tried all the options.
Our goal is to use Network gateway adapter should be visible in powerbi workspace, so users can query the rds table and views to generate the report and refresh the report.
Thanks in advance.
Solved! Go to Solution.
Hi @mnatarajan ,
Just wanted to check if you had the opportunity to review the suggestion provided?
If the response has addressed your query, please Accept it as a solution and give a 'Kudos' so other members can easily find it.
Thank You
Thank you for the quick response. Yes, it worked with a few tweaks done.
Rest everything works good as expected, the connection was successful from PBI desktop to Workspace, and report was published. Only thing, i noticed after publishing the reports from powerbi desktop to workspace, next to the semantic model it shows: Processing error: We are unable to access some data source because the artifact is missing connection details. Please contact the artifact owner to bind the data source to a data connection or use default connection settings for the unbound data source. with the cluster uri, activity id etc. Another thing, if we open the report using the option like analyze report in excel, there it shows an error like data source unreachable, there is no gateway to access to data source, but gateway connection was successful both in gateway adapter and in workspace configuration using db server, credentials etc. Please let me know if you have any additional information for this error.
Thank you for the quick response. Yes, it worked with a few tweaks done.
Rest everything works good as expected, the connection was successful from PBI desktop to Workspace, and report was published. Only thing, i noticed after publishing the reports from powerbi desktop to workspace, next to the semantic model it shows: Processing error: We are unable to access some data source because the artifact is missing connection details. Please contact the artifact owner to bind the data source to a data connection or use default connection settings for the unbound data source. with the cluster uri, activity id etc. Another thing, if we open the report using the option like analyze report in excel, there it shows an error like data source unreachable, there is no gateway to access to data source, but gateway connection was successful both in gateway adapter and in workspace configuration using db server, credentials etc. Please let me know if you have any additional information for this error.
Hi @mnatarajan ,
Just wanted to check if you had the opportunity to review the suggestion provided?
If the response has addressed your query, please Accept it as a solution and give a 'Kudos' so other members can easily find it.
Thank You
Hi @mnatarajan ,
Just wanted to check if you had the opportunity to review the suggestion provided?
If the response has addressed your query, please Accept it as a solution and give a 'Kudos' so other members can easily find it.
Thank You
Hi @mnatarajan ,
You can follow these steps to troubleshoot-
1. Clean Npgsql Installation-
Power BI only supports Npgsql 4.0.10–4.0.17.
Uninstall all Npgsql versions (nuget uninstall, remove from GAC)
Manually install Npgsql 4.0.17 MSI installer
Install it on the same EC2 instance as the Gateway
Reboot the machine
Check if it appears in:
C:\Program Files (x86)\Npgsql\4.0.17\lib\net45\Npgsql.dll
Copy this file to:
C:\Program Files\On-premises data gateway\
(Or wherever the gateway is installed)
2. Register Npgsql in GAC (Global Assembly Cache)
Open a Developer Command Prompt (as Admin):
gacutil /i "C:\Program Files (x86)\Npgsql\4.0.17\lib\net45\Npgsql.dll"
Ensure Power BI Gateway Service is running under a Local Admin account or a service account that has access to Npgsql.
Go to Power BI Service > Manage Gateways
Select your registered gateway and then Add data source
Additionally you can follow these links-
https://community.fabric.microsoft.com/t5/Desktop/Connect-Desktop-Power-BI-to-AWS-RDS-postgreSQL/td-...
https://docs.aws.amazon.com/whitepapers/latest/using-power-bi-with-aws-cloud/connecting-the-microsof...
User | Count |
---|---|
31 | |
26 | |
20 | |
18 | |
17 |
User | Count |
---|---|
46 | |
31 | |
30 | |
24 | |
24 |