Hi,
when I try to open a database in designtime, I get the message:
SQL-Error : unavailable database. Error Code -904. Unsuccessful exeution caused by an unavailable resource.
When I run the program everything works fine.
I use Delphi 7, fbird embed 1.5.3, zeos 6.5.1 alpha CVS as of 13/10/2005.
Has someone a hint what I am doing wrong?
Thanks McB
Delphi7 Firebird embedded
Moderators: gto, cipto_kh, EgonHugeist
- Domo Sokrat
- Fresh Boarder
- Posts: 5
- Joined: 15.09.2005, 06:19
- Location: Halut / Milkyway - Westside
Hi mcb,
the only existing problem I know is if you are connected to an FB embedded server at design time (ZConnection.active = true) and then start the program from IDE because the database is already in use from IDE.
Using an embedded FB Server you can only connect once to a database! A second connect will cause an exception.
Hope this brings a little light into the dark btw: Did you read the "FB-Embedded" article in the Knowledge Base? There is a section called "Features of the Firebird embedded server" ...
Regards!
the only existing problem I know is if you are connected to an FB embedded server at design time (ZConnection.active = true) and then start the program from IDE because the database is already in use from IDE.
Using an embedded FB Server you can only connect once to a database! A second connect will cause an exception.
Hope this brings a little light into the dark btw: Did you read the "FB-Embedded" article in the Knowledge Base? There is a section called "Features of the Firebird embedded server" ...
Regards!
Hi,
after tons of coffe, a little bit of sleep and two or three beers I have the answer:
I tried out lazarus a while ago and some of the components needed access to the gds32.dll even when launching the ide. So I put this file into the system32 directory. When I now tried to open the database in the Delphi IDE, that file was used to open the database, and there was my error message.
Greetings,
McB
after tons of coffe, a little bit of sleep and two or three beers I have the answer:
I tried out lazarus a while ago and some of the components needed access to the gds32.dll even when launching the ide. So I put this file into the system32 directory. When I now tried to open the database in the Delphi IDE, that file was used to open the database, and there was my error message.
Greetings,
McB