Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
HomeAnnouncementsFree MagazinesWhite PapersSubmit Content
Discussion GroupsASP.NETWindows FormsLanguages.NET FrameworkVisual Studio.NET
Articles.NET FrameworkASP.NETToolsWindows Forms
.NET DirectoryOpen Source ProjectsUser GroupsWeb Resources
Related Topics
Visual Basic 6SQL ServerMS AccessOther DB ProductsMS Server ProductsMore Topics ...

.NET Forum / Visual Studio.NET / General / June 2005

Tip: Looking for answers? Try searching our database.

Install PgSqlClient

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
lbolognini@gmail.com - 08 Jun 2005 14:05 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.

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

Free Magazines

Get these publications absolutely FREE for up to 12 months. There are no hidden fees and no obligation. Simply choose a title, complete the application form and submit it. Read more ...

Oracle MagazineNetwork ComputingComputer WorldBio-IT WorldeWeekInformation WeekInfosecurity
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.