Page 1 of 1

operation could destabilize

Posted: Fri 13 Jul 2012 19:31
by verenea
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
});

Re: operation could destabilize

Posted: Mon 16 Jul 2012 11:26
by MariiaI
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.

Re: operation could destabilize

Posted: Thu 19 Jul 2012 07:11
by MariiaI
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