Testing with Mono, but getting an error

Discussion of open issues, suggestions and bugs regarding ADO.NET provider for MySQL
Post Reply
cmajkrzak
Posts: 1
Joined: Thu 13 May 2010 23:25

Testing with Mono, but getting an error

Post by cmajkrzak » Thu 13 May 2010 23:32

Hello!

I decided to take dotConnect for MySQL out for a test as a project I'm working on needs Dlinq support.

I installed the trial of pro, setup my database as normal, set the devart dll's to copy to local, and published to my test folder, but each time I attempt to view the site, I get the following exception.

Server Error in '/test' Application

--------------------------------------------------------------------------------

A type load exception has occurred.
Description: HTTP 500. Error processing request.

Stack Trace:

System.TypeLoadException: A type load exception has occurred.
at Devart.Data.Linq.o..ctor (Devart.Data.Linq.Provider.DataProvider A_0, System.Data.Linq.Mapping.MetaModel A_1) [0x00000] in :0
at Devart.Data.Linq.q..ctor (Devart.Data.Linq.DataContext A_0, System.Data.Linq.Mapping.MetaModel A_1) [0x00000] in :0
at Devart.Data.Linq.DataContext.a (System.Object A_0, System.Data.Linq.Mapping.MappingSource A_1, System.Type A_2) [0x00000] in :0
at Devart.Data.Linq.DataContext..ctor (System.String connectionString, System.Data.Linq.Mapping.MappingSource mapping) [0x00000] in :0
at SiteDB.SiteDB..ctor () [0x00000] in :0
at site.com.layout_master.Page_Load (System.Object sender, System.EventArgs e) [0x00000] in :0
at System.Web.UI.Control.OnLoad (System.EventArgs e) [0x00000] in :0
at System.Web.UI.Control.LoadRecursive () [0x00000] in :0
at System.Web.UI.Control.LoadRecursive () [0x00000] in :0
at System.Web.UI.Page.ProcessLoad () [0x00000] in :0
at System.Web.UI.Page.ProcessPostData () [0x00000] in :0
at System.Web.UI.Page.InternalProcessRequest () [0x00000] in :0
at System.Web.UI.Page.ProcessRequest (System.Web.HttpContext context) [0x00000] in :0

--------------------------------------------------------------------------------
Version information: Mono Runtime Version: 2.6.1 (tarball Tue Feb 16 10:58:45 CST 2010); ASP.NET Version: 2.0.50727.1433

As far as I can tell everything is in place, devart dll's in the bin folder and so on, and it works perfectly locally in VS2010's dev web server, just not within mono.

Does anyone have any ideas?

TIA!

AndreyR
Devart Team
Posts: 2919
Joined: Mon 07 Jul 2008 13:16

Post by AndreyR » Tue 18 May 2010 14:23

The similar error is fixed in the upcoming build of dotConnects.
However, there are some errors in the Mono LINQ to SQL implementation, so we are not able to guarantee that LINQ to MySQL code will work smoothly

Post Reply