I developed an application that at the time of running on my computer the same runs normally but when trying to run the same application on another device the following error appears and I can not access the Database:
Note:Ihavealreadycopiedallthedllsthatarenexttomyprojecttothecomputer,alsocopiedthedbxconnections.inifileandthedbxdrivers.inibuttheerrorpersists,ifyouhaveanyidea
PostgreSQL version is 9.6.0
And the content of DBXConnection is:
[Devart PostgreSQL]
BlobSize=-1
HostName=192.168.1.130
DataBase=BancoDados
SchemaName=
DriverName=DevartPostgreSQL
User_Name=postgres
Password=masterkey
FetchAll=True
UseQuoteChar=False
EnableBCD=True
ServerCharSet=
DBDrivers Configuration:
[Devart PostgreSQL]
GetDriverFunc=getSQLDriverPostgreSQL
LibraryName=dbexppgsql.dll
VendorLib=dbexppgsql.dll
Database=BancoDados
User_Name=postgres
Password=masterkey
ServerCharSet=
BlobSize=-1
[AutoCommit]
False=0
True=1
[BlockingMode]
False=0
True=1
[WaitOnLocks]
False=1
True=0
[CommitRetain]
False=0
True=1
[OS Authentication]
False=0
True=1
[Multiple Transaction]
False=0
True=1
[Trim Char]
False=0
True=1
[DB2 TransIsolation]
DirtyRead=0
ReadCommited=1
RepeatableRead=2
[Interbase TransIsolation]
ReadCommited=1
RepeatableRead=2
[Oracle TransIsolation]
DirtyRead=0
ReadCommited=1
RepeatableRead=2
[Informix TransIsolation]
DirtyRead=0
ReadCommited=1
RepeatableRead=2
[MSSQL TransIsolation]
DirtyRead=0
ReadCommited=1
RepeatableRead=2
[SQLDialect]
1=0
2=1
3=2
Code:
procedure TdmDatabase.DataModuleCreate(Sender: TObject);
begin
SQLConnection.Connected := false;
SQLConnection.LoadParamsOnConnect := true;
SQLConnection.AutoClone := false;
SQLConnection.LoginPrompt := false;
SQLConnection.LoadParamsFromIniFile('dbxconnections.ini');
//SQLConnection.LoadParamsFromIniFile('LOCAL_dbxconnections.ini');
SQLConnection.Connected := true;
end;