Get certified in Microsoft Fabric—for free! For a limited time, the Microsoft Fabric Community team will be offering free DP-600 exam vouchers. Prepare now
Gateway shows up, says "Online: You are good to go." Type in everything and get this.... What's going on? Others are able to create the datasource but me using same information...
Solved! Go to Solution.
The gateway keys data source off of server name/database name...you can't have two connections to the same source in the gateway. A data souce only need be added once.
How are you trying to authenticate?
Hi @Anonymous ,
Please check if you are the admin of the gateway. Please refer to this official document.
To use an on-premises data source in a dataflow, any user creating the dataflow must have an Enterprise Gateway installed and configured. The user creating the dataflow also must be the Enterprise Gateway's administrator in order to use that gateway for a dataflow.
Best Regards,
Icey
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
The error just happens trying to create a new connection to SQL Server? The users it is working fine for are using other connections?
I have to enable HTTPS in the gateway config on the host computer in my company for it to work. You can also enabling logging in the gateway and see if there's more useful error messages in there: https://docs.microsoft.com/en-us/power-bi/service-gateway-onprem-tshoot
This is the first connection, again... this is just a test walkthru we're doing with the gateway. The local MSSQL server has just a single DB that we're using to test with. We installed MSSQL, loaded the DB, installed the gateway, init'ed the gateway with our pbi tenant. A user then was able to create a datasource using the gateway without issue, then the next user (me) tried the same thing and got "unexpected error"
The gateway keys data source off of server name/database name...you can't have two connections to the same source in the gateway. A data souce only need be added once.
Also, FYI, if you do need two connections with different credentials, you can edit the HOSTS file and alias IP addresses. You would add something like:
127.0.0.1 myconnection
127.0.0.1 otherconnection
and then you could refer to the data source as "myconnection" or "otherconnection" in the gateway with different creds.
You would have to update the HOSTS file on your computer(s) running Power BI Desktop, and server running the gateway...and in your reports, refer to the data source as one of those names. 🙂
Check out the October 2024 Power BI update to learn about new features.
Learn from experts, get hands-on experience, and win awesome prizes.