unknow driver: DevartPostgreSQL

unknow driver: DevartPostgreSQL

Postby alfpal » Mon 11 Sep 2017 15:46

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

Posts: 1
Joined: Mon 11 Sep 2017 15:34

Re: unknow driver: DevartPostgreSQL

Postby azyk » Tue 12 Sep 2017 10:26

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.
Devart Team
Posts: 962
Joined: Fri 11 Apr 2014 11:47
Location: Alpha Centauri A

Return to dbExpress driver for PostgreSQL