c# - System.AccessViaolation while executing Bulk Insert (Oracle.DataAccess) -



c# - System.AccessViaolation while executing Bulk Insert (Oracle.DataAccess) -

i facing severe problem concerning winforms application. inserting via oracle mass insert (arraybinding) table. while executing command

cmd.executenonquery()

i next error:

system.accessviolationexception @ oracle.dataaccess.client.opserr.freectx(intptr& opserrctx) @ oracle.dataaccess.client.oracleexception.getopoerrctx(intptr opserrctx, oposqlvalctx* poposqlvalctx, intptr opsconctx, string datasrc, string procedure) @ oracle.dataaccess.client.oracleexception..ctor(intptr opserrctx, oposqlvalctx* poposqlvalctx, intptr opsconctx, string datasrc, string procedure) @ oracle.dataaccess.client.oracleexception.handleerrorhelper(int32 errcode, oracleconnection conn, intptr opserrctx, oposqlvalctx* poposqlvalctx, object src, string procedure) @ oracle.dataaccess.client.oracleexception.handleerror(int32 errcode, oracleconnection conn, string procedure, intptr opserrctx, oposqlvalctx* poposqlvalctx, object src) @ oracle.dataaccess.client.oraclecommand.executenonquery()

any ideas on issue?

macx

found issue myself.

the oracle.dataaccess.client seems not able correctly notify me, on of column values exceeds limit of database column want insert value.

something inserting "hello friend" in varhchar2(2)-column.

but looking @ this.

c# oracle access-violation

Comments

Popular posts from this blog

iphone - Dismissing a UIAlertView -

c# - Can ProtoBuf-Net deserialize to a flat class? -

javascript - Change element in each JQuery tab to dynamically generated colors -