Forum Discussion
Unable to connect Power BI to SQL server db on the same computer
Error is always:
"Microsoft SQL: 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: 26 - Error Locating Server/Instance Specified)"
and I have verified many times the points 1., 2., 3., always ok
I have tried also with a sql server connection, not onlt with windows connection, and I have create a user on db with permissions,
but the problem is always the same
- Anonymous8 years agoNot applicable
perpor,
How about you connect to SQL Server in Excel and write query?
Regards,
Lydia- perpor8 years agoHelper V
I have the same error...
- Anonymous8 years agoNot applicable
perpor,
There are some proposals for you troubleshooting this issue.
1. Enable TCP/IP in SQL Server Configuration Manager(SSCM).
2. Configure a static port for your SQL instance in SSCM.
3. Restart SQL Server Service in SSCM.
4. Launch Power BI desktop with admin privileges, go to “File –> Options and Settings –> Options –> Data Load” to clear cache in Power BI Desktop, then connect to SQL Server by using "tcp:machinename,port" as Server, and write query to check if the connection is successful.
If you still get error, please post the screenshot about the connection in Power BI Desktop.
Regards,