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

Scheduled refresh fails frequently(not always)

Hi,

 

I have report on PowerBi service in a workspace which was scheduled to run every hour. Workspace used to be a premium capacity workspace, not anymore. Yet there are 23 slots for every hour in refresh frequency. 

Problem: Sometimes the scheduled refresh completes. But most of the times it fails with an error. 

Underlying error message: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)

Capture.JPG

3 REPLIES 3
GilbertQ
Super User
Super User

Hi there

From your error it would appear that the connectivity from your Gateway server to the SQL Server cannot connect.

I would log into the gateway server and verify that you can successfully connect to the SQL Server.




Did I answer your question? Mark my post as a solution!

Proud to be a Super User!







Power BI Blog

I am certain that the gateway can successfully connect to the SQL Server.
The scheduled refresh completes successfully sometimes. Also, If I refresh the dataset manually it works all the time. 

I have attached a screenshot of refresh history in my first message.

 

 

I would enable the logs on the Gateway server and see what happens when the refresh fails.




Did I answer your question? Mark my post as a solution!

Proud to be a Super User!







Power BI Blog

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 Kudoed Authors