crash when opening connection to dotconnect for oracle

Discussion of open issues, suggestions and bugs regarding ADO.NET provider for Oracle
Post Reply
Posts: 4
Joined: Tue 04 Dec 2012 04:41

crash when opening connection to dotconnect for oracle

Post by manibhatti » Tue 04 Dec 2012 04:49

Hello Support

I am using 7.2.96 version of dotconnect for oracle and I am getting a crash when calling oracle dotconnect from C#.
The exception I am getting is written below. Please help me fixing this crash.


System.AccessViolationException: An attempt was made to read or write protected memory. This is often an indication that other memory is corrupt.
bei A_0, ai A_1)
bei Devart.Data.Oracle.OracleInternalConnection..ctor(ad connectionOptions, OracleInternalConnection proxyConnection)
bei A_0, Object A_1, DbConnectionBase A_2)
bei Devart.Common.DbConnectionFactory.a(DbConnectionPool A_0, l A_1, DbConnectionBase A_2)
bei Devart.Common.DbConnectionPoolGroup.a(DbConnectionPool A_0, DbConnectionBase A_1)
bei Devart.Common.DbConnectionPool.a(DbConnectionBase A_0)
bei Devart.Common.DbConnectionPool.GetObject(DbConnectionBase owningConnection)
bei Devart.Common.DbConnectionFactory.b(DbConnectionBase A_0)
bei Devart.Common.DbConnectionClosed.Open(DbConnectionBase outerConnection)
bei Devart.Common.DbConnectionBase.Open()
bei Devart.Data.Oracle.OracleConnection.Open()
bei OracleConnect.connectDatabase(Schema sch)
bei Form1.RfSrI5OYjO(Object )
bei Form1.jhryNNXJIE(TreeListNode )
bei Form1.A5VyY91hjG(TreeListNode )
bei Form1.c1i0A5NBbU(Object , ItemClickEventArgs )
bei DevExpress.XtraBars.BarItem.OnClick(BarItemLink link)
bei DevExpress.XtraBars.BarBaseButtonItem.OnClick(BarItemLink link)
bei DevExpress.XtraBars.BarItemLink.OnLinkClick()
bei DevExpress.XtraBars.BarItemLink.OnLinkAction(BarLinkAction action, Object actionArgs)
bei DevExpress.XtraBars.BarButtonItemLink.OnLinkAction(BarLinkAction action, Object actionArgs)
bei DevExpress.XtraBars.BarItemLink.OnLinkActionCore(BarLinkAction action, Object actionArgs)
bei DevExpress.XtraBars.ViewInfo.BarSelectionInfo.ClickLink(BarItemLink link)
bei DevExpress.XtraBars.ViewInfo.BarSelectionInfo.UnPressLink(BarItemLink link)
bei DevExpress.XtraBars.Controls.CustomLinksControl.OnMouseUp(MouseEventArgs e)
bei System.Windows.Forms.Control.WmMouseUp(Message& m, MouseButtons button, Int32 clicks)
bei System.Windows.Forms.Control.WndProc(Message& m)
bei DevExpress.XtraBars.Controls.CustomControl.WndProc(Message& msg)
bei System.Windows.Forms.Control.ControlNativeWindow.OnMessage(Message& m)
bei System.Windows.Forms.Control.ControlNativeWindow.WndProc(Message& m)
bei System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)

Devart Team
Posts: 2192
Joined: Wed 02 Nov 2011 09:44

Re: crash when opening connection to dotconnect for oracle

Post by Pinturiccio » Wed 05 Dec 2012 16:04

Please provide the following information:
1) The exact ( versions of the Oracle Server and Client you are using. These issues might be caused by some problem in Oracle Client software or client/server compatibility. To check if this is the case, you can try switching to the Direct mode or changing the version of the client. Please inform us if these problems persist in either case.
2) We need a small test project with the corresponding DDL/DML scripts to reproduce the problem in our environment. Or try to locate the issue (as accurately as possible) and give details on it, or at least approximate steps we should follow.
3) Does the problem occur in your environment permanently or from time to time?
4) If possible, try the latest (7.3.132) version of dotConnect for Oracle. Does the issue persist with this version too? If you do not have access to the registered version, you can check it with the trial one:

Post Reply