Oracle.DataAccess still try to access oraops12.dll after uninstall

后端 未结 3 2037
情书的邮戳
情书的邮戳 2021-01-02 17:13

First I have both 11 and 12 oracle client on my machine. But when i try to use 11g version of oracle.dataacess.dll .

I already remove a 12c register on regedit and s

3条回答
  •  死守一世寂寞
    2021-01-02 18:04

    There is a policy file in your GAC that is using the "bindingRedirect" tag

    Policy.2.112.Oracle.DataAccess.config

    Do a search for the file (I use Agent Ransack) then edit it.

    The contents of the file look like this

    
       
          
            
              
                
            
          
       
    
    

    For some reason, if you install Oracle 12, then try and uninstall it (even using gacutil.exe /u), the binding redirect is left in.

    On my machine, it was in C:\Windows\assembly\GAC_32\Policy.2.112.Oracle.DataAccess\2.121.2.0__89b483f429c47342\Policy.2.112.Oracle.DataAccess.config

    It is inaccessible via explorer, use agent ransack to track it down, then right click it and open it in an editor.

提交回复
热议问题