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

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now! Learn more

Reply
Ayupchap
Helper III
Helper III

Error refreshing ODBC connection

Hi all

 

OK so I get this error when  try to manually refresh my ODBC data.  Is this not possible to do this?  If I were to create a new one using the same connection details it works fine.

 

The error is as follows

 

DataSource.Error: ODBC: ERROR [HY000] [Oracle][ODBC][Ora]ORA-12170: TNS:Connect timeout occurred

ERROR [IM006] [Microsoft][ODBC Driver Manager] Driver's SQLSetConnectAttr failed
ERROR [HY000] [Oracle][ODBC][Ora]ORA-12170: TNS:Connect timeout occurred

Details:
DataSourceKind=Odbc
DataSourcePath=dsn=PowerSchool WORKS
OdbcErrors=Table

 

 

Any help much appreciated

1 ACCEPTED SOLUTION
v-qiuyu-msft
Community Support
Community Support

Hi @Ayupchap,

 

From your description, it seems this issue happens on Power BI desktop, right?

 

1. Regarding the error "ORA-12170: TNS:Connect timeout occurred", you can try to follow suggestions in this thread to troubleshoot. 

2. Please check if you create a User DSN or System DSN in ODBC administrator, try to create a System DSN instead. 

3. It seems you use ODBC to connect to Oracle database, as there is a built-in Oracle connector in the Power BI desktop, you can use Oracle data source directly. 

4. Please try to run the Power BI desktop in the latest version. 

 

Best Regards,
Qiuyun Yu 

 

 

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

View solution in original post

2 REPLIES 2
v-qiuyu-msft
Community Support
Community Support

Hi @Ayupchap,

 

From your description, it seems this issue happens on Power BI desktop, right?

 

1. Regarding the error "ORA-12170: TNS:Connect timeout occurred", you can try to follow suggestions in this thread to troubleshoot. 

2. Please check if you create a User DSN or System DSN in ODBC administrator, try to create a System DSN instead. 

3. It seems you use ODBC to connect to Oracle database, as there is a built-in Oracle connector in the Power BI desktop, you can use Oracle data source directly. 

4. Please try to run the Power BI desktop in the latest version. 

 

Best Regards,
Qiuyun Yu 

 

 

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

Thanks so much for this, super helpful.  I now have it working amazingly but whats the difference between a user and system DSN?  Are they created in different places?

Helpful resources

Announcements
Power BI DataViz World Championships

Power BI Dataviz World Championships

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now!

December 2025 Power BI Update Carousel

Power BI Monthly Update - December 2025

Check out the December 2025 Power BI Holiday Recap!

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.