Bug #83190 Connector 6.9.9 errors File Not Found with Net 3.5 compilation (6.9.8 does)
Submitted: 28 Sep 2016 15:28 Modified: 29 Sep 2016 12:32
Reporter: sajosh j Email Updates:
Status: Duplicate Impact on me:
None 
Category:Connector / NET Severity:S3 (Non-critical)
Version:6.9.9 OS:Windows
Assigned to: CPU Architecture:Any

[28 Sep 2016 15:28] sajosh j
Description:
When referencing Connector Net 6.9.9 on a Net 3.5 application, there's a run time error 
"Could not load file or assembly 'MySql.Data, Version=6.9.9.0, Culture=neutral, PublicKeyToken=' or one of its dependencies. The system cannot find the file specified."

This error does not get produced using MySql Connector Net 6.9.8.

I'm reporting this as a bug because on minor revisions, such major changes shouldn't be made.

I tried 7.0.5 which also produced same run time error.

So I finally went back to 6.9.8.  Which works.

Is MySQL Connector Net discontinuing to work with Net 3.5 projects?  Is 6.9.8 going to be the last supported one for 3.5?

How to repeat:
Reference MySQL connector Net 6.9.9 (or 7.0.5) on a Net 3.5 application.  Unfortunately I'm using a someone else's proprietary application which uses (is built on) Net 3.5.
[29 Sep 2016 5:48] Chiranjeevi Battula
Hello sajosh,

Thank you for the bug report.
This is most likely duplicate of Bug #82617, please see Bug #82617.
Please try to complete uninstall Connector / NET using control panel and install Connector / NET 6.9.9 version. 

Thanks,
Chiranjeevi.
[29 Sep 2016 12:32] sajosh j
Hi Chiranjeevi,

That bug report #Bug #82617 and that same user's Stackoverflow post is how I was able to 'resolve' my problem (which was to uninstall Connector Net 6.9.9 then manually (not using Installer Community) install 6.9.8.

http://stackoverflow.com/questions/38891056/conflicting-versions-of-mysql-data-dll-in-net-...

I created a separate bug report because I didn't know all other complications that user was writing about so to be safe I created a new bug report.

I don't know and this is not my issue ... "but the data adapter is using 6.9.8 as this is what is installed by one of the other installers in the MySQL Installer."

I don't have to do this "I removed MySQL, then went through and deleted all mysql*.dll and all config files. I then used the MySQL Installer 5.7.14 found at http://dev.mysql.com/downloads/installer/"

Therefore, to be safe, I created a new report.  This may not be a duplicate.

You've asked me to "complete uninstall Connector / NET using control panel and install Connector / NET 6.9.9 version."

How will this suggestion help?

Is 6.9.9 supposed to work with Net 3.5?  

As I've said 6.9.9 isn't working for me.

Some more facts that may help you trouble shoot ...  I installed mysql on a clean OS install.  Then installed Connector NET 6.9.9.  Got the error from the third part application.  Found the other bug report.  Uninstalled 6.9.9 using mysql installer community (not control panel).   Installed 6.9.8.  

The other bug report suspects it's a MySQL installer bug.  I don't know.