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

July 7 - July 17 | Round 2 of the Power BI Dataviz World Championships. Don't miss your chance! Learn more

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
FabCon and SQLCon Barcelona 2026

FabCon & SQLCon – Barcelona 2026

Join us in Barcelona for FabCon and SQLCon, the Fabric, Power BI, SQL, and AI community event. Save €200 with code FABCMTY200.

60 days of Data Days Carousel

Data Days 2026

Join Fabric Data Days 2026: 60 days of free live/on-demand sessions, challenges, study groups, and certification opportunities.

Power BI DataViz World Championships carousel

Power BI DataViz World Championships - June 2026

A new Power BI DataViz World Championship is coming this June! Don't miss out on submitting your entry.