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

Earn a 50% discount on the DP-600 certification exam by completing the Fabric 30 Days to Learn It challenge.

Reply
Romancu
New Member

TNS: connection closed ORA-12537

Hello, 

my Semantic model is using multiple data sources. One of those is Oracle ODBC.

If i refresh data using PBI Desktop everything is working. 

But my published version in Service is giving me this error after trying to refresh data :

 

Data source error{"error":{"code":"DM_GWPipeline_Gateway_MashupDataAccessError","pbi.error":{"code":"DM_GWPipeline_Gateway_MashupDataAccessError","parameters":{},"details":[{"code":"DM_ErrorDetailNameCode_UnderlyingErrorCode","detail":{"type":1,"value":"-2147467259"}},{"code":"DM_ErrorDetailNameCode_UnderlyingErrorMessage","detail":{"type":1,"value":"ODBC: ERROR [HY000] [Oracle][ODBC][Ora]ORA-12537: TNS: connection closed\n\r\nERROR [IM006] [Microsoft][ODBC Driver Manager] Driver's SQLSetConnectAttr failed\r\nERROR [HY000] [Oracle][ODBC][Ora]ORA-12537: TNS: connection closed\n"}},{"code":"DM_ErrorDetailNameCode_UnderlyingHResult","detail":{"type":1,"value":"-2147467259"}},{"code":"Microsoft.Data.Mashup.ValueError.DataSourceKind","detail":{"type":1,"value":"Odbc"}},{"code":"Microsoft.Data.Mashup.ValueError.DataSourcePath","detail":{"type":1,"value":"dsn=SPINSK64"}},{"code":"Microsoft.Data.Mashup.ValueError.OdbcErrors","detail":{"type":1,"value":"#table({\"SQLState\", \"NativeError\", \"Message\"}, {})"}},{"code":"Microsoft.Data.Mashup.ValueError.Reason","detail":{"type":1,"value":"DataSource.Error"}}],"exceptionCulprit":1}}} Table: XYZ 

 

Every time i tried to refresh this error came up but with different Table name  ( XYZ, ABC, ...)

 

But when i try to refresh it 4th 5th time the refresh will take place in order with no error.  This problem is causing me complications because of Schedule refresh.

 

Has anyone encountered a similar problem?

Thanks

 

1 REPLY 1
v-rongtiep-msft
Community Support
Community Support

Hi @Romancu ,

TNS: connection closed error you're encountering with your Oracle ODBC data source in Power BI Service. This error typically indicates a problem with the network connection between the Power BI service and your Oracle database, or a configuration issue on the Oracle server side.

If it does not help, please provide more details.

 

Best Regards
Community Support Team _ Rongtie

If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

 

Helpful resources

Announcements
LearnSurvey

Fabric certifications survey

Certification feedback opportunity for the community.

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.

Top Solution Authors
Top Kudoed Authors