title: Error 500.19 The configuration section 'oracle.manageddataaccess.client' cannot be read because it is missing a section declaration
body: <p>I'm new to IIS, I'm trying to mount a web application on the IIS of the server, but at the moment of running it shows me a message &quot;The configuration section 'oracle.manageddataaccess.client' cannot be read because it is missing a section declaration&quot;, when I mount it on my computer if it works but when I pass it to the server it sends me the message , my application is made in asp mvc and I connect to the Oracle database 11g</p>
  <p><img src="https://i.stack.imgur.com/BCf5i.jpg" alt="enter image description here" /></p>
  <pre class="lang-html prettyprint-override"><code> 100:   &lt;/system.data&gt;
    101:   &lt;oracle.manageddataaccess.client&gt;
    102:     &lt;version number=&quot;*&quot;&gt;
  </code></pre>
  
  <p>this is my webconfig</p>
  <pre class="lang-html prettyprint-override"><code>&lt;?xml version=&quot;1.0&quot; encoding=&quot;utf-8&quot;?&gt;
  &lt;!--
    Para obtener más información sobre cómo configurar la aplicación ASP.NET, visite
    https://go.microsoft.com/fwlink/?LinkId=301880
    --&gt;
  &lt;configuration&gt;
    &lt;configSections&gt;
      &lt;!-- &lt;section name=&quot;oracle.manageddataaccess.client&quot; type=&quot;OracleInternal.Common.ODPMSectionHandler, Oracle.ManagedDataAccess, Version=4.122.1.0, Culture=neutral, PublicKeyToken=89b483f429c47342&quot; /&gt;--&gt;
      &lt;section name=&quot;entityFramework&quot; type=&quot;System.Data.Entity.Internal.ConfigFile.EntityFrameworkSection, EntityFramework, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089&quot; requirePermission=&quot;false&quot; /&gt;
      &lt;!-- For more information on Entity Framework configuration, visit http://go.microsoft.com/fwlink/?LinkID=237468 --&gt;
    &lt;/configSections&gt;
    &lt;appSettings&gt;
      &lt;add key=&quot;webpages:Version&quot; value=&quot;3.0.0.0&quot; /&gt;
      &lt;add key=&quot;webpages:Enabled&quot; value=&quot;false&quot; /&gt;
      &lt;add key=&quot;ClientValidationEnabled&quot; value=&quot;true&quot; /&gt;
      &lt;add key=&quot;UnobtrusiveJavaScriptEnabled&quot; value=&quot;true&quot; /&gt;
    &lt;/appSettings&gt;
    &lt;system.web&gt;
      &lt;compilation targetFramework=&quot;4.5.2&quot; /&gt;
      &lt;httpRuntime targetFramework=&quot;4.5.2&quot; /&gt;
      &lt;httpModules&gt;
        &lt;add name=&quot;ApplicationInsightsWebTracking&quot; type=&quot;Microsoft.ApplicationInsights.Web.ApplicationInsightsHttpModule, Microsoft.AI.Web&quot; /&gt;
      &lt;/httpModules&gt;
    &lt;/system.web&gt;
    &lt;system.web&gt;
      &lt;authentication mode=&quot;Forms&quot;&gt;
        &lt;forms loginUrl=&quot;~/Account/Login&quot; timeout=&quot;1&quot; /&gt;
      &lt;/authentication&gt;
    &lt;/system.web&gt;
    &lt;!--&lt;system.web&gt;
      &lt;customErrors mode=&quot;On&quot; &gt;
        &lt;error statusCode=&quot;404&quot; redirect=&quot;~/Error/Error404&quot; &gt;&lt;/error&gt;
        &lt;error statusCode=&quot;500&quot; redirect=&quot;~/Error/Error&quot; &gt;&lt;/error&gt;
      &lt;/customErrors&gt;
    &lt;/system.web&gt;--&gt;
    &lt;!--&lt;system.web&gt;
      &lt;roleManager enabled=&quot;true&quot; /&gt;
    &lt;/system.web&gt;--&gt;
    &lt;runtime&gt;
      &lt;assemblyBinding xmlns=&quot;urn:schemas-microsoft-com:asm.v1&quot;&gt;
        &lt;dependentAssembly&gt;
          &lt;assemblyIdentity name=&quot;Antlr3.Runtime&quot; publicKeyToken=&quot;eb42632606e9261f&quot; /&gt;
          &lt;bindingRedirect oldVersion=&quot;0.0.0.0-3.5.0.2&quot; newVersion=&quot;3.5.0.2&quot; /&gt;
        &lt;/dependentAssembly&gt;
        &lt;dependentAssembly&gt;
          &lt;assemblyIdentity name=&quot;System.Diagnostics.DiagnosticSource&quot; publicKeyToken=&quot;cc7b13ffcd2ddd51&quot; /&gt;
          &lt;bindingRedirect oldVersion=&quot;0.0.0.0-4.0.3.0&quot; newVersion=&quot;4.0.3.0&quot; /&gt;
        &lt;/dependentAssembly&gt;
        &lt;dependentAssembly&gt;
          &lt;assemblyIdentity name=&quot;Newtonsoft.Json&quot; publicKeyToken=&quot;30ad4fe6b2a6aeed&quot; /&gt;
          &lt;bindingRedirect oldVersion=&quot;0.0.0.0-11.0.0.0&quot; newVersion=&quot;11.0.0.0&quot; /&gt;
        &lt;/dependentAssembly&gt;
        &lt;dependentAssembly&gt;
          &lt;assemblyIdentity name=&quot;System.Web.Optimization&quot; publicKeyToken=&quot;31bf3856ad364e35&quot; /&gt;
          &lt;bindingRedirect oldVersion=&quot;1.0.0.0-1.1.0.0&quot; newVersion=&quot;1.1.0.0&quot; /&gt;
        &lt;/dependentAssembly&gt;
        &lt;dependentAssembly&gt;
          &lt;assemblyIdentity name=&quot;WebGrease&quot; publicKeyToken=&quot;31bf3856ad364e35&quot; /&gt;
          &lt;bindingRedirect oldVersion=&quot;0.0.0.0-1.6.5135.21930&quot; newVersion=&quot;1.6.5135.21930&quot; /&gt;
        &lt;/dependentAssembly&gt;
        &lt;dependentAssembly&gt;
          &lt;publisherPolicy apply=&quot;no&quot; /&gt;
          &lt;assemblyIdentity name=&quot;Oracle.ManagedDataAccess&quot; publicKeyToken=&quot;89b483f429c47342&quot; culture=&quot;neutral&quot; /&gt;
        &lt;/dependentAssembly&gt;
        &lt;dependentAssembly&gt;
          &lt;assemblyIdentity name=&quot;System.Web.Helpers&quot; publicKeyToken=&quot;31bf3856ad364e35&quot; /&gt;
          &lt;bindingRedirect oldVersion=&quot;1.0.0.0-3.0.0.0&quot; newVersion=&quot;3.0.0.0&quot; /&gt;
        &lt;/dependentAssembly&gt;
        &lt;dependentAssembly&gt;
          &lt;assemblyIdentity name=&quot;System.Web.WebPages&quot; publicKeyToken=&quot;31bf3856ad364e35&quot; /&gt;
          &lt;bindingRedirect oldVersion=&quot;0.0.0.0-3.0.0.0&quot; newVersion=&quot;3.0.0.0&quot; /&gt;
        &lt;/dependentAssembly&gt;
        &lt;dependentAssembly&gt;
          &lt;assemblyIdentity name=&quot;System.Web.Mvc&quot; publicKeyToken=&quot;31bf3856ad364e35&quot; /&gt;
          &lt;bindingRedirect oldVersion=&quot;0.0.0.0-5.2.6.0&quot; newVersion=&quot;5.2.6.0&quot; /&gt;
        &lt;/dependentAssembly&gt;
      &lt;/assemblyBinding&gt;
    &lt;/runtime&gt;
    &lt;system.webServer&gt;
      &lt;!--&lt;modules&gt;
        &lt;remove name=&quot;TelemetryCorrelationHttpModule&quot; /&gt;
        &lt;add name=&quot;TelemetryCorrelationHttpModule&quot; type=&quot;Microsoft.AspNet.TelemetryCorrelation.TelemetryCorrelationHttpModule, Microsoft.AspNet.TelemetryCorrelation&quot; preCondition=&quot;integratedMode,managedHandler&quot; /&gt;
        &lt;remove name=&quot;ApplicationInsightsWebTracking&quot; /&gt;
        &lt;add name=&quot;ApplicationInsightsWebTracking&quot; type=&quot;Microsoft.ApplicationInsights.Web.ApplicationInsightsHttpModule, Microsoft.AI.Web&quot; preCondition=&quot;managedHandler&quot; /&gt;
      &lt;/modules&gt;
      --&gt;
      &lt;validation validateIntegratedModeConfiguration=&quot;false&quot; /&gt;
    &lt;/system.webServer&gt;
    &lt;system.codedom&gt;
      &lt;compilers&gt;
        &lt;compiler language=&quot;c#;cs;csharp&quot; extension=&quot;.cs&quot; type=&quot;Microsoft.CodeDom.Providers.DotNetCompilerPlatform.CSharpCodeProvider, Microsoft.CodeDom.Providers.DotNetCompilerPlatform, Version=2.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35&quot; warningLevel=&quot;4&quot; compilerOptions=&quot;/langversion:6 /nowarn:1659;1699;1701&quot; /&gt;
        &lt;compiler language=&quot;vb;vbs;visualbasic;vbscript&quot; extension=&quot;.vb&quot; type=&quot;Microsoft.CodeDom.Providers.DotNetCompilerPlatform.VBCodeProvider, Microsoft.CodeDom.Providers.DotNetCompilerPlatform, Version=2.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35&quot; warningLevel=&quot;4&quot; compilerOptions=&quot;/langversion:14 /nowarn:41008 /define:_MYTYPE=\&amp;quot;Web\&amp;quot; /optionInfer+&quot; /&gt;
      &lt;/compilers&gt;
    &lt;/system.codedom&gt;
    &lt;system.data&gt;
      &lt;DbProviderFactories&gt;
        &lt;remove invariant=&quot;Oracle.ManagedDataAccess.Client&quot; /&gt;
        &lt;add name=&quot;ODP.NET, Managed Driver&quot; invariant=&quot;Oracle.ManagedDataAccess.Client&quot; description=&quot;Oracle Data Provider for .NET, Managed Driver&quot; type=&quot;Oracle.ManagedDataAccess.Client.OracleClientFactory, Oracle.ManagedDataAccess, Version=4.122.1.0, Culture=neutral, PublicKeyToken=89b483f429c47342&quot; /&gt;
      &lt;/DbProviderFactories&gt;
    &lt;/system.data&gt;
    &lt;oracle.manageddataaccess.client&gt;
      &lt;version number=&quot;*&quot;&gt;
        &lt;dataSources&gt;
          &lt;dataSource alias=&quot;SampleDataSource&quot; descriptor=&quot;(DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=localhost)(PORT=1521))(CONNECT_DATA=(SERVICE_NAME=ORCL))) &quot; /&gt;
        &lt;/dataSources&gt;
      &lt;/version&gt;
    &lt;/oracle.manageddataaccess.client&gt;
    &lt;entityFramework&gt;
      &lt;defaultConnectionFactory type=&quot;System.Data.Entity.Infrastructure.LocalDbConnectionFactory, EntityFramework&quot;&gt;
        &lt;parameters&gt;
          &lt;parameter value=&quot;v13.0&quot; /&gt;
        &lt;/parameters&gt;
      &lt;/defaultConnectionFactory&gt;
      &lt;providers&gt;
        &lt;provider invariantName=&quot;Oracle.ManagedDataAccess.Client&quot; type=&quot;Oracle.ManagedDataAccess.EntityFramework.EFOracleProviderServices, Oracle.ManagedDataAccess.EntityFramework, Version=6.122.1.0, Culture=neutral, PublicKeyToken=89b483f429c47342&quot; /&gt;
        &lt;provider invariantName=&quot;System.Data.SqlClient&quot; type=&quot;System.Data.Entity.SqlServer.SqlProviderServices, EntityFramework.SqlServer&quot; /&gt;
      &lt;/providers&gt;
    &lt;/entityFramework&gt;
    &lt;connectionStrings&gt;
      &lt;add name=&quot;ProductoEntities&quot; connectionString=&quot;metadata=res://*/Models.ProductoModel.csdl|res://*/Models.ProductoModel.ssdl|res://*/Models.ProductoModel.msl;provider=Oracle.ManagedDataAccess.Client;provider connection string=&amp;quot;DATA SOURCE=localhost:1521/xe;PASSWORD=andres;USER ID=ANDRES&amp;quot;&quot; providerName=&quot;System.Data.EntityClient&quot; /&gt;
      &lt;add name=&quot;MonterreyEntities&quot; connectionString=&quot;metadata=res://*/Models.dbConnMonterrey.dbMonterreyModel.csdl|res://*/Models.dbConnMonterrey.dbMonterreyModel.ssdl|res://*/Models.dbConnMonterrey.dbMonterreyModel.msl;provider=Oracle.ManagedDataAccess.Client;provider connection string=&amp;quot;DATA SOURCE=myserver;PASSWORD=*******;USER ID=*******&amp;quot;&quot; providerName=&quot;System.Data.EntityClient&quot; /&gt;
      &lt;add name=&quot;MonterreyProdEntities&quot; connectionString=&quot;metadata=res://*/Models.dbMonterreyProduccion.dbMonterreyProdModel.csdl|res://*/Models.dbMonterreyProduccion.dbMonterreyProdModel.ssdl|res://*/Models.dbMonterreyProduccion.dbMonterreyProdModel.msl;provider=Oracle.ManagedDataAccess.Client;provider connection string=&amp;quot;DATA SOURCE=myserver;PASSWORD=*****;USER ID=*****&amp;quot;&quot; providerName=&quot;System.Data.EntityClient&quot; /&gt;
      &lt;add name=&quot;MonterreyAndresEntities&quot; connectionString=&quot;metadata=res://*/Models.dbMonterreyAndres.dbMonterreyAndresModel.csdl|res://*/Models.dbMonterreyAndres.dbMonterreyAndresModel.ssdl|res://*/Models.dbMonterreyAndres.dbMonterreyAndresModel.msl;provider=Oracle.ManagedDataAccess.Client;provider connection string=&amp;quot;DATA SOURCE=myserver;PASSWORD=*****;USER ID=*****&amp;quot;&quot; providerName=&quot;System.Data.EntityClient&quot; /&gt;
      &lt;add name=&quot;dbMonterreyREPREGEREntities&quot; connectionString=&quot;metadata=res://*/Models.dbMonterreyProduccion.dbMonterreyREPREGERProduccion.csdl|res://*/Models.dbMonterreyProduccion.dbMonterreyREPREGERProduccion.ssdl|res://*/Models.dbMonterreyProduccion.dbMonterreyREPREGERProduccion.msl;provider=Oracle.ManagedDataAccess.Client;provider connection string=&amp;quot;DATA SOURCE=myserver;PASSWORD=*****;USER ID=*****&amp;quot;&quot; providerName=&quot;System.Data.EntityClient&quot; /&gt;
      &lt;add name=&quot;MonterreyPreProduccionEntities&quot; connectionString=&quot;metadata=res://*/Models.dbMonterreyPreProduccion.dbMonterreyPreProduccionModel.csdl|res://*/Models.dbMonterreyPreProduccion.dbMonterreyPreProduccionModel.ssdl|res://*/Models.dbMonterreyPreProduccion.dbMonterreyPreProduccionModel.msl;provider=Oracle.ManagedDataAccess.Client;provider connection string=&amp;quot;DATA SOURCE=myserver;PASSWORD=******;USER ID=******&amp;quot;&quot; providerName=&quot;System.Data.EntityClient&quot; /&gt;
      &lt;add name=&quot;MonterreyREPREGERPreProduccionEntities&quot; connectionString=&quot;metadata=res://*/Models.dbMonterreyPreProduccion.dbMonterreyREPREGERPreProduccionModel.csdl|res://*/Models.dbMonterreyPreProduccion.dbMonterreyREPREGERPreProduccionModel.ssdl|res://*/Models.dbMonterreyPreProduccion.dbMonterreyREPREGERPreProduccionModel.msl;provider=Oracle.ManagedDataAccess.Client;provider connection string=&amp;quot;DATA SOURCE=myserver;PASSWORD=*****;USER ID=******&amp;quot;&quot; providerName=&quot;System.Data.EntityClient&quot; /&gt;
    &lt;/connectionStrings&gt;
  &lt;/configuration&gt;
  </code></pre>