[Mono-list] Mono.Data.PostgreSqlClient can not be found in ASP.Net

Gonzalo Paniagua Javier gonzalo@ximian.com
27 May 2003 01:04:17 +0200


El lun, 26 de 05 de 2003 a las 22:29, amerigo5 amerigo5 escribió:
> Hi,
> 
> I am testing to connect to PostgreSQL database in ASP.Net but I am getting 
> the following error:
> 
> Error message: /tmp/tmp323549c1.cs(27,0) : error CS0246: The namespace 
> `Mono.Data.PostgreSqlClient' can not be found (missing assembly reference?)
> (0,0) : error failed: 1 error(s), 0 warnings

You should use:

<%@ Assembly name="Mono.Data.PostgreSqlClient" %>

so that the assembly is referenced when compiling the code generated for
that page.

-Gonzalo