Link to home
Start Free TrialLog in
Avatar of phibersg
phibersg

asked on

How to access Interbase (GBD) database files directly without a server using C# or .Net?

Hi,

I have been handed a Interbase 5 GDB file to generate a sales report by developing a customised program in C#/.Net.
The passwords/userid to access the GDB has also been provided, so was the schema.
Assuming that i do not have access to a Interbase server to load the database file, nor am i allowed to run a server (IB/FB), is there anyway i can access the GDB file directly and locally without the use of a server?
Something like Microsoft Access .MDB files where all i need is the MDB to access the file and nothing else.

My developing environment is Visual Studio 2005.

Many thanks in advance!
ASKER CERTIFIED SOLUTION
Avatar of tkalchev
tkalchev
Flag of Germany image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of phibersg
phibersg

ASKER

Ah.. that seems to be what i am looking for!

And to think i was googling for "embedded interbase" and not "embedded firebird" !!!

Let me look thru the solution and will award the points in time! :)

Thanks!
Avatar of Nick Upson
you are still effectly using a server, it's just that it's not running as a server, so in almost all ways, the database will still behave the same way. Some things to watch out for:

if the file was copied from it's original location while the server process was running, then it's probably corrupt

if the database uses UDF's then these will need to be installed on the new location as well

change the .gdb to something else or disable system restore on the partition holding it, as otherwise microsoft will take a copy everytime it changes

the file still needs to be on a local drive not a network mount
Yups Nick, am aware of all the issues actually..

I was actually finding a way to read GDB directly files in a PC running already IB 5 or 6..

But it's one hell of a headache installing Firebird and IB into 1 PC..
It works well, but it's a hassle to make the two of them play nice to each other..

Thanks!