Page 1 of 1

TUniConnection login problem in direct mode

Posted: Mon 11 Feb 2019 15:41
by ArturGiera
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?

Re: TUniConnection login problem in direct mode

Posted: Thu 14 Feb 2019 19:25
by MaximG
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;