Bug #74080 Error loading
Submitted: 25 Sep 2014 17:30 Modified: 7 Nov 2014 1:32
Reporter: Christian Benner Email Updates:
Status: Closed Impact on me:
None 
Category:Connector / NET Severity:S2 (Serious)
Version:6.9.3 OS:Windows
Assigned to: Roberto Ezequiel Garcia Ballesteros CPU Architecture:Any
Tags: install, machine.config

[25 Sep 2014 17:30] Christian Benner
Description:
After installing .NET/Connector 6.9.3 I've got the following error on all WEB-Servers.

System.Configuration.ConfigurationErrorsException: Could not load file or assembly 'MySql.Web.v20, Version=6.9.3.0, Culture=neutral, PublicKeyToken=c5687fc88969c44d' or one of its dependencies. Das System kann die angegebene Datei nicht finden. (C:\Windows\Microsoft.NET\Framework64\v4.0.30319\Config\machine.config line 284) ---> System.IO.FileNotFoundException: Could not load file or assembly 'MySql.Web.v20, Version=6.9.3.0, Culture=neutral, PublicKeyToken=c5687fc88969c44d' or one of its dependencies. could not find file 

How to repeat:
 .-) install .NET/Connector

Suggested fix:
Excluding in machine.config the following line stops this error:

<!--        <add name="MySqlSiteMapProvider" type="MySql.Web.SiteMap.MySqlSiteMapProvider, 

MySql.Web.v20, Version=6.9.3.0, Culture=neutral, PublicKeyToken=c5687fc88969c44d" 

connectionStringName="LocalMySqlServer" applicationName="/" /> -->
[13 Oct 2014 22:10] Nestor Lobo
The real issue is that the assembly namespace is wrong...

From: http://forums.mysql.com/read.php?38,620669,621338

If you remove the suffix "v20" from "MySql.Web.v20" references all around config file it will start finding the assembly namespace and it will start working as it should.

I just did and worked like a charm...
Regards
[7 Nov 2014 1:32] Philip Olson
Posted by developer:
 
Fixed as of the upcoming Connector/Net 6.9.5 release, and here's the changelog entry:

The web providers registration required the removal of the ".v20" suffix
from the type in the web providers section in "machine.config".

Thank you for the bug report.