Page 1 of 1

PostgreSQLDirect.NET and RAD Studio 2007

Posted: Wed 05 Dec 2007 15:42
by AlexanderPriem
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.

Answer?

Posted: Fri 07 Dec 2007 07:17
by AlexanderPriem
Hello,

Has someone looked into this yet ?

Posted: Fri 07 Dec 2007 07:48
by SecureGen
We are investigating this problem.
You will be notified on results as soon as possible.

Posted: Mon 10 Dec 2007 11:33
by SecureGen
We did not find any problems in PostgreSQLDirect .NET 3.25 run time. The design time problems are being fixed now.

Version 2.55

Posted: Mon 10 Dec 2007 12:20
by AlexanderPriem
Will this also be fixed for version 2.55? I am using a registered version of 2.55.

Posted: Mon 10 Dec 2007 12:39
by SecureGen
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.

Costs

Posted: Mon 10 Dec 2007 13:14
by AlexanderPriem
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 ?

Posted: Tue 11 Dec 2007 13:35
by SecureGen
We have performed thorough investigation and found that it is impossible to use design time features in RAD Studio 2007.

Run-Time

Posted: Tue 11 Dec 2007 13:57
by AlexanderPriem
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 :)

Still error

Posted: Tue 11 Dec 2007 14:19
by AlexanderPriem
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.

Posted: Wed 12 Dec 2007 14:28
by SecureGen
We have fixed this problem for you.
Look forward to the next build.

Thanks

Posted: Wed 12 Dec 2007 15:11
by AlexanderPriem
Thanks a lot for your great support on this :)

I can't wait to download and test it.

Posted: Thu 13 Dec 2007 10:29
by SecureGen
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());