Page 1 of 1

Unable to convert an object of type 'Devart.Data.Oracle.OracleConnection' to type 'System.Data.SqlClient.SqlConnection'.

Posted: Fri 10 Jan 2020 14:19
by robertocdill
We have a C # system that already runs on multiple clients. In a specific client the following error is occurring:

Unable to convert an object of type 'Devart.Data.Oracle.OracleConnection' to type 'System.Data.SqlClient.SqlConnection'.

The environment data is as follows:
Windows Server 2012R2 Standard 64bits

Name=OraClient11g_home1_32bit
NLS_LANG=BRAZILIAN PORTUGUESE_BRAZIL.WE8MSWIN1252
PATH=C:\Oracle\product\11.2.0\client_1
TNS_ADMIN=

Oracle Database 12c Standard Edition Release 12.2.0.1.0 - 64bit Production
PL/SQL Release 12.2.0.1.0 - Production
CORE 12.2.0.1.0 Production
TNS for Linux: Version 12.2.0.1.0 - Production
NLSRTL Version 12.2.0.1.0 - Production

Devart.Data 5.0.260.0
Devart.Data.Oracle 6.30.160.0
Decart.Data.Oracle.Entity 6.30.160.0

Would you have any tips or suggestions

Thanks in advance.
Roberto

Re: Unable to convert an object of type 'Devart.Data.Oracle.OracleConnection' to type 'System.Data.SqlClient.SqlConnecti

Posted: Sat 11 Jan 2020 19:05
by Shalex
Please send us a small test project so that we can reproduce the issue in our environment.