[Mono-aspnet-list] Cannot find MySQL Namespace
dragonbite at gmail.com
Sat Apr 16 08:27:33 EDT 2011
Yes, that is what I have already done (it was my 3rd line). I have put
it in the /bin directory, I have put it in the GAC. I still get the
I have taken the MySql.Data and tried with it not part of the project.
I have tried with it included in project.
I have tried this in Monodevelop (2.2 and 2.4), and I have tried this in
Visual Web Developer Express (2008).
I am starting to get desperate.
On Sat, 2011-04-16 at 09:49 +0200, Alberto León wrote:
> If you prefer fast solution copy MySQL.Data in bin directory of your
> 2011/4/16 dragonbite <dragonbite at gmail.com>
> 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
> 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
> Obviously I must me missing something, and quite likely
> something very
> basic! I'm used to doing VB.NET ASP.NET with a MS SQL Server
> database and a
> lot of this is set up by our System Administrator so please,
> don't assume I
> know to do anything.
> View this message in context:
> Sent from the Mono - ASP.NET mailing list archive at
> Mono-aspnet-list mailing list
> Mono-aspnet-list at lists.ximian.com
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the Mono-aspnet-list