[Mono-dev] mysql connector Mono 2.6.7 - Cannot find assembly
frankenspank at gmail.com
Thu Oct 21 11:56:38 EDT 2010
Renaming the DLL to the camel case as suggested did the trick for my command
line program! I renamed the DLL file in the GAC to be MySql.Data.dll and it
picked it up - my test program returned the results I was expecting. For
mod-mono, I am still getting the same error as before. This is the same
thing that occurs on Windows when I try to run the site under mono. So I
think this problem must be with mod-mono/xsp. So it looks like
System.Data.Common is somehow STILL referencing the wrong DLL. Below I've
pasted the relevant portion of the stack trace.
System.Configuration.ConfigurationErrorsException: Failed to find or load
the registered .Net Framework Data Provider 'MySql.Data.MySqlClient'.
at System.Data.Common.DbProviderFactories.GetFactory (string) <0x000a2>
at SubSonic.DataProviders.DbDataProvider.get_Factory () <0x0001c>
at SubSonic.DataProviders.DbDataProvider.CreateConnection (string) <0x00012>
at SubSonic.DataProviders.DbDataProvider.CreateConnection () <0x0001f>
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the Mono-devel-list