Have you checked to make sure the appropriate permissions are set for the MySql.Data.dll ? Also when I installed the MySql.Data.dll connector to the GAC (using gacutil -I MySql.Data.dll) I had to manually create the symbolic links for use in v2.0 of the framework.
Ex: $ ln -s /usr/lib/mono/gac/MySql.Data/5.0.5.0__c5687fc88969c44d/MySql.Data.dll /usr/lib/mono/2.0/MySql.Data.dll -----Original Message----- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of EverBlue Sent: Thursday, March 15, 2007 8:35 AM To: [email protected] Subject: [Mono-list] Could not load file or assembly - MySql.Data.dll I have a problem with mod_mono and MySql.Data.dll. I have a web service on my linux with mod_mono.I compliled my source in windowsXP use "mcs /r:System.Data /r:System.Web /r:System.Web.Services /r:System.Management /t:library advanced.asmx.cs", and it works. I copied the advanced.asm.dll to the linux web directory with MySql.Data.dll together, then open my mozilla, but it keep telling me ----------------- "System.IO.FileNotFoundException: Could not load file or assembly '/usr/lib/xsp/test/bin/MySql.Data.dll' or one of its dependencies. The system cannot find the file specified. File name: '/usr/lib/xsp/test/bin/MySql.Data.dll'" ----------------- But the MySql.Data.dll is excactly exist in the bin directory with advanced.asmx.dll. >From the previous answer in Nabble, I use "gacutil -i MySql.Data.dll" to add the dll to GAC, but it still can't load MySql.Data.dll Hope someone can help me out. Thanks a lot -- View this message in context: http://www.nabble.com/Could-not-load-file-or-assembly---MySql.Data.dll-tf340 8668.html#a9495713 Sent from the Mono - General mailing list archive at Nabble.com. _______________________________________________ Mono-list maillist - [email protected] http://lists.ximian.com/mailman/listinfo/mono-list _______________________________________________ Mono-list maillist - [email protected] http://lists.ximian.com/mailman/listinfo/mono-list
