OracleCommandBuilder.DeriveParameters中的System.AccessViolationException

时间:2013-01-23 22:18:57

标签: .net ado.net oracle10g

连接已打开,包有效,程序存在。

A first chance exception of type 'System.AccessViolationException' occurred in Oracle.DataAccess.DLL
System.AccessViolationException: Attempted to read or write protected memory. This is often an indication that other memory is corrupt.
   at Oracle.DataAccess.Client.OpsSql.ExecuteNonQuery(IntPtr opsConCtx, IntPtr& opsErrCtx, IntPtr& opsSqlCtx, IntPtr& opsDacCtx, IntPtr opsSubscrCtx, Int32& isSubscrRegistered, OpoSqlValCtx*& pOpoSqlValCtx, OpoSqlRefCtx& pOpoSqlRefCtx, IntPtr[] pOpoPrmValCtx, OpoPrmRefCtx[] pOpoPrmRefCtx, OpoMetValCtx*& pOpoMetValCtx, Int32 prmCnt)
   at Oracle.DataAccess.Client.OracleCommand.ExecuteNonQuery()
   at Oracle.DataAccess.Client.OracleCommandBuilder.DeriveParameters(OracleCommand command)

1 个答案:

答案 0 :(得分:1)

重新安装客户端,问题消失了。