Page 1 of 1

unknow driver: DevartPostgreSQL

Posted: Mon 11 Sep 2017 15:46
by alfpal
Hi,
I need to access a sql postgre server database
I put in a form a TsqlConnection component, I fill Its property as:
SQLConnection := TSQLConnection.Create(nil);
SQLConnection.DriverName :='DevartPostgreSQL';
SQLConnection.ConnectionName :='DevartPostgreSQL';
SQLConnection.GetDriverFunc := 'getSQLDriverPostgreSQL';
SQLConnection.LibraryName := 'dbexppgsql40.dll';
SQLConnection.LoginPrompt := False;
SQLConnection.Params.Values['HostName'] := 'localhost:5432';
SQLConnection.Params.Values['Database'] := 'postgres';
SQLConnection.Params.Values['SchemaName'] :='public';
SQLConnection.Params.Values['User_Name'] := 'postgres';
SQLConnection.Params.Values['Password'] := 'password';

when I try to connected it , show the message
unknow driver: DevartPostgreSQL

I installed devart dbx driver for postgre (Trial version)

Can somebody help me?

PS : in the file dbxdrivers.ini there is the row with DevartPostgreSQL=1

I'm using Delphi XE2

thanks.

Re: unknow driver: DevartPostgreSQL

Posted: Tue 12 Sep 2017 10:26
by azyk
To solve the issue, add the DbxDevartPostgreSQL unit to the uses clause. Also specify whether this issue is reproduced on our Query demo project. The Query project is located in the subfolder 'Demos\Query' relatively to the path where dbExpress Driver for PostgreSQL demos were installed.