Unidac http tunnel not working

Discussion of open issues, suggestions and bugs regarding UniDAC (Universal Data Access Components) for Delphi, C++Builder, Lazarus (and FPC)
NAlexl
Posts: 9
Joined: Tue 21 Feb 2017 08:47

Re: Unidac http tunnel not working

Post by NAlexl » Fri 03 Mar 2017 08:49

Hi VictorV!

I had success with the connection but i still have a problema when i compile!

"[dcc32 Fatal Error] Unit1.pas(7): F2051 Unit CRSSLIOHandler was compiled with a different version of ScBridge.TScStorage".

Thanks in advance!

ViktorV
Devart Team
Posts: 3168
Joined: Wed 30 Jul 2014 07:16

Re: Unidac http tunnel not working

Post by ViktorV » Fri 03 Mar 2017 09:25

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" (unidac*.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.

FCS
Posts: 176
Joined: Sat 23 Feb 2013 18:46

Re: Unidac http tunnel not working

Post by FCS » Fri 03 Mar 2017 15:06

Hello Victor,

At this point I would like to ask you about deleting UniDac files from the PC.

Is your solution proper when one has installed BDS 2006, BDS 2010 and XE3 on the same PC?

Regards
Michal

ViktorV
Devart Team
Posts: 3168
Joined: Wed 30 Jul 2014 07:16

Re: Unidac http tunnel not working

Post by ViktorV » Tue 07 Mar 2017 09:14

If the above issue solution procedure for one specific IDE did not succeed, the procedure should be performed for all IDE.

FCS
Posts: 176
Joined: Sat 23 Feb 2013 18:46

Re: Unidac http tunnel not working

Post by FCS » Tue 07 Mar 2017 10:59

Hi Victor,

You told about deleting files from computer folders.

If somebody has installed a few IDEs, the files like dac*.bpl, *dac*.dcp, *dac*.bpi, *dac*.lib are used by different IDEs ie dac100.bpl - by BDS2006, dac140.bpl by BDS2010. Using file mask dac*.bpl will delete files from BDS2006 and BDS2010, but problems could be in BDS 2010, not in BDS2006.
Usually each IDS has its own folder which can determine location of UniDac files, but what with files in system folders ?
I think, the best solution is create batch script for each IDE separately.

Regards
Michal

ViktorV
Devart Team
Posts: 3168
Joined: Wed 30 Jul 2014 07:16

Re: Unidac http tunnel not working

Post by ViktorV » Tue 07 Mar 2017 12:46

This is what we meant in the post above: it is the first part of the sentence.
Different bpl files are supplied for different versions of Delphi, therefore they cannot cause the issue, but if there are any compiled dcu files from another UniDAC version left on your machine, even if they are from different versions of Delphi, the error may occur.

FCS
Posts: 176
Joined: Sat 23 Feb 2013 18:46

Re: Unidac http tunnel not working

Post by FCS » Tue 07 Mar 2017 17:18

Hi,
Thank you for the informations.

Regards
Michal

ViktorV
Devart Team
Posts: 3168
Joined: Wed 30 Jul 2014 07:16

Re: Unidac http tunnel not working

Post by ViktorV » Thu 09 Mar 2017 09:19

Thank you for your interest to our product.
If you have any questions during using our products, please don't hesitate to contact us - and we will try to help you solve them.

Post Reply