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
Having Trouble opening DB Demos
-
- Posts: 67
- Joined: Sat May 13, 2006 1:56 pm
- Location: Australia
-
- Site Admin
- Posts: 17522
- Joined: Sat Aug 27, 2005 10:28 am
- Contact:
Re: Having Trouble opening DB Demos
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)
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)
-
- Posts: 67
- Joined: Sat May 13, 2006 1:56 pm
- Location: Australia
Re: Having Trouble opening DB Demos
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
================================
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 (90.94 KiB) Viewed 13315 times
-
- Posts: 67
- Joined: Sat May 13, 2006 1:56 pm
- Location: Australia
Re: Having Trouble opening DB Demos
It seems
I have a licensing issue with IB RAD SERVER
and it is a new license.
I have a licensing issue with IB RAD SERVER
and it is a new license.
-
- Site Admin
- Posts: 17522
- Joined: Sat Aug 27, 2005 10:28 am
- Contact:
Re: Having Trouble opening DB Demos
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].
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].
-
- Posts: 67
- Joined: Sat May 13, 2006 1:56 pm
- Location: Australia
Re: Having Trouble opening DB Demos
It works now....Thanks