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

Discussion of open issues, suggestions and bugs regarding Entity Framework support in ADO.NET Data providers
Post Reply
robertocdill
Posts: 1
Joined: Fri 10 Jan 2020 13:50

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

Post by robertocdill » Fri 10 Jan 2020 14:19

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

Shalex
Site Admin
Posts: 9543
Joined: Thu 14 Aug 2008 12:44

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

Post by Shalex » Sat 11 Jan 2020 19:05

Please send us a small test project so that we can reproduce the issue in our environment.

Post Reply