1
Could not load file or assembly MySql.Web.v20
Problem reported by FARSHAD VOSSOUGHI - 11/11/2014 at 6:18 AM
Resolved
Attempting to install the 30 days version of SmarterTrack on a server running Windows Server 2012, IIS, with MS SQL and mySQL installed.  During the install when the first webpage is supposed to show I get the following:
 
There was an issue that caused this page to malfunction. System.IO.FileNotFoundException: Could not load file or assembly 'MySql.Web.v20, Version=6.9.4.0, Culture=neutral, PublicKeyToken=c5687fc88969c44d' or one of its dependencies. The system cannot find the file specified.
File name: 'MySql.Web.v20, Version=6.9.4.0, Culture=neutral, PublicKeyToken=c5687fc88969c44d'
at System.RuntimeTypeHandle.GetTypeByName(String name, Boolean throwOnError, Boolean ignoreCase, Boolean reflectionOnly, StackCrawlMarkHandle stackMark, IntPtr pPrivHostBinder, Boolean loadTypeFromPartialName, ObjectHandleOnStack type)
at System.RuntimeTypeHandle.GetTypeByName(String name, Boolean throwOnError, Boolean ignoreCase, Boolean reflectionOnly, StackCrawlMark& stackMark, IntPtr pPrivHostBinder, Boolean loadTypeFromPartialName)
at System.Type.GetType(String typeName, Boolean throwOnError, Boolean ignoreCase)
at System.Web.Compilation.BuildManager.GetType(String typeName, Boolean throwOnError, Boolean ignoreCase)
at System.Web.Configuration.ConfigUtil.GetType(String typeName, String propertyName, ConfigurationElement configElement, XmlNode node, Boolean checkAptcaBit, Boolean ignoreCase)
 
Any assistance would be very much appreciated.
 
Regards,
 
Farshad Vossoughi
 
 

2 Replies

Reply to Thread
0
Employee Replied
Employee Post
Hello,
Did you install a MySQL connector? I found MySQL has a bug in older versions http://bugs.mysql.com/bug.php?id=74080. deleting the .v20 in MySql.Web may fix it?
Hope this helps!
-Ashley
0
dean brown Replied
That fixed it for me - thanks!
Details:
MySQL Connector Net 6.9.3 installed
SmarterTrack11
IIS7.5
 
I changed it here:
machine.config in:
C:\Windows\Microsoft.NET\Framework\v2.0.50727\CONFIG
C:\Windows\Microsoft.NET\Framework\v4.0.30319\Config
C:\Windows\Microsoft.NET\Framework64\v2.0.50727\CONFIG
C:\Windows\Microsoft.NET\Framework64\v4.0.30319\Config
(I did a search for MySql.Web.v20 and deleted the .v20 in the 5 rows found)
No reboot, or service restart needed
 

Reply to Thread