Subject | Re: [IBO] "Unavailable database"? |
---|---|
Author | Dmitry Beloshistov |
Post date | 2005-09-27T06:28:19Z |
Hello, ra8009!
You wrote to <IBObjects@yahoogroups.com> on Tue, 27 Sep 2005 05:58:59 -0000:
r> I've included the entire event handler and object definition below.
r> LoginUser is "SYSDBA" and LoginPassword is "masterkey". I've also
r> been able to reproduce the error with simpler code. If I've missed
r> information you need just let me know:
r> With MainConnection do begin
r> Disconnect;
r> OpenIniFile;
In ini-file:
[Main]
AppDatabasePath=localhost:C:\..bla-bla..\database.fdb
r> Database := IniFile.readString('MAIN','AppDatabasePath','');
After this server should be 'localhost' without Server:='.....'.
r> Server := IniFile.readString('MAIN','Server','');
^^^^^^^ Delete this line and try again...
In design time connection are success?
WBR,Dmitry Beloshistov AKA [-=BDS=-]
You wrote to <IBObjects@yahoogroups.com> on Tue, 27 Sep 2005 05:58:59 -0000:
r> I've included the entire event handler and object definition below.
r> LoginUser is "SYSDBA" and LoginPassword is "masterkey". I've also
r> been able to reproduce the error with simpler code. If I've missed
r> information you need just let me know:
r> With MainConnection do begin
r> Disconnect;
r> OpenIniFile;
In ini-file:
[Main]
AppDatabasePath=localhost:C:\..bla-bla..\database.fdb
r> Database := IniFile.readString('MAIN','AppDatabasePath','');
After this server should be 'localhost' without Server:='.....'.
r> Server := IniFile.readString('MAIN','Server','');
^^^^^^^ Delete this line and try again...
In design time connection are success?
WBR,Dmitry Beloshistov AKA [-=BDS=-]