Another idea… is your database using UDFs or Blob filters?  You will probably have to put them in a udf directory if so.

 


From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Phil Middlemiss
Sent: Friday, 29 April 2005 1:57 p.m.
To: NZ Borland Developers Group - Delphi List
Subject: Re: [DUG] Unavailable Database

 

Thanks for that Trevor, that got rid of the "unavailable database" message now! (which is very good). I think I may have a version issue though, cause I'm getting an error about "Implementation of text subtype 52 not located". I am using Firebird 1.5 and the embed zip that I downloaded said to rename the embed.dll to fbclient.dll (gds32.dll was supposed to be for backward support). So now I'm a bit confused - should it be fbclient.dll or gds32.dll? gds32.dll seems to connect ok, but maybe I'm then using something incompatible in the database? Aren't Fridays fun?!?!

Cheers,
Phil.

Trevor Jones wrote:

Phil,

  Since it is Friday, I’ve built a little demo of the embedded server for you here:

 

http://homepages.ihug.co.nz/~trevorj/TEST.zip

 

You can unzip this & burn the contents of the TEST folder to a CD, which should give you a fully self contained embedded database and app which should run on any Windows PC with a CD drive.

 

Source is there too.

 

While you need to provide a username & password to the database when connecting, they can be ANYTHING (the security database is not checked ‘coz it doesn’t exist) but the username is still used in validating permissions on the database itself.

 

Trevor

 


From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] On Behalf Of Phil Middlemiss
Sent: Friday, 29 April 2005 12:47 p.m.
To: NZ Borland Developers Group - Delphi List
Subject: Re: [DUG] Unavailable Database

 

yeah, tried that but so far no joy. *sigh*
Phil.

Trevor Jones wrote:

Don’t forget that the local database must be truly local when using fbembed.  i.e. you can’t have a connection string like: “localhost:c:\databases\mydb.fb”, it must be just be just “c:\databases\mydb.fb”.

 

You might also need firebird.conf and firebird.msg in either your app’s directory or the directory where you install the dll, I can’t remember which.

 


From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] On Behalf Of Phil Middlemiss
Sent: Friday, 29 April 2005 11:48 a.m.
To: NZ Borland Developers Group - Delphi List
Subject: Re: [DUG] Unavailable Database

 

Thanks Trevor - I've located the embedded server zip file and read the instructions and it still doesn't work, but I'll get there. I'm sure it's just a matter of having the right file(s) in the right place.

Cheers,
Phil.

Trevor Jones wrote:

You can replace gds32.dll with fbembed.dll (as long as you rename it of
course), then you have the benefits of a normal client library *AND* and
fully functional server for *local* databases.  I'm sure that ibphoenix.com
has some further instructions, but AFAIKR that's all you need.
 
Trevor
 
-----Original Message-----
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] On
Behalf Of Phil Middlemiss
Sent: Friday, 29 April 2005 10:17 a.m.
To: NZ Borland Developers Group - Delphi List
Subject: Re: [DUG] Unavailable Database
 
Damn, I was afraid of that. Is there a way to embed it inside another 
installer? What are the issues with user rights?
Phil.
 
Rohit Gupta wrote:
 
  

Yes, you need the firebird engine/server on the machine that 
physically holds the database.
 
Date sent:       Fri, 29 Apr 2005 10:01:23 +1200
From:            Phil Middlemiss <[EMAIL PROTECTED]>
Organization:    MTS Ltd
To:              NZ Borland Developers Group - Delphi List
    
<[email protected]>
  
Subject:         [DUG] Unavailable Database
Send reply to:   NZ Borland Developers Group - Delphi List
    
<[email protected]>
  
  <mailto:[EMAIL PROTECTED]>
  <mailto:[EMAIL PROTECTED]>
 
[ Double-click this line for list subscription options ] 
 
Out test machine is complaining about "unavailable database" when I try 
to connect to a local firebird file. I had a read of the firebird 
"Quickstart Guide" which mentioned I needed two files, gds32.dll and 
fb32.dll for a client install - I can only find the first one on my 
machine. Am I missing something here? The client machine doesn't need to 
connect to a server - just a local file. Do I still have to install a 
firebird server as a service on the client machine to connect to a local 
file? I *am* missing aren't I?
 
Phil.
 
_______________________________________________
Delphi mailing list
[email protected]
http://ns3.123.co.nz/mailman/listinfo/delphi
Regards
 
Rohit
 
======================================================================
CFL - Computer Fanatics Ltd.  21 Barry's Point Road, AKL, New Zealand
PH    (649) 489-2280 
FX    (649) 489-2290
email [EMAIL PROTECTED]  or  [EMAIL PROTECTED]
======================================================================
 
 
_______________________________________________
Delphi mailing list
[email protected]
http://ns3.123.co.nz/mailman/listinfo/delphi
 
 
 
 
    
 
_______________________________________________
Delphi mailing list
[email protected]
http://ns3.123.co.nz/mailman/listinfo/delphi
 
_______________________________________________
Delphi mailing list
[email protected]
http://ns3.123.co.nz/mailman/listinfo/delphi
 
 
  
 
 
 



 
 
 
_______________________________________________
Delphi mailing list
[email protected]
http://ns3.123.co.nz/mailman/listinfo/delphi
  
 



 
_______________________________________________
Delphi mailing list
[email protected]
http://ns3.123.co.nz/mailman/listinfo/delphi
  
_______________________________________________
Delphi mailing list
[email protected]
http://ns3.123.co.nz/mailman/listinfo/delphi

Reply via email to