Bug #63073 Package Load Failure
Submitted: 2 Nov 2011 8:11 Modified: 3 Jan 2013 0:16
Reporter: Rhoel Alcantara Email Updates:
Status: Closed Impact on me:
None 
Category:Connector / NET Severity:S2 (Serious)
Version:6.4.4 OS:Windows (XP SP3)
Assigned to: Fernando Gonzalez.Sanchez CPU Architecture:Any

[2 Nov 2011 8:11] Rhoel Alcantara
Description:
In VS 2005 adding a new DATA CONNECTION through the SERVER EXPLORER gives us the mesage:

Package Load Failure

Package 'MySQL Connector Net 6.4.4' has failed to load properly ( GUID = {79A115C90B133-4891-9E7B-242509DAD272} ). Please contact package vendor for assistance.

...

Please help!

How to repeat:
It's the first time we've installed and attempted to use the MySQL Connector Net 6.4.4 and the message just popped up. We've been using ODBC before this (which worked fine), but we thought the mysql connector net could give us speed improvements so we decided to test it out. Never got it to work though.
[21 Nov 2011 5:38] Bogdan Degtyariov
Verified in WinXP SP3/Visual Studio 2005
[31 Jan 2012 16:47] Federico Scheu
I have the same problem on Windows 7 with VS2005 and connector 6.4.4
[5 Mar 2012 17:24] Tony Hales
Yep, same here, Windows 7 64 bit, VS 2005 and just installed about 3 different versions, finally ending with 6.4.4 and still no luck - same problem each time.
[1 Aug 2012 5:23] Mandar Damodare
Any update ?
[3 Jan 2013 0:16] John Russell
Added to changelog for 6.4.6, 6.5.5, 6.6.5: 

In Visual Studio 2005, adding a new data connection through the
Server Explorer produced an error message: Package Load Failure. The
Visual Studio plugin was dynamically linked against VS2008 version of
assembly Microsoft.VisualStudio.Data (v9.0). The fixed plugin links
with the VS2005 version (v8.0) of that library instead instead, which
is upward compatible with later Visual Studio versions.
[5 Aug 2013 5:39] Naveen Valusa
hi,

i have the encountered the following error in VS 2010 running on windows 7 machine.

"An unexpected error occurred in the .NET FrameWork Data Provider for Mysql.Please contact the provider vender to resolve the problem."

Can anybody help me in resolving the issue
[5 Aug 2013 10:32] Fernando Gonzalez.Sanchez
Hi,

Which version of Connector/NET are you using?

Also can you check your machine.config? It must have a registered MySql Connector/NET provider, something like this (version may differ):

  <system.data>
    <DbProviderFactories>
      <add name="Microsoft SQL Server Compact Data Provider 4.0" invariant="System.Data.SqlServerCe.4.0" description=".NET Framework Data Provider for Microsoft SQL Server Compact" type="System.Data.SqlServerCe.SqlCeProviderFactory, System.Data.SqlServerCe, Version=4.0.0.0, Culture=neutral, PublicKeyToken=89845dcd8080cc91" />
.
.
.
      <add name="MySQL Data Provider" invariant="MySql.Data.MySqlClient" description=".Net Framework Data Provider for MySQL" type="MySql.Data.MySqlClient.MySqlClientFactory, MySql.Data, Version=6.6.5.0, Culture=neutral, PublicKeyToken=c5687fc88969c44d" />
    </DbProviderFactories>
  </system.data>