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

Get Fabric Certified for FREE during Fabric Data Days. Don't miss your chance! Request now

Reply
jtwohig01
New Member

Power BI Report Builder Can't find SQL Server

Using the same server and database I connect instantly with SSMS, Power BI Desktop, and Power Query in Excel. However, it won't connect in Power BI Report Builder.

 

I am trying to create a paginated report in Power BI Report Builder. I click Get Data, put in the connection data and sign in with my credentials. When I try to connect I get the message:

 

"An exception occurred: DataSource.Error: 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) "

 

If I force a tcp connection I get:

 

"An exception occurred: DataSource.Error: 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: TCP Provider, error: 0 - Not enough memory resources are available to process this command.) "

 

Any idea what is going on?

1 ACCEPTED SOLUTION

There is no gateway involved. It is just an on premises SQL server. There must be something different about how Power Query is implemented in Report Builder from the way it is done in Power BI Desktop or Excel. I ended up creating the report in Excel. Sometimes the old tools still work better than the new ones.

View solution in original post

6 REPLIES 6
Anonymous
Not applicable

Hi @jtwohig01 ,

Based on the description, try to check the SQL Server is set up to allow remote connections.

You can also view the following document to learn more information.

A network-related or instance-specific error occurred - SQL Server | Microsoft Learn

 

Best Regards,

Wisdom Wu

If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

We know that the SQL Server is set up for remote connections and is reachable since SSMS, Power BI Desktop, and Excel Power Query all work. It is only Power BI Report Builder that fails.

Anonymous
Not applicable

Hi,

If using get data to connect SQL Server, gateway data source are not supported.

vjiewumsft_0-1733390075415.png

vjiewumsft_1-1733390082425.png

You can also view the following documents to learn some considerations.

Connect paginated reports to data sources using Power Query - Power BI | Microsoft Learn

Get data with Power Query available in Power BI Report Builder (Preview) | Microsoft Power BI Blog |...

 

Best Regards,

Wisdom Wu

If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

There is no gateway involved. It is just an on premises SQL server. There must be something different about how Power Query is implemented in Report Builder from the way it is done in Power BI Desktop or Excel. I ended up creating the report in Excel. Sometimes the old tools still work better than the new ones.

Anonymous
Not applicable

Hi ,

New tools may not be perfect and some features may not be available. When the version is updated, some of the problem will be resolved. If you have solved the problem, please consider Accept it as the solution to help the other members find it more quickly.

 

Best Regards,

Wisdom Wu

jtwohig01
New Member

I just realized that I can connect creating the data source using the old method in Report Builder but it is Power Query that isn't working. Of course, it was the Power Query functionality I wanted to use.

Helpful resources

Announcements
November Power BI Update Carousel

Power BI Monthly Update - November 2025

Check out the November 2025 Power BI update to learn about new features.

Fabric Data Days Carousel

Fabric Data Days

Advance your Data & AI career with 50 days of live learning, contests, hands-on challenges, study groups & certifications and more!

FabCon Atlanta 2026 carousel

FabCon Atlanta 2026

Join us at FabCon Atlanta, March 16-20, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.

Top Solution Authors
Top Kudoed Authors