Skip to Main Content

ODP.NET

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!

Oracle.ManagedDataAccess throws Exceptions when exists block in .config

I have a project developed in framework 4.7.2.

After updating Oracle.ManagedDataAccess from version 4.122.19.1 to version 4.122.23.1 there is an error when starting the service.

Error: Description: The process was terminated due to an unhandled exception. Exception Info: System.Configuration.ConfigurationErrorsException at System.Configuration.ConfigurationSchemaErrors.ThrowIfErrors(Boolean) at System.Configuration.BaseConfigurationRecord.ThrowIfParseErrors(System.Configuration.ConfigurationSchemaErrors) at System.Configuration.ClientConfigurationSystem.EnsureInit(System.String) Exception Info: System.Configuration.ConfigurationErrorsException at System.Configuration.ClientConfigurationSystem.EnsureInit(System.String) at System.Configuration.ClientConfigurationSystem.PrepareClientConfigSystem(System.String) at System.Configuration.ClientConfigurationSystem.System.Configuration.Internal.IInternalConfigSystem.GetSection(System.String) at System.Configuration.ConfigurationManager.get_AppSettings() at AdviceSVCEguardianInteg.AdviceSVCEguardianInteg.Main()

If I remove the block below or change the dll to the previous version, the service starts without errors.

\<section name="oracle.manageddataaccess.client" type="OracleInternal.Common.ODPMSectionHandler, Oracle.ManagedDataAccess, Version=4.122.19.1, Culture=neutral, PublicKeyToken=89b483f429c47342" />
This post has been answered by Alex Keh-Oracle on Oct 9 2024
Jump to Answer
Comments
Post Details
Added on Oct 9 2024
13 comments
1,316 views