Page 1 of 1

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

Posted: 28.10.2022, 09:58
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.

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

Posted: 02.11.2022, 11:51
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