Hi all,
I'd like to use the PgSqlClient managed provider for PostgreSQL 7.4+
(http://pgsqlclient.sourceforge.net/) by the Mono project in my ASP
.NET app.
The problem is that, after installing it, I can see it unchecked in the
Tools > Choose Toolbox Items in VWD 2005 B2 but when selecting it, it
doesn't appear anywhere in the toolbox and is not even selectable in
the Tools > Connect to Database > Change wizard, while Oracle,
SqlServer, OleDb and Odbc appear just fine.
>From the codebehind file also it doesn't appear in the System.Data
namespace.
In C:\WINDOWS\Microsoft.NET\Framework\v2.0.50215 it doesn't appear
anywhere but from the Tools > Choose Toolbox Items it appears listed in
the Global Assembly Cache
The following is the output of gacutil:
C:\Program Files\PgSqlClient .NET Data Provider 1.0>gacutil.exe -ldl
Microsoft (R) .NET Global Assembly Cache Utility. Version 1.1.4322.573
Copyright (C) Microsoft Corporation 1998-2002. All rights reserved.
The cache of downloaded files contains the following entries:
Number of items = 0
C:\Program Files\PgSqlClient .NET Data Provider 1.0>
Maybe I should use a v. 2 gacutil? Any clue for howto make it work?
Thanks,
Lorenzo
lbolognini@gmail.com - 09 Jun 2005 22:02 GMT
> Hi all,
>
> I'd like to use the PgSqlClient managed provider for PostgreSQL 7.4+
> (http://pgsqlclient.sourceforge.net/) by the Mono project in my ASP
> .NET app.
Got it! Simpler than I thought. Adding it here for future reference.
Just created a Bin folder in my project directory and dropped in the
.DLL
Lorenzo