MySql.Data.MySqlClient.MySqlConnection not defined

MySql.Data.MySqlClient.MySqlConnection not defined

am 14.05.2006 12:45:47 von bill

Hi,

I try to connect to Mysql using the Mysql Connector 1.0.7. with asp.net 2.O.

In "mysql.aspx", i put:
<%@ import namespace="System.Data"%>
<%@ Import Namespace = "MySql.Data.MySqlClient" %>
.....

In "mysql.aspx.vb", i put:
Dim oConnection As MySql.Data.MySqlClient.MySqlConnection
......

But the browser gives this error:
"Type 'MySql.Data.MySqlClient.MySqlConnection' is not defined.

Any idea why this doesn't work and how to solve this?
Thanks
Ben

PS: I did the same with Mysql Connector Odbc 3.51 and Odbc.net (dim
oConnection as Microsoft.Data.Odbc.OdbcConnection) and this works

Re: MySql.Data.MySqlClient.MySqlConnection not defined

am 15.05.2006 23:00:41 von Artur Bac

> But the browser gives this error:
> "Type 'MySql.Data.MySqlClient.MySqlConnection' is not defined.
Reference missing, dll not found at runtime ...

Re: MySql.Data.MySqlClient.MySqlConnection not defined

am 17.05.2006 08:54:23 von bill

Thanks

"Artur Bac" schreef in bericht
news:e4aq7r$396$1@news.task.gda.pl...
>
>> But the browser gives this error:
>> "Type 'MySql.Data.MySqlClient.MySqlConnection' is not defined.
> Reference missing, dll not found at runtime ...
>