The provider is not compatible with the version of Oracle client

前端 未结 27 1201
一生所求
一生所求 2020-11-22 05:37

I\'m trying to use the Oracle ODP.NET 11g (11.1.0.6.20) Instant Client on my ASP.net project as a Data Provider but when I run the aspx pag

27条回答
  •  悲&欢浪女
    2020-11-22 06:33

    I faced a similar issue and the root cause was that GAC had 2 oracle.dataaccess versions i.e. v4.0_4.112.2.0 and v4.0_4.112.4.0 . My application was referring to v4.0_4.112.2.0 , so when I removed v4.0_4.112.4.0 from GAC, it worked fine.

    GAC path : C:\Windows\Microsoft.NET\assembly\GAC_64\Oracle.DataAccess

    Before :

    After :

    To remove a version, one can simply delete the corresponding folder from GAC.

提交回复
热议问题