Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 

Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.

Reply
faiz_saiyed
New Member

Trying to connect PowerBI to Database sitting on a server

First time I am using PowerBI and trying to get the data source working.

What I am doing to connect at the moment:

 

  1. Click on 'Get Data'
  2. Select 'SQL Server database'
  3. Where it says Server I enter server(ip address name) and the SQL instance name on the server e.g. 1.1.1.1\MSSQLSERVER

Its weird because sometimes it takes me to the next page where the options displayed are Windowsand Database. I have tried using the login I would use on remote connection to get into the server but no luck. It throws the error:

 

Details: "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: 25 - Connection string is not valid)"

 

1 REPLY 1
leonardmurphy
Skilled Sharer
Skilled Sharer

MSSQLSERVER is the default instance for SQL Server, so instead of 1.1.1.1\MSSQLSERVER, try simply 1.1.1.1.

 

At least that worked for me. The error is odd, though; seems like a bug. I'm not sure what would happen if you were trying to connect to a named instance as I don't have a named instances to test against. If this only happens when connecting to default instances, probably not a big deal.

 

Cross-posted here: http://stackoverflow.com/questions/42389844/trying-to-connect-powerbi-to-database-sitting-on-a-serve...

---
In Wisconsin? Join the Madison Power BI User Group.

Helpful resources

Announcements
Microsoft Fabric Learn Together

Microsoft Fabric Learn Together

Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City

PBI_APRIL_CAROUSEL1

Power BI Monthly Update - April 2024

Check out the April 2024 Power BI update to learn about new features.

April Fabric Community Update

Fabric Community Update - April 2024

Find out what's new and trending in the Fabric Community.