TUniConnection login problem in direct mode

Discussion of open issues, suggestions and bugs regarding UniDAC (Universal Data Access Components) for Delphi, C++Builder, Lazarus (and FPC)
Post Reply
ArturGiera
Posts: 1
Joined: Mon 11 Feb 2019 15:24

TUniConnection login problem in direct mode

Post by ArturGiera » Mon 11 Feb 2019 15:41

Hi!
I'm using UniDAC 4.6.12 for RAD Studio XE2. I'm trying do connect to Oracle 12 database in direct mode. Connection should be with service so I set:
Server:=server:port:sn=servicename
Username:=properuser
Password:=properpassword

SpecificOptions.Direct:=True
SpecificOptions.Schema:=properschema

and I stil get "wrong username/password combination". When I change server property, I got different error, so it's not a connection string problem.

Any ideas anyone?

MaximG
Devart Team
Posts: 1822
Joined: Mon 06 Jul 2015 11:34

Re: TUniConnection login problem in direct mode

Post by MaximG » Thu 14 Feb 2019 19:25

Work with the database was supported in version 5.0.2 (15-Jul-13). Therefore, to work with this Oracle version you need UniDAC 5.0.2 or a newer one.
You can try to use the latest version of UniDAC Trial Edition ( https://www.devart.com/unidac/download.html ) to test your project :

Code: Select all

 UniConnection.Server := 'server:port:sn=servicename';
  UniConnection.Username := 'properuser';
  UniConnection.Password := 'properpassword';
  UniConnection.SpecificOptions.Values['Direct'] := 'True';
  UniConnection.SpecificOptions.Values['Schema'] := '<properschema name>';

  UniConnection.Connect;

Post Reply