Oracle .Net ManagedDataAccess Error: Could not load type 'OracleInternal.Common.ConfigBaseClass' from assembly

前端 未结 9 1711
被撕碎了的回忆
被撕碎了的回忆 2020-12-13 10:10

I have a project that works locally, on our dev server, and on our production server.

When I try to run it on the test server, I get the error below, and I don\'t kn

9条回答
  •  夕颜
    夕颜 (楼主)
    2020-12-13 10:55

    As others said you need to remove Oracle.ManagedDataAccess from GAC.

    I run {Oracle home}\product\12.1.0\dbhome_1\ODP.NET\managed\x64\unconfigure.bat and {Oracle home}\product\12.1.0\dbhome_1\ODP.NET\managed\x836\unconfigure.bat and it worked

提交回复
热议问题