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

amerigo5 amerigo5 amerigo5@hotmail.com
Mon, 26 May 2003 18:53:07 -0500


This is it. Thanks, Gonzalo. -G


----Original Message Follows----
From: Gonzalo Paniagua Javier <gonzalo@ximian.com>
To: mono-list@lists.ximian.com
Subject: Re: [Mono-list] Mono.Data.PostgreSqlClient can not be found 
inASP.Net
Date: 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


_______________________________________________
Mono-list maillist  -  Mono-list@lists.ximian.com
http://lists.ximian.com/mailman/listinfo/mono-list

_________________________________________________________________
MSN 8 helps eliminate e-mail viruses. Get 2 months FREE*.  
http://join.msn.com/?page=features/virus