Forum Discussion

JaviGoldstein's avatar
JaviGoldstein
New Member
2 years ago

Microsoft SQL: A connection was successfully established with the server, but then an error occurred

Hi.  I am  getting the following error on ALL of my power bi desktop packages:

 

Microsoft SQL: A connection was successfully established with the server, but then an error occurred during the login process. (provider: SSL Provider, error: 0 - The certificate chain was issued by an authority that is not trusted.)

 

I've seen posts about this and people recommending using an MSFT account to log into the SQL server. However, I use a VPN directly to the SQL server with database credentials.   Any ideas?   Thx  

13 Replies

    • JaviGoldstein's avatar
      JaviGoldstein
      New Member

      ugh...I don't have access to the db server to create the cert.   So frustrating, I've been connecting for more than a year and all of the sudden this happened.   I've got to think its something with the latest Power BI desktop update.

  • Anonymous's avatar
    Anonymous
    Not applicable

    Hi JaviGoldstein ,

     

    Please try updating Power BI Desktop to the latest version.
    Other than that please refer to the replies to this post, he may be helpful to you.

     

    Best Regards,

    Neeko Tang

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

     

    • DarshG's avatar
      DarshG
      Frequent Visitor

      This worked for me. Thanks a lot!

  • Anonymous's avatar
    Anonymous
    Not applicable

    I am experiencing a similar issue. I have connected in PBI Desktop to an azure based SQL server. Encryption box is not checked. Today when I refresh the dataset locally in PBI desktop, I am getting this issue. This has never happened before. I have tried changing encryption to be turned on and off (which it was originally). I have also tried using Microsoft account and also databse credentials and neither works. I can connect in SSMS to the same database. 

     

    • JaviGoldstein's avatar
      JaviGoldstein
      New Member

      Greg_Deckler unfortunately, that doesn't work for me.   The really strange thing is that I can connect via SSMS but not via PowerBI.   

      • minortje's avatar
        minortje
        Regular Visitor

        Experiencing the same issues, since yesterday ...

  • jmalone's avatar
    jmalone
    Icon for Resolver III rankResolver III

    This is happening to me as well. It's absolutely something with the February 2024 desktop release. I also installed the latest gateway release (Feb 2024) and had the same issue with the service. Had to roll back to previous versions on each.

     

    I tried the recommended fixes with the ado.net (use FQDN, check server certificate), but nothing is working. Very frustrating.

  • Anonymous's avatar
    Anonymous
    Not applicable

    I opened a ticket with Microsoft a couple of weeks ago about this issue. They just called to inform me that this issue exists in the Feb version and will be resolved with the March release. In the meantime, they advised to roll back to the December 2023 version which I have done and that is working. However, I did have to get my local IT assistance to install the December 2023 version from the manual install because I needed admin rights to install on my work computer. Usually I use the store version which has no option to roll back. 

    -----------------------

    UPDATE: Right after I posted this a different Microsoft tech just called me and said a newer Feb version number  was released 3/2 and does work. But you have to check encrypt connection on your data source settings.  I tried this on the call and it did work. Apologize for the confusion, two different techs with different information. 

  • Vogan's avatar
    Vogan
    Frequent Visitor

    This just started happening with me out of the blue.  It looks like my system was just updated with June 2024 version.  Looks like they haven't fixed the problem.  I tried adding environment variable to my computer system but that didn't resolve it.  IT is contacting Microsoft to resolve.