Upgrading a project from a really old version to the latest zeos lib

The forum for ZeosLib 7.2 Report problems. Ask for help, post proposals for the new version and Zeoslib 7.2 features here. This is a forum that will be edited once the 7.2.x version goes into RC/stable!!

My personal intention for 7.2 is to speed up the internals as optimal a possible for all IDE's. Hope you can help?! Have fun with testing 7.2
Post Reply
Adriaan
Fresh Boarder
Fresh Boarder
Posts: 2
Joined: 28.10.2022, 09:46

Upgrading a project from a really old version to the latest zeos lib

Post by Adriaan »

Hi,

Apologies if this post doesn't meet the standards. I've run into a crisis at work. We have a really old project thats for a really large customer uses. They recently upgraded to postgress 13 from 7 and a error "column def.adsrc" has popped up. They're unable to use the software and this is an issue because they're not able to update their SKU's anymore.

I've attempted multiple times to upgrade the zeos lib in hopes that it fixes the issue. I've finally succeeded after a clean delphi 7 install to install the latest zeoslib.

The problem I'm facing now is that I'm getting a "Requested database driver was not found" error. I have selected postgresql protocol in the ZConnection object inspector and I have also tried to all all of the provided dll files to system32 and alongside the application. I've also tried adjusting the LibraryLocation.

This is a project I have never worked on before and I have no experience with zeos. Unfortunately I do not have the time available to me to figure out this myself. I need to get this working as fast as possible

Any help would be apreciated.
marsupilami
Platinum Boarder
Platinum Boarder
Posts: 1956
Joined: 17.01.2011, 14:17

Re: Upgrading a project from a really old version to the latest zeos lib

Post by marsupilami »

Hello
Adriaan wrote: 28.10.2022, 09:58 The problem I'm facing now is that I'm getting a "Requested database driver was not found" error.
This error usually pops up if the TZConnection.Protocol property is set to an invalid value. In Zeos 7.2 it should be "postgresql". Maybe your project reads it from an ini file and gets a wrong value? Which old Zeos version do you use?

The LibraryLocation is used for setting the correct path to libpq.dll.

Best regards,

Jan
Post Reply