Forum Discussion
Connect to a SQL Server with Power BI Services
Hey andhiii079845 ,
do you have created a connection to your DB within your gateway (in Service)?
Gateway has to know where to go.
Regards
- MSchultz932 years agoHelper I
That's where I have my problem. The Data Gateway is up and running and I was able to update an excel file using it. But I get an error when I try to connect to my DB within Service.
I was able to connect to it on the desktop using the same credentials- sergej_og2 years agoSuper User
Yes, I have understood your issue.
I have to repeat my question. 🙂
Can you create a new gateway conncetion (you will need one) within Service?
Like this:Then create a new connection to your DB:
- MSchultz932 years agoHelper I
Thank you, however, it does not work I get an error when I do that. See below
"A network-related or instance-specific error occurred while establishing a connection to SQL Server. The server was not found or was not accessible. Verify that the instance name is correct and that SQL Server is configured to allow remote connections. (provider: SQL Network Interfaces, error: 25 - Connection string is not valid)"