Page 1 of 1

Cant install Securebridge.

Posted: Tue 14 Apr 2020 17:55
by kaffeburk
A new error have emerged ;) Just reinstalled Delphi 10.3.2 and latest unidac + securebridege

files (x86)\embarcadero\studio\20.0\Lib\Win32\Debug" dacsbridge260.dpk
[dcc32 Error] CRSSLIOHandler.pas(179): E2003 Undeclared identifier: 'ProxyOptions'
[dcc32 Error] CRSSLIOHandler.pas(179): E2066 Missing operator or semicolon
[dcc32 Fatal Error] dacsbridge260.dpk(41): F2063 Could not compile used unit 'CRSSLIOHandler.pas'
Failed

Re: Cant install Securebridge.

Posted: Wed 15 Apr 2020 14:12
by ViktorV
Thank you for the information. Yes you are right, TCRSSLIOHandler is not compatible with the current version of SecureBridge, but compatible with the next version of SecureBridge. For the time being, to successfully compile, please comment out or delete the following lines in the TCRSSLIOHandler.Connect method:

Code: Select all

if ProxyOptions <> nil then
  SSLClient.ProxyOptions.Assign(ProxyOptions);

Re: Cant install Securebridge.

Posted: Thu 16 Apr 2020 15:29
by kaffeburk
Tried to install on 10.3.3 but a new problem.

Compiling dacsbridge260.dproj (Debug, Win64)
[dcc64 Error] CRSSHIOHandler.pas(26): E2037 Declaration of 'Connect' differs from previous declaration
[dcc64 Fatal Error] F2063 Could not compile used unit 'CRSSHIOHandler.pas'

Securebridge 9.2.4
Unidac 8.1.3
Delphi 10.3.3

Re: Cant install Securebridge.

Posted: Fri 17 Apr 2020 14:46
by ViktorV
Unfortunately, we haven't been able to reproduce the issue.
It seems that there are some old units of our products on your computer.
Please try to perform the following steps and let us know the results:
- remove Devart SecureBridge Components for Data Access Components from [Components]-[Install Packages] ;
- uninstall UniDAC and SecureBridge;
- find all DAC units, like MemUtils.dcu, CRParser.dcu, CLRClasses.dcu, MemData.dcu, MemDS.dcu, DBAccess.dcu, MyClassesUni.dcu, CRSSLIOHandler.dcu, CRSSHIOHandler.dcu files on your PC and delete them;
- find all *dac*.bpl, *dac*.dcp, *dac*.bpi, *dac*.lib, *crcontrols*.bpl, *crcontrols*.dcp, *crcontrols*.bpi, *crcontrols*.lib files on your PC and delete them.
- run UniDAC install with option "force" (mydac*.exe /force) as administrator.
- run SecureBridge install with option "force" (sbridge*.exe /force) as administrator.
- rebuild the package: dacsbridgeXX.dpk .
- rebuild and install the package: dcldacsbridgeXX.dpk.
If this does not help in solving the issue, please try on virtual machine to install IDE without third party components, install the latest version of UniDAC, SecureBridge and check whether the issue is reproduced.