[Mono-list] assembly not found in xsp

Daniel Soto daniel.soto2k at gmail.com
Sun Sep 16 23:45:24 EDT 2007


Hi all.

I have a problem, hopefully you can help me.

I installed succesfully mono 1.2.5 and xsp. I have a aspx pages that 
connect to MySql, but at execute the aspx pages with aspx, shows me an 
error.

The type or namespace name `MySqlConnection' does not exist in the 
namespace `MySql.Data.MySqlClient'. Are you missing an assembly reference?

I registered MySql.Data.dll into gac, using gacutil, also I added the 
reference to Web.Config

<add assembly="MySql.Data, Version=5.0.6.0, Culture=neutral, 
PublicKeyToken=C5687FC88969C44D"/>

The public token is the same that did registered in the gac. Of course, 
the version also is the same.

Also, i added the dll into the "bin" directory in my application, but 
without success. Appears as if the namespace MySql.Data.MySqlClient is 
recognized, but i don't understand why it says that MySqlConnection is 
not recognized (MySqlConnection is a class in the namespace 
MySql.Data.MySqlClient)

Any help, please.

Best regards.


More information about the Mono-list mailing list