PostgreSQLDirect.NET and RAD Studio 2007

PostgreSQLDirect.NET and RAD Studio 2007

Postby AlexanderPriem » Wed 05 Dec 2007 15:42

Hello,

I am trying to use my (registered) PostgreSQLDirect.NET 2.55 (which I already used for Delphi 2005) for the new RAD Studio 2007.

I get an error when trying to create a pgsqlConnection object, saying "Constructing instance of 'PgSqlConnection' containing abstract method DbConnection.BeginDbTransaction". This works fine in Delphi 2005. Is the new RAD Studio 2007 supported yet ? Is there a workaround ?

Kind regards,

Alexander Priem.
AlexanderPriem
 
Posts: 29
Joined: Fri 24 Feb 2006 09:54

Answer?

Postby AlexanderPriem » Fri 07 Dec 2007 07:17

Hello,

Has someone looked into this yet ?
AlexanderPriem
 
Posts: 29
Joined: Fri 24 Feb 2006 09:54

Postby SecureGen » Fri 07 Dec 2007 07:48

We are investigating this problem.
You will be notified on results as soon as possible.
SecureGen
Devart Team
 
Posts: 133
Joined: Thu 08 Sep 2005 06:27

Postby SecureGen » Mon 10 Dec 2007 11:33

We did not find any problems in PostgreSQLDirect .NET 3.25 run time. The design time problems are being fixed now.
SecureGen
Devart Team
 
Posts: 133
Joined: Thu 08 Sep 2005 06:27

Version 2.55

Postby AlexanderPriem » Mon 10 Dec 2007 12:20

Will this also be fixed for version 2.55? I am using a registered version of 2.55.
AlexanderPriem
 
Posts: 29
Joined: Fri 24 Feb 2006 09:54

Postby SecureGen » Mon 10 Dec 2007 12:39

The 2.x version is not compatible with Delphi 2007. You have to upgrade to the 3.x version to be able to use this IDE.
SecureGen
Devart Team
 
Posts: 133
Joined: Thu 08 Sep 2005 06:27

Costs

Postby AlexanderPriem » Mon 10 Dec 2007 13:14

Right now we have a Standard Site License. If I want to upgrade this to version 3, that will cost us $219, right ?

Can you give me an estimate when the new version that solves my problem will be available for download ?
AlexanderPriem
 
Posts: 29
Joined: Fri 24 Feb 2006 09:54

Postby SecureGen » Tue 11 Dec 2007 13:35

We have performed thorough investigation and found that it is impossible to use design time features in RAD Studio 2007.
SecureGen
Devart Team
 
Posts: 133
Joined: Thu 08 Sep 2005 06:27

Run-Time

Postby AlexanderPriem » Tue 11 Dec 2007 13:57

Well, actually I don't even use the design-time (visual) components. I just include the DLL into my project and all the queries I run are done through code, I dont use any of the Visual PostgreSQLDirect.NET components.

Will that work in RAD Studio 2007 and will you continue to support it?

And the question I asked in my former post, the costs to upgrade to the 3.25 Standard Site license is $ 219, right ?

Thanks for your time with this :)
AlexanderPriem
 
Posts: 29
Joined: Fri 24 Feb 2006 09:54

Still error

Postby AlexanderPriem » Tue 11 Dec 2007 14:19

Hello,

I downloaded the 3.25 version from your site and included it into my ASP.NET 2.0 project using RAD Studio 2007 Architect.

On the following line :

adoConn := PgsqlConnection.Create;

I (still) get the following two errors :

[DCC Error] CICT_PGSQL.pas(1202): E1020 Constructing instance of 'PgSqlConnection' containing abstract method 'DbConnection.BeginDbTransaction'

[DCC Error] CICT_PGSQL.pas(1202): E1020 Constructing instance of 'PgSqlConnection' containing abstract method 'DbConnection.CreateDbCommand'



This is the same error I got using version 2.55, but it appears this still happens with 3.25. Can you tell me what I am doing wrong and how I can get it working in RAD Studio 2007?

The same line of code works perfectly using ASP.NET 1.1 and Delphi 2005.
AlexanderPriem
 
Posts: 29
Joined: Fri 24 Feb 2006 09:54

Postby SecureGen » Wed 12 Dec 2007 14:28

We have fixed this problem for you.
Look forward to the next build.
SecureGen
Devart Team
 
Posts: 133
Joined: Thu 08 Sep 2005 06:27

Thanks

Postby AlexanderPriem » Wed 12 Dec 2007 15:11

Thanks a lot for your great support on this :)

I can't wait to download and test it.
AlexanderPriem
 
Posts: 29
Joined: Fri 24 Feb 2006 09:54

Postby SecureGen » Thu 13 Dec 2007 10:29

The new build will be available soon.

To continue your development without the build you can use a factory to create a connection:
connection := PgSqlConnection(PgSqlDirectFactory.Instance.CreateConnection());
SecureGen
Devart Team
 
Posts: 133
Joined: Thu 08 Sep 2005 06:27


Return to dotConnect for PostgreSQL