Bug #60793 aspnet 3.5 LINQ to Entities
Submitted: 7 Apr 2011 12:49 Modified: 16 Jun 2011 3:51
Reporter: saverio mosca Email Updates:
Status: No Feedback Impact on me:
None 
Category:Connector / NET Severity:S3 (Non-critical)
Version:6.3.5 OS:Windows (LINQ)
Assigned to: Bogdan Degtyariov CPU Architecture:Any
Tags: aspnet, linq

[7 Apr 2011 12:49] saverio mosca
Description:
I can't get data thru LINQ when using Mysql on AspNet 3.5, but only in 4.0

Page builds fine, but I just get a null object when sending a linq select query.

Is this by design, I mean, is framework 4.0 requested ? This is a problem, since most hosting providers don't offer 4.0 yet. 

Thanks for your response,
Saverio

How to repeat:
Just try LINQ with mySQL DB and framework 3.5 thru ASPnet.
[13 Apr 2011 10:06] Bogdan Degtyariov
Hi Saverio,

MySQL Connector/NET has two versions of MySql.Data.Dll.
One is for Framework 2.0 installed in

"C:\Program Files\MySQL\MySQL Connector Net 6.3.6\Assemblies\v2.0"

and another is for 4.0 instlaled in:

"C:\Program Files (x86)\MySQL\MySQL Connector Net 6.3.6\Assemblies\v4.0"

Please make sure your project is referencing the right DLL, which in your case is v2.0.
[16 Jun 2011 3:51] Bogdan Degtyariov
No feedback was provided. The bug is being suspended because we assume that you are no longer experiencing the problem. If this is not the case and you are able to provide the information that was requested earlier, please do so and change the status of the bug back to "Open". Thank you.