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

java - How to pass parameters between Request-Scoped Controllers? -

string - what is the difference between "some" == "some\0" and strcmp("some","some\0") in c++? -

actionscript 3 - Flex: moving a point with rotation doesnt change the point XY? -