← All Power BI refresh errors

Connectivity

The server was not found or was not accessible (SQL error 40)

Error code: sql-server-not-found

Power BI dataset refresh error — what it means and how to fix it.

What this means

SQL "error 40": wrong instance, server down, remote connections disabled, or a firewall block.

How to fix it

  1. Verify the instance name, that the server is running, and that remote connections are enabled.
  2. Open port 1433 and the SQL Browser service.
  3. Add retries for transient failures.
View on Microsoft Learn

Related connectivity errors

Catch this automatically

RefreshRadar monitors every Power BI dataset refresh and alerts you the moment one fails — with the likely cause and the fix — so you never hear about a broken refresh from your stakeholders first.

Start free