Page 1 of 1

Having Trouble opening DB Demos

Posted: Wed Dec 08, 2021 9:42 am
by Nostradamus
Hi Sergey,
Having trouble opening:-
C:\Components\TRichView\TRichView\Demos\Delphi\DB Demo\1 DBRichViewEdit
similarly for this one as well

C:\Components\TRichView\TRichView\Demos\Delphi\DB Demo\2 RichViewEdit
similarly for this one as well
C:\Components\TRichView\TRichView\Demos\Delphi\DB Demo\3 DBGrid

Class TTable not found ????

Any help is appreciated

Richard

Re: Having Trouble opening DB Demos

Posted: Wed Dec 08, 2021 6:20 pm
by Sergey Tkachenko
These demos use BDE (Borland Database Engine)
BDE is obsolete and is not supported by new versions of Delphi.

If you use a recent versions of Delphi, it's better to use demos not from "Delphi", but from "DelphiUnicode" folder.
Specifically, with FireDAC_IB extension in directory names.
These demos use FireDAC components, and InterBase tables (InterBase server must be running)

Re: Having Trouble opening DB Demos

Posted: Wed Dec 08, 2021 11:03 pm
by Nostradamus
TRIED UNICODE PROJECT STILL NO LUCK
================================
Connection definition parameters
================================
User_Name=sysdba
Password=*****
Database=C:\Components\TRichView\TRichView\Demos\DelphiUnicode\DB Demos.FireDAC_IB\1 DBRichViewEdit\SAMPLETABLE.GDB
DriverID=IB
================================
FireDAC info
================================
Tool = RAD Studio 11.0
FireDAC = 28.0.0 (Build 106147)
Platform = Windows 32 bit
Defines = FireDAC_NOLOCALE_META;FireDAC_MONITOR
================================
Client info
================================
Loading driver IB ...
Brand = InterBase
Client version = 1402009900
Client DLL name = C:\Windows\SYSTEM32\gds32.dll
================================
Session info
================================
Failed to connect to DBMS !
[FireDAC][Phys][IB]unavailable database

Re: Having Trouble opening DB Demos

Posted: Thu Dec 09, 2021 10:10 am
by Nostradamus
It seems
I have a licensing issue with IB RAD SERVER
and it is a new license.

Re: Having Trouble opening DB Demos

Posted: Thu Dec 09, 2021 12:07 pm
by Sergey Tkachenko
One thing to check, if the running server and the connection has the same port.
If port is not specified in connection parameters, it is taken from the environment variable IB_PROTOCOL.
When Delphi is running, it may apply additional environment variables.
You can check them in Tools | Options, page IDE | Environment variables.
For example, it may define IB_PROTOCOL = developer_ib2020.
When you run IterBase Server Manager, check its caption. It should contain the same string in [], like [developer_ib2020].

Re: Having Trouble opening DB Demos

Posted: Wed Dec 22, 2021 11:28 am
by Nostradamus
It works now....Thanks