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

前端 未结 9 1708
被撕碎了的回忆
被撕碎了的回忆 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 11:04

    We had the exact same problem as Dylan above. The issue appears to be with that specific Oracle version (4.121.2.0).

    The solution was simple: Just go into Nuget and move up to the next version of your Nuget package for the Oracle.ManagedDataAccess.Client, 4.122.1.0.

    Once we did that we could have mixed Oracle client or no-client environments or servers with or without the GAC Oracle installed, keep older apps that still use the GAC, and add new projects that use the Nuget packages. Its always a bad idea in these blogs to ask people to uninstall legacy stuff - like remove the Oracle dll in the GAC on a server - when you have environments with many legacy dependancies that still might reference it.

提交回复
热议问题