Having Trouble opening DB Demos

General TRichView support forum. Please post your questions here
Post Reply
Nostradamus
Posts: 67
Joined: Sat May 13, 2006 1:56 pm
Location: Australia

Having Trouble opening DB Demos

Post 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
Sergey Tkachenko
Site Admin
Posts: 17291
Joined: Sat Aug 27, 2005 10:28 am
Contact:

Re: Having Trouble opening DB Demos

Post 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)
Nostradamus
Posts: 67
Joined: Sat May 13, 2006 1:56 pm
Location: Australia

Re: Having Trouble opening DB Demos

Post 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
Attachments
fdbDEMO ERROR MESSAGE.png
fdbDEMO ERROR MESSAGE.png (90.94 KiB) Viewed 8556 times
Nostradamus
Posts: 67
Joined: Sat May 13, 2006 1:56 pm
Location: Australia

Re: Having Trouble opening DB Demos

Post by Nostradamus »

It seems
I have a licensing issue with IB RAD SERVER
and it is a new license.
Sergey Tkachenko
Site Admin
Posts: 17291
Joined: Sat Aug 27, 2005 10:28 am
Contact:

Re: Having Trouble opening DB Demos

Post 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].
Nostradamus
Posts: 67
Joined: Sat May 13, 2006 1:56 pm
Location: Australia

Re: Having Trouble opening DB Demos

Post by Nostradamus »

It works now....Thanks
Post Reply