On 16.04.2011 04:52, dragonbite wrote: > I am trying to set up a MySQL database for my ASP.NET (Mono) web site. > > I have downloaded the Connector/Net 5.2.7 provider. > > I have tried putting it into the /bin directory. > > I have run sudo gacutil -i MySql.Data.dll and got the message Installed > MySql.Data.dll into the gac (/usr/lib/mono/gac). > > I have put in the Web.config file. > > I put on the code-behind page using MySql.Data;. > > And still I keep getting the message The type or namespace name 'MySql' > could not be found. Are you missing a using directive or an assembly > reference?.
Ensure that the assembly file name is "MySql.Data.dll". Check its casing twice and reinsert it into the GAC. The connector used to be distributed as "mysql.data.dll", which is not the proper file name casing under case-sensitive file systems. Robert _______________________________________________ Mono-aspnet-list mailing list Mono-aspnet-list@lists.ximian.com http://lists.ximian.com/mailman/listinfo/mono-aspnet-list