Exception at runtime
Posted: Thu 13 Oct 2022 06:41
After updating "dotConnect for Oracle" from version 9.x to 10.0 I'm getting an exception at runtime:
Exception ocurs at: System.Data.EntityCommandCompilationException: 'An error occurred while preparing the command definition. See the inner exception for details.'
Inner Exception message:
"Inheritance security rules violated by type: 'Devart.Common.Entity.ei'. Derived types must either match the security accessibility of the base type or be less accessible."
Source: "Devart.Data.Oracle.Entity.EF4"
Stacktrace: at Devart.Common.Entity.ew.c()
at Devart.Data.Oracle.Entity.OracleEntityProviderServices.CreateDbCommandDefinition(DbProviderManifest baseProviderManifest, DbCommandTree commandTree)
at System.Data.EntityClient.EntityCommandDefinition..ctor(DbProviderFactory storeProviderFactory, DbCommandTree commandTree)
Tried to remove and add references a dozen times, and I'm still stuck, what should I do to fix this?
Thank you.
Exception ocurs at: System.Data.EntityCommandCompilationException: 'An error occurred while preparing the command definition. See the inner exception for details.'
Inner Exception message:
"Inheritance security rules violated by type: 'Devart.Common.Entity.ei'. Derived types must either match the security accessibility of the base type or be less accessible."
Source: "Devart.Data.Oracle.Entity.EF4"
Stacktrace: at Devart.Common.Entity.ew.c()
at Devart.Data.Oracle.Entity.OracleEntityProviderServices.CreateDbCommandDefinition(DbProviderManifest baseProviderManifest, DbCommandTree commandTree)
at System.Data.EntityClient.EntityCommandDefinition..ctor(DbProviderFactory storeProviderFactory, DbCommandTree commandTree)
Tried to remove and add references a dozen times, and I'm still stuck, what should I do to fix this?
Thank you.