Account Options

  1. Sign in
The old Google Groups will be going away soon, but your browser is incompatible with the new version.
Google Groups Home
« Groups Home
Problems loading DbLinq
There are currently too many topics in this group that display first. To make this topic appear first, remove this option from another topic.
There was an error processing your request. Please try again.
flag
  2 messages - Collapse all  -  Translate all to Translated (View all originals)
The group you are posting to is a Usenet group. Messages posted to this group will make your email address visible to anyone on the Internet.
Your reply message has not been sent.
Your post was successful
 
From:
To:
Cc:
Followup To:
Add Cc | Add Followup-to | Edit Subject
Subject:
Validation:
For verification purposes please type the characters you see in the picture below or the numbers you hear by clicking the accessibility icon. Listen and type the numbers you hear
 
El  
View profile  
 More options Dec 24 2010, 6:00 pm
From: El <ellory...@dasarchitekt.com>
Date: Fri, 24 Dec 2010 15:00:07 -0800 (PST)
Local: Fri, Dec 24 2010 6:00 pm
Subject: Problems loading DbLinq
Hi,

I have written a mono app in Ubuntu 10.04 using Linq-2-SQ. The
MySql.Data.dll provider is installed on the GAC and I generated the
dbcontext using sqmetal.  On one machine, I am able to run the
application without any problem.  On another machine with the same set
up, I get the following error:

Could not load the specified DBLinqConnectionType
'MySql.Data.MySqlClient.MySqlConnection, MySql.Data, Version=6.3.4.0,
Culture=neutral, PublickeyToken=c5687fc88969c44d'.
Parameter name: connectionString

In mono 2.6.7, it is my understanding that System.Data.Linq implements
Dblinq.  I downloaded DbLinq-0.20.1.zip.  Do I have to install the
DbLinq.dll somewhere?  If so, in the GAC?

I checked for the installed files and so far they look the same on
both machine.  What am I missing here?

Thanks,
El


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Jonathan Pryor  
View profile  
 More options Dec 24 2010, 10:23 pm
From: Jonathan Pryor <jonpr...@vt.edu>
Date: Fri, 24 Dec 2010 22:23:37 -0500
Local: Fri, Dec 24 2010 10:23 pm
Subject: Re: [dblinq] Problems loading DbLinq
On Dec 24, 2010, at 6:00 PM, El wrote:

> I have written a mono app in Ubuntu 10.04 using Linq-2-SQ. The
> MySql.Data.dll provider is installed on the GAC and I generated the
> dbcontext using sqmetal.  On one machine, I am able to run the
> application without any problem.  On another machine with the same set
> up, I get the following error:

> Could not load the specified DBLinqConnectionType
> 'MySql.Data.MySqlClient.MySqlConnection, MySql.Data, Version=6.3.4.0,
> Culture=neutral, PublickeyToken=c5687fc88969c44d'.
> Parameter name: connectionString

I would imagine that on your other machine MySql.Data is NOT installed into the GAC.  You should double-check this.

Alternatively, you have MySql.Data.dll installed, but it's a different version.  Again, you should double-check this.

> In mono 2.6.7, it is my understanding that System.Data.Linq implements
> Dblinq.

System.Data.Linq is implemented in terms of the DbLinq source.  DbLinq.dll will NOT help you; you'd need to use a different System.Data.Linq.dll (if the error were truly in that assembly), OR you'd have to rebuild your app against DbLinq.dll instead of using System.Data.Linq.dll.  Migrating between the two should not be terribly difficult, and should mostly involve changing namespace references.  (Using DbMetal.exe instead of sqlmetal will also be helpful, as sqlmetal won't generate DbLinq references.)

 - Jon


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
End of messages
« Back to Discussions « Newer topic     Older topic »