Hi,
I've started noticing some InvalidOperationExceptions: "Handle not initialized". All DataContexts are opened/disposed with "using" statements and are never passed between threads.
I'm using version 2.20.17.0 of Devart.Data.Linq and Devart.Data.MySql.Linq.
The call stack is as follows:
> mscorlib.dll!System.Runtime.InteropServices.GCHandle.Target.get() + 0xa6 bytes
Devart.Data.Linq.dll!Devart.Data.Linq.e.j() + 0x7c bytes
Devart.Data.Linq.dll!Devart.Data.Linq.i.a(int A_0 = 0) + 0x145 bytes
Devart.Data.Linq.dll!Devart.Data.Linq.g.a(Devart.Data.Linq.g.a A_0 = {Devart.Data.Linq.g.a}) + 0xc4 bytes
Devart.Data.Linq.dll!Devart.Data.Linq.g.a.b() + 0x7d bytes
[Native to Managed Transition]
I read of some other people having this issue as well in the Oracle provider - is there a chance that it could be a related issue in the MySql provider?
Thanks,
Cyle
"Handle not initialized" exception
-
- Devart Team
- Posts: 1710
- Joined: Thu 03 Dec 2009 10:48
This was a general-level problem that was fixed in the 2.0.8 build (in fact, the invalid operation exception you are getting was caught in the Devart.Data.Linq.e.j method).
Please check that the LinqConnect assemblies deployed with your project (or installed on the deployment machine) are of the latest 2.20.17 version. If they are, please send us a test project with which the issue can be reproduced.
Please check that the LinqConnect assemblies deployed with your project (or installed on the deployment machine) are of the latest 2.20.17 version. If they are, please send us a test project with which the issue can be reproduced.
-
- Devart Team
- Posts: 1710
- Joined: Thu 03 Dec 2009 10:48