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

Join us at FabCon Atlanta from March 16 - 20, 2026, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM. Register now.

Reply
Account123
Frequent Visitor

Connecting to datasource via VPN?

For reasons I dont fully understand powerbi will randomly stop working when I remotely try to access my dashboards via VPN, it gives this error:

 

Error Message:
A network-related or instance-specific error occurred while establishing a connection to SQL Server. The server was not found or was not accessible. Verify that the instance name is correct and that SQL Server is configured to allow remote connections. (provider: SQL Network Interfaces, error: 26 - Error Locating Server/Instance Specified). The exception was raised by the IDbConnection interface.

 

Im thinking maybe its trying to connect via the local LAN and not going through my companys VPN, is that possible? I tried changing creditenials to validate based on database but when i tried to refresh my data I instead got an error saying I couldnt combine direct query and imported data (I have no imported data in my dashboard)

 

Any tips?

 

1 REPLY 1
v-yulgu-msft
Microsoft Employee
Microsoft Employee

Hi @Account123,

 


Error Message:
A network-related or instance-specific error occurred while establishing a connection to SQL Server. The server was not found or was not accessible. Verify that the instance name is correct and that SQL Server is configured to allow remote connections. (provider: SQL Network Interfaces, error: 26 - Error Locating Server/Instance Specified). The exception was raised by the IDbConnection interface. 


 

For above error message, if you have provided correct instance name and valid credential, it looks like more related to SQL server configuration. You should make sure the SQL data source allows remote connections. Here are some similar threads for your reference to troubleshoot this problem:

SQL Network Interfaces, error: 26 - Error Locating Server/Instance Specified

provider: SQL Network Interfaces, error: 26 - Error Locating Server/Instance Specified

Not connecting to SQL Server over VPN

 


I instead got an error saying I couldnt combine direct query and imported data (I have no imported data in my dashboard)

 


So, everything worked fine after fetching data from remote SQL DB until you refreshed data, right? Did you make any modification to data? Any unsupported operation by Direct Query will result in above error. 

 

Best regards,
Yuliana Gu

Community Support Team _ Yuliana Gu
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

Helpful resources

Announcements
FabCon Global Hackathon Carousel

FabCon Global Hackathon

Join the Fabric FabCon Global Hackathon—running virtually through Nov 3. Open to all skill levels. $10,000 in prizes!

October Power BI Update Carousel

Power BI Monthly Update - October 2025

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

FabCon Atlanta 2026 carousel

FabCon Atlanta 2026

Join us at FabCon Atlanta, March 16-20, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.