operation could destabilize

Discussion of open issues, suggestions and bugs regarding ADO.NET provider for Oracle
Post Reply
verenea
Posts: 2
Joined: Tue 10 Jan 2012 19:49

operation could destabilize

Post by verenea » Fri 13 Jul 2012 19:31

I have the simplest query, accessing one table from the dotConnect-generated data context, and get the following error every time

Using a brand new licensed copy of 7.0.25.0 on windows7 x64 with VS2010

================================
System.Security.VerificationException: Operation could destabilize the runtime. at MaterializeProject(MaterializerScope ) at Devart.Data.Linq.Engine.ObjectReader`1.a() at Devart.Data.Linq.Engine.ObjectReader`1.a(T& A_0) at Devart.Data.Linq.Engine.ObjectReader`1.g() at System.Collections.Generic.List`1..ctor(IEnumerable`1 collection) at System.Linq.Enumerable.ToList[TSource](IEnumerable`1 source) at _Default.getActiveProjects() in c:\Users\K5IMIEAV\Documents\Visual Studio 2010\WebSites\WebSite1\Default.aspx.cs:line 42

=================================
Line 42 => projectsList = query.ToList<Project>();

=================================
and Project is a struct that is being utilized with this query

DataContext data = new DataContext();
var query = data.ACTIVEPROJECTSREPORTs.Select(p => new Project {
cn = p.CNAME,
pn = p.PNAME,
pl = p.PL,
t = p.TYPE,
sp = "",
sd = p.SDATE,
lmd = p.LMDATE,
d = p.DI
});

MariiaI
Devart Team
Posts: 1472
Joined: Mon 13 Feb 2012 08:17

Re: operation could destabilize

Post by MariiaI » Mon 16 Jul 2012 11:26

Thank you for the report. This issue has been fixed. It will be available in the next build of dotConnect for Oracle, which will be released this week.

MariiaI
Devart Team
Posts: 1472
Joined: Mon 13 Feb 2012 08:17

Re: operation could destabilize

Post by MariiaI » Thu 19 Jul 2012 07:11

New build of dotConnect for Oracle 7.1.40 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 active subscription only).
For more information, please refer to http://forums.devart.com/viewtopic.php?f=1&t=24522

Post Reply