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

Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.

Reply
h4tt3n
Resolver II
Resolver II

Connect PBI desktop to local Microsoft sql server on same device?

Hello fellow developers,

 

I want to test a report against a local Microsoft SQL server (2019) that is installed and populated with test data on my local machine. I have no problem accessing and manipulating the database through SSMS, but I can't log into the db through PBI. What am I missing?

 

Help and advice is much appreciated.

 

Thanks in advance, Mike

2 ACCEPTED SOLUTIONS

It seems you have encrypted connection enabled. 

Pls check this article 

https://docs.microsoft.com/en-us/troubleshoot/sql/connect/error-message-when-you-connect

 

 

View solution in original post

5 REPLIES 5
MiraAciu
Regular Visitor

Hi Mike,

 

I presume you are using Windows auth on both systems as they are local. 

SSMS is a 32 bit app, Power BI Desktop can be installed on 32 or 64 bit. Check on SQL Server 2019 Configuration Manager if Shared Memory is enabled for both 32 and 64 aplications(SQL Native client configuration -> client protocols). To be sure enable all protocols.

Or, maybe, is better to post the error message here 🙂

@MiraAciu I get the following error:

h4tt3n_0-1611056355015.png

 

It seems you have encrypted connection enabled. 

Pls check this article 

https://docs.microsoft.com/en-us/troubleshoot/sql/connect/error-message-when-you-connect

 

 

amitchandak
Super User
Super User

Thanks, you both were very helpful.

 

Helpful resources

Announcements
Microsoft Fabric Learn Together

Microsoft Fabric Learn Together

Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City

PBI_APRIL_CAROUSEL1

Power BI Monthly Update - April 2024

Check out the April 2024 Power BI update to learn about new features.

April Fabric Community Update

Fabric Community Update - April 2024

Find out what's new and trending in the Fabric Community.