Forum Discussion
Connecting to a remote SQL Server using the DirectQuery method
- 2 years ago
Your original post indicated that when designing a Power BI model that was to connect to SQL Server, you got an error stating that it could not find that SQL server on the network. You are desiggning from you LOCAL MACHINE correct? Does that LOCAL MACHINE have the ability to connect to the SQL Server?
Obviously I do have the credentials (I did manage to set up the gateway which requires db authentication). As I mentioned before: There is no appropriate place to provide the db credentials as well as choosing to connect to the gateway. What I'm asking is if there is a way to connect to a SQL Server which is NOT on my local machine?
The error in the orgininal post indicated that Power BI could not find the SQL Server. Let's start there. Can you connect to that SQL instance via SSMS or some other SQL client FROM YOUR LOCAL MACHINE?
- itays2 years agoRegular Visitor
Yes, from my local machine I can connect with a SQL Server client by providing a Username and Passsword
- ToddChitt2 years agoSuper User
RDP as in Remote Desktop. No, doesn't count. I need you to verify that your LOCAL MACHINE can make a SQL Connection to that server. Do you have SSMS installed locally?
- itays2 years agoRegular Visitor
The machine which has the gateway installed on it has a SSMS client and can connect to the db machine.