Page 1 of 1
Unexpected Error in Visual Studio 2005
Posted: Wed 04 Oct 2006 12:42
by william235
Iam having difficulty after installing this product
in Visual Studio 2005. Although installation appears to have been
sucessful, when I attempt to add a database connection I get:
"an unexpected error has occurred in the Postgresql .net data provider.
please contact vendor to resolve this problem."
There is no other information, just that error. I am a registered user using psqlnet 2.5 2
Posted: Wed 04 Oct 2006 13:04
by Alexey
What edition of Visual Studio do you use?
Specify your hardware architecture: x32 or x64?
What version of PostgreSQLDirect .NET do you use (Std, Pro, Mobile)?
What is the full version of the dll (2.XX.XX.X)?
Reply to request for more information
Posted: Thu 05 Oct 2006 21:53
by william235
Thanks for your reply to my inquiry. Following are the answers to your questions:
Windows XP SP2
Visual Studio 2005 Specifically Visual Basic
X32 Architecture
PostgreSQLDirect .NET Pro
The full version of the dll is (2.50.15.0)
The error occurs immediately when I right click on data connections in order to open a new connection.
Thanks again for your help.
Posted: Fri 06 Oct 2006 06:28
by Alexey
Version 2.50.15.0 is not the last one. Please download the latest PostgreSQLDirect .NET from our site and use it.
Problem is still there
Posted: Tue 10 Oct 2006 01:32
by william235
I have downloaded the most recent version of the dll 2.50.21.0. Still get exactly the same error message.
Posted: Tue 10 Oct 2006 06:42
by Alexey
The error occurs immediately when I right click on data connections in order to open a new connection.
What data connections do you mean?
Previous Question
Posted: Tue 10 Oct 2006 12:47
by william235
Thanks again for your assistance.
When I right click on "Data Connections" in the database explorer pane and choose add connection the problem occurs.
If I go in the tools menu and use the dataset wizard I can get a lot further, seeing the tables and all of that, but the connection is never made. The problem occurs when I attempt a new connection to the db. I have verified using PGAdmin that I am connected and the database is online.
I have tried this on another separate machine on the same network that has VS2005 and get the same error. Also, to clarify, I am using VS2005 Standard edition primarily with visual basic.
Posted: Tue 10 Oct 2006 13:54
by Alexey
Try to run "devenv /resetskippkgs" from the command line.