EF + ODP.NET + CLOB = Value Cannot be Null - Parameter name: byteArray?

前端 未结 6 2263
死守一世寂寞
死守一世寂寞 2020-12-16 01:12

Our project recently updated to the newer Oracle.ManagedDataAccess DLL\'s (v 4.121.2.0) and this error has been cropping up intermittently. We\'ve fixed it a few times with

6条回答
  •  北荒
    北荒 (楼主)
    2020-12-16 02:09

    After installation of Oracle12 client we ran into the same problem. In machine.config (C:\Windows\Microsoft.NET\Framework\v4.0.30319\Config) I removed all entries with Oracle.ManagedDataAccess. In directory C:\Windows\Microsoft.NET\assembly\GAC_MSIL I removed both Oracle.ManagedDataAccess and Policy.4.121.Oracle.ManagedDataAccess. Then my C# program started working as usually, using the Oracle.ManagedDataAccess dll in it's own directory.

提交回复
热议问题