[Mono-list] Could not load file or assembly - MySql.Data.dll
EverBlue
warjojo at hotmail.com
Thu Mar 15 10:34:37 EDT 2007
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-tf3408668.html#a9495713
Sent from the Mono - General mailing list archive at Nabble.com.
More information about the Mono-list
mailing list