AccessViolationException when oracleCommand.Dispose()

Discussion of open issues, suggestions and bugs regarding ADO.NET provider for Oracle
Post Reply
Posts: 60
Joined: Mon 18 May 2009 13:17

AccessViolationException when oracleCommand.Dispose()

Post by goethals.f » Wed 29 Feb 2012 08:31


I just posted my problem concerning an AccessViolationException I got when trying to do oracleCommand.Dispose(). ... 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.


Devart Team
Posts: 1710
Joined: Thu 03 Dec 2009 10:48

Post by StanislavK » Fri 02 Mar 2012 17:55

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.

Post Reply