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
jkouloukas
Frequent Visitor

Cannot Load Data Model SQL Server Error 40

Hello all,

 

I am having issues connecting to Power BI Desktop. Everytime I try to open a PBIX file, an error message reads "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)" Once I close that out, I am able to see the data model but I am unable to see the visualizations. I have looked online to find problems like this, but I have not found a solution that has worked. 

1 REPLY 1
d_gosbell
Super User
Super User

This does not sound like an issue with Power BI as such but it sounds like there is a permissions or network issue with the data source for the file you are attempting to open.

 

You would get this sort of error if you were trying to open an existing PBIX file that has been setup with a direct query data source and you either do not have permissions to the data source or the data source is not accessible (this could happen if you are working from home and you've opened the pbix from onedrive, but are not connected to your work network). You might need to request assistance from you DBA or IT team to help resolve this.

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.

Top Solution Authors