Page 1 of 1

AccessViolationException when oracleCommand.Dispose()

Posted: Wed 29 Feb 2012 08:31
by goethals.f
Hello,

I just posted my problem concerning an AccessViolationException I got when trying to do oracleCommand.Dispose().

http://www.devart.com/forums/viewtopic. ... 8859#78859

But then I saw the thread was in the topic "LinqConnect (LINQ to SQL support)", but in my case it's more related to "dotConnect for Oracle"


If possible, can someone have a look at my problem-description.


thx
Fred

Posted: Fri 02 Mar 2012 17:55
by StanislavK
We couldn't reproduce the issue: when the command execution fails, we get server errors (e.g., 'ORA-12571: TNS:packet writer failure') instead of access violation in our environment, and the command is disposed successfully after catching this exception.

I've sent you a sample project, please try performing the scenario you described with it, and tell us if the issue occurs. If it does not, please specify what should be changed in the test project to reproduce the problem, or send us your sample.