MissingMemberException

MissingMemberException

Postby triton » Mon 03 Jun 2013 12:24

Hi
I'm using "http://www.devart.com/dotconnect/sqlite/articles/tutorial_linq.html" to start linqConnect but my code return "MissingMemberException" with this message:

Method not found: 'Boolean Devart.Data.Linq.Engine.TypeHelpers.IsEnum(System.Type)'.



I'm using "LinqConnect 4.2 Express" .

Please help me.
triton
 
Posts: 1
Joined: Mon 03 Jun 2013 12:12

Re: MissingMemberException

Postby idem84 » Mon 03 Jun 2013 20:54

I experience the same issue (using linqconnect 4.2.257 and sqlite)
Sample code:
MainDataContext context = new MainDataContext();
var query = from it in context.Companies
orderby it.CompanyID
select it;

foreach (Company comp in query)
Console.WriteLine("{0} | {1} | {2}", comp.CompanyID, comp.CompanyName, comp.Country);
Console.ReadLine();


Stacktrace
at Devart.Data.SQLite.Linq.Engine.SQLiteDataSourceInfo.SQLiteTypeSystemProvider.GetProviderType(MetaDataMember member)
at Devart.Data.Linq.Engine.SqlFactory.a(SqlExpression A_0, MetaDataMember A_1)
at Devart.Data.Linq.Engine.dm.a(SqlExpression A_0, MetaType A_1, List`1& A_2, List`1& A_3, SqlExpression& A_4, IList`1 A_5)
at Devart.Data.Linq.Engine.dm.b(SqlExpression A_0, MetaType A_1, List`1& A_2, List`1& A_3, SqlExpression& A_4, IList`1 A_5)
at Devart.Data.Linq.Engine.dm.a(bb A_0, IList`1 A_1)
at Devart.Data.Linq.Engine.dm.a(MetaType A_0, ITable A_1, IList`1 A_2)
at Devart.Data.Linq.Engine.i.a(ITable A_0)
at Devart.Data.Linq.Engine.i.j(Expression A_0)
at Devart.Data.Linq.Engine.i.b(Expression A_0, LambdaExpression A_1, a7 A_2)
at Devart.Data.Linq.Engine.i.b(MethodCallExpression A_0)
at Devart.Data.Linq.Engine.i.j(Expression A_0)
at Devart.Data.Linq.Engine.i.i(Expression A_0)
at Devart.Data.Linq.Engine.dr.d(Expression A_0)
at Devart.Data.Linq.Engine.dr.f(Expression A_0)
at Devart.Data.Linq.Engine.DataQuery`1.h()
at CAPP.Program.Main(String[] args) in c:\Users\ADMIN\Desktop\CAPP\CAPP\Program.cs:line 20
at System.AppDomain._nExecuteAssembly(RuntimeAssembly assembly, String[] args)
at Microsoft.VisualStudio.HostingProcess.HostProc.RunUsersAssembly()
at System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state)
at System.Threading.ThreadHelper.ThreadStart()
idem84
 
Posts: 50
Joined: Thu 04 Apr 2013 19:12

Re: MissingMemberException

Postby MariiaI » Tue 04 Jun 2013 07:47

Thank you for the report. We have reproduced this issue. We will inform you when it is fixed.
MariiaI
Devart Team
 
Posts: 1472
Joined: Mon 13 Feb 2012 08:17

Re: MissingMemberException

Postby lc4pro » Tue 04 Jun 2013 09:37

Hi I have the same issue with the professional linq version since upgrading to the latest version 4.2.257.0. Previous version was not displaying this error.
lc4pro
 
Posts: 51
Joined: Thu 12 Jul 2012 08:16

Re: MissingMemberException

Postby MariiaI » Fri 07 Jun 2013 06:12

The bug related to the MissingMethodException error is fixed.
New build of LinqConnect 4.2.262 is available for download now!
It can be downloaded from http://www.devart.com/linqconnect/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=31&t=27292
MariiaI
Devart Team
 
Posts: 1472
Joined: Mon 13 Feb 2012 08:17


Return to LinqConnect (LINQ to SQL support)