PsgCommand Casting Problem

PsgCommand Casting Problem

Postby Galina » Tue 04 Apr 2006 15:54

I'm using a Web Service to get Data from PostgreSQL DB. In the local PC it work fine. Once in the Test Server I am getting the following message

"Unable to cast object of type 'CoreLab.PostgreSql.PgSqlCommand' to type 'System.Data.Common.DbCommand'."

Any help would be appreciate


Postby Alexey » Wed 05 Apr 2006 08:18

Seemingly, you have CoreLab.PostgreSql.dll for .NET Framework 1.x on the Test Server. Please check and substitute it with CoreLab.PostgreSql.dll for .NET Framework 2.0.
Posts: 2756
Joined: Mon 13 Mar 2006 07:43

Return to dotConnect for PostgreSQL