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

Enhance your career with this limited time 50% discount on Fabric and Power BI exams. Ends September 15. Request your voucher.

Reply
callenbkd
Helper II
Helper II

Creating a Connection using OLE DB

Greetings. 

 

I'm trying to set up a connection using OLE DB. 

 

I am able to connect from Power BI Desktop. 

 

I'm using this connection string. provider=SQLNCLI11.1;initial catalog=Viewpoint;data source=servername

 

(Servername is substituted for the server name.)

 

I'm getting this message: 

 

Unable to create connection for the following reason: Unable to connect to the data source. Either the data source is inaccessible, a connection timeout occurred, or the data source credentials are invalid. Please verify the data source configuration and contact a data source administrator to troubleshoot this issue.

 

 

3 REPLIES 3
callenbkd
Helper II
Helper II

We do have an enterprise gateway installed.

Please confirm that the gateway VMs can see the database - for example via SSMS.

lbendlin
Super User
Super User

Assuming that is an on-premise data source this means that you need to have an (enterprise) gateway as well if you want this to refresh in the service.

Helpful resources

Announcements
August Power BI Update Carousel

Power BI Monthly Update - August 2025

Check out the August 2025 Power BI update to learn about new features.

August 2025 community update carousel

Fabric Community Update - August 2025

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

Top Solution Authors
Top Kudoed Authors