1
Good afternoon, I implemented a Mvc app that uses Oracle access through Oracle.Manageddataaccess version :4.122.19.1. But received the following message from IIS when running the app:
Erro de Configuração Há uma seção 'oracle.manageddataaccess.client' duplicada definida
The source of the error was Section which is added to web.config when installing oracle:
<section name="oracle.manageddataaccess.client" type="OracleInternal.Common.ODPMSectionHandler, Oracle.ManagedDataAccess, Version=4.122.19.0, Culture=neutral, PublicKeyToken=89b483f429c47342" />
While doing some research I identified that the error occurred due to web.config being set to version 4.122.19.0 and machine.config (C: Windows Microsoft.NET Framework v4.0.30319 Config) being configured a different version. When setting the version of the machine.config identical to the application it runs without problem. But whenever I act with another project, the same error occurs, and it is always necessary to manually change the machine.config file..
Any suggestions on how to solve this problem, all frameworks have been reinstalled, oracle is running perfectly on the machine.
It is correct, on the computer of a developer next to it, that the project loads and does not need to edit the machine.config (behavior I seek) in the file displays the <Section name="oracle.dataaccess.client" ...>. I’ll change the versions here, thank you.
– André Luiz