System.AccessViolationException

Discussion of open issues, suggestions and bugs regarding ADO.NET provider for Oracle
Post Reply
amirela
Posts: 15
Joined: Tue 26 Oct 2010 10:51

System.AccessViolationException

Post by amirela » Mon 24 Oct 2011 01:34

dotConnect Version: 6.50.228

Periodically i'm getting an error:

Application: Service.exe
Framework Version: v4.0.30319
Description: The process was terminated due to an unhandled exception.
Exception Info: System.AccessViolationException
Stack:
at Devart.Common.DbConnectionBase.Open()
at Devart.Data.Oracle.OracleConnection.Open()
at Common.ConnectionDb.Open()
at Common.Dao.MessageLogDao.SaveApplicationLog(System.DateTime, Int32, System.String, System.String)
at Common.Providers.DbLoggerProvider.Send(System.DateTime, Interfaces.MessageType, System.String, System.String, Common.Providers.LoggerAttachment)
at Common.AppLogger.WriteMessages(System.Object)
at System.Threading.ExecutionContext.Run(System.Threading.ExecutionContext, System.Threading.ContextCallback, System.Object, Boolean)
at System.Threading._TimerCallback.PerformTimerCallback(System.Object)

Shalex
Site Admin
Posts: 9543
Joined: Thu 14 Aug 2008 12:44

Post by Shalex » Tue 25 Oct 2011 09:47

1. Describe your application and tell us the way how we can reproduce the error in our environment.
2. Is there any inner exception?
3. Are you using OCI (via Oracle client) or Direct mode?

amirela
Posts: 15
Joined: Tue 26 Oct 2010 10:51

Post by amirela » Wed 26 Oct 2011 08:37

1. Application stands in as a win-service. This error appears serially, when connecting Oracle (it's unable to catch because it could no appear several days.. could depend on DB-load) (Pooling=true)
2. Exception is unable to catch, because it likely appeares in a separate thread and immideately calls an application fail.
3. Oracle Client 10 x64

Shalex
Site Admin
Posts: 9543
Joined: Thu 14 Aug 2008 12:44

Post by Shalex » Mon 31 Oct 2011 11:33

Try using dotConnect for Oracle v 6.50.237 where some problems with the x64 version of Oracle client were fixed: http://www.devart.com/dotconnect/oracle ... story.html.

amirela
Posts: 15
Joined: Tue 26 Oct 2010 10:51

Post by amirela » Thu 03 Nov 2011 08:38

dotConnect Version: 6.50.237

Now, periodically i'm getting an error:

Application: Service.exe
Framework Version: v4.0.30319
Description: The process was terminated due to an unhandled exception.
Exception Info: System.NullReferenceException
Stack:
at Devart.Common.DbConnectionPoolGroup.a(Devart.Common.DbConnectionPool)
at Devart.Common.DbConnectionPoolGroup.a(System.Object)
at System.Threading.ExecutionContext.Run(System.Threading.ExecutionContext, System.Threading.ContextCallback, System.Object, Boolean)
at System.Threading._TimerCallback.PerformTimerCallback(System.Object)

Shalex
Site Admin
Posts: 9543
Joined: Thu 14 Aug 2008 12:44

Post by Shalex » Thu 03 Nov 2011 16:21

The bug with returning invalid connections to pool is fixed. We will post here when the corresponding build of dotConnect for Oracle is available for download.

Shalex
Site Admin
Posts: 9543
Joined: Thu 14 Aug 2008 12:44

Post by Shalex » Fri 11 Nov 2011 16:48

New build of dotConnect for Oracle 6.50.244 is available for download now!
It can be downloaded from http://www.devart.com/dotconnect/oracle/download.html (trial version) or from Registered Users' Area (for users with valid subscription only).
For more information, please refer to http://www.devart.com/forums/viewtopic.php?t=22547 .

Post Reply