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

Find everything you need to get certified on Fabric—skills challenges, live sessions, exam prep, role guidance, and more. Get started

Reply
alexkelly101757
Frequent Visitor

Powerbi and SQL Express giving unable to connect

Hello,

 

When I run power bi get data im getting the follow error:

 

"Unable to connect

We encountered an error while tryig to connect

 

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: Named Pipes Provider, error: 40 - Could not open a connection to SQL Server)""

 

The database I'm connecting to is a SQLEXPRESS and I've used the connect <servername>\SQLEXPRESS.   I can connect to a SQL server 2012 without issue.  I just cant connect to SQL Express.  Any advice welcome 

 

Thanks 

1 REPLY 1
v-yulgu-msft
Microsoft Employee
Microsoft Employee

Hi @alexkelly101757,

 

Are you able to connect from other tools, such as Access or SSMS (installed locally using the same credentials)? Have you tried connecting using IP address instead of name, or specifying the database name vs. leaving it blank? 

 

Please follow the article below to troubleshoot this connection error.

Troubleshoot Connecting to the SQL Server Database Engine

Exception: A network-related or instance-specific error while establishing a connection to SQL Serve...

 

Regards,

Yuliana Gu

Community Support Team _ Yuliana Gu
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

Helpful resources

Announcements
Europe Fabric Conference

Europe’s largest Microsoft Fabric Community Conference

Join the community in Stockholm for expert Microsoft Fabric learning including a very exciting keynote from Arun Ulag, Corporate Vice President, Azure Data.

July 2024 Power BI Update

Power BI Monthly Update - July 2024

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

July Newsletter

Fabric Community Update - July 2024

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