Skip to Main Content

Oracle Developer Tools for Visual Studio

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

Update Wizard - Oracle.ManagedDataAccess.Client.OracleConnection is invalid

Gabe AugFeb 25 2025

If I do
“Update Model From Database…”
and select a connection which passed
“Test connection”
I will get:
“Oracle.ManagedDataAccess.Client.OracleConnection is invalid”

I have following versions installed:
- ODAC21.16Xcopy_x64 - all
- Oracle-Client-for-Microsoft-Tools-64-bit.exe Version 19.21
- Oracle Developer Tools for Visual Studio Version 23.6.0

Following packages I use:
- EntityFramework version="6.5.1"
- Oracle.ManagedDataAccess version="21.9.0"
- Oracle.ManagedDataAccess.EntityFramework version="21.9.0"

Project info:
- VB .NET v4.8
- only 64x bit
- connection string: metadata=res://*/Entities.Reference.csdl|res://*/Entities.Reference.ssdl|res://*/Entities.Reference.msl;provider=Oracle.ManagedDataAccess.Client;provider connection string="USER ID=USERNAME;DATA SOURCE=DBSOURCE;TNS_ADMIN=C:\oracle\network\admin"

The error message is:
See the end of this message for details on invoking
just-in-time (JIT) debugging instead of this dialog box.

************** Exception Text **************
System.ArgumentException: Oracle.ManagedDataAccess.Client.OracleConnection is invalid
at Oracle.ManagedDataAccess.EntityFramework.EFOracleProviderServices.GetDbProviderManifestToken(DbConnection connection)
at System.Data.Entity.Core.Common.DbProviderServices.GetProviderManifestToken(DbConnection connection)

Loaded Assemblies.txt

Comments
Post Details
Added on Feb 25 2025
10 comments
1,062 views