Forum Discussion

Vasco's avatar
Vasco
New Member
10 years ago
Solved

SQL Server Named Pipes Provider, error: 40

Hi Power BI Experts,

 

I have been using successfully Power BI Desktop connected to an Access Web App located in MS Cloud service.

 

Everything was running amazingly smoothly until now. The problem is when I try to refresh the data, I receive the following error message ( the text may not be 100% accurate as I am translating it from portuguese):

"Microsoft SQL: There was an error related with the network or specific to the instance when establishing the connection to Server. The server was not found or was not accessible. Verify the name of the instance is correct and the SQL Server is configured to allow remote connections.(provider: Named Pipes Provider, error: 40 - It was not possible to open a connection to the SQL Server)"

 

I have recently installed Windows 10 in my computer and this was one this difficulty started.
Do I need to install SQL Server on top of Windows 10? If yes, what version?

 

I have double-check the server name and the database name. I dont see any place to put the username and password.
Is there any other configuration I need to do?

 

Any help to overcome this difficulty will be very appreciated.

Thanks in advance,

Vasco from Sintra (Portugal)

  • Go to File -> Options & Settings -> Data Source settings. A window with all connections you have will appear. Select the SQL connection and at the bottom of the window click edit..Update the credentials.

     

    Hope this is your problem

     

4 Replies

  • MattAllington's avatar
    MattAllington
    Community Champion

    No you don't need to install SQL Server. It seems that something has changed and you can no longer connect to the DB (but I guess you know that). It may not be related to Power BI at all - you need to test it. Are you able (or even know how) to connect to the DB not using Power BI?  I would try that first and see if you can connect. 

    • Vasco's avatar
      Vasco
      New Member

      MAllington, thank you for your help in delimiting the problem.

      I have successfuly connect to the same DB via an Excel Sheet. Power BI Service (Online) is refreshing smoothly also.
      The problem is restricted to Power BI Desktop.
      Any further help to solve this issue will be really appreciated.
      Thanks in advance,

      Vasco 

      • konstantinos's avatar
        konstantinos
        Memorable Member

        Go to File -> Options & Settings -> Data Source settings. A window with all connections you have will appear. Select the SQL connection and at the bottom of the window click edit..Update the credentials.

         

        Hope this is your problem