Error Oracle.DataAccess can not find Dll

1

Good morning,

I kindly request help with the following error that my web application generates in visual studio

4> C: \ Users \ svictorino \ Documents \ Confidential and privileged \ workspace \ PCCE-V2 \ pcce \ web.config (295): Compile (web): Unable to load the file or assembly 'Oracle.DataAccess , Version = 2.112.3.0, Culture = neutral, PublicKeyToken = 89b483f429c47342 'neither one of its dependencies. The system can not find the specified file.

I have installed the ODAC but it generates dlls of a more advanced version, could you tell me what I can do?

    
asked by SantiagoVictorinoC 04.01.2018 в 15:30
source

1 answer

0

You can try redirecting the version of your assembly. To do this add the following in your web.config

<runtime>  
    <assemblyBinding xmlns="urn:schemas-microsoft-com:asm.v1">  
      <dependentAssembly>  
        <assemblyIdentity name="Oracle.DataAccess"  
       publicKeyToken="89b483f429c47342"  
          culture="neutral" />  
        <!-- Assembly versions can be redirected in app,   
          publisher policy, or machine configuration files. -->  
        <bindingRedirect oldVersion="2.112.3.0"  newVersion="<TUVERSION>" />  
      </dependentAssembly>   
    </assemblyBinding>  
  </runtime>  
    
answered by 30.01.2018 в 06:19