Solved

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

Posted on 2008-06-26
4
1,642 Views
Last Modified: 2013-12-09
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!
0
Comment
Question by:phibersg
  • 2
4 Comments
 
LVL 9

Accepted Solution

by:
tkalchev earned 125 total points
ID: 21873313
Look at this one : http://www.firebirdsql.org/manual/fbmetasecur-embedded.html

It is for firebird, but you can convert the interbase 5 gdb to firebird, using gbak utility
0
 
LVL 1

Author Comment

by:phibersg
ID: 21873383
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!
0
 
LVL 19

Expert Comment

by:NickUpson
ID: 21873434
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
0
 
LVL 1

Author Comment

by:phibersg
ID: 21880716
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!
0

Featured Post

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
Problem with Filesystemobject or .NET version 3 35
Export import database 4 43
How to add <appSettings> to the webconfig file 2 21
C#.NET and microsoft certification. 3 34
APEX (Application Express) is used to develop a web application from Oracle. SQL Workshop is one of the tools that comes with Oracle APEX to query or modify the database objects or to make any changes to the structure.
These days, all we hear about hacktivists took down so and so websites and retrieved thousands of user’s data. One of the techniques to get unauthorized access to database is by performing SQL injection. This article is quite lengthy which gives bas…
Video by: Steve
Using examples as well as descriptions, step through each of the common simple join types, explaining differences in syntax, differences in expected outputs and showing how the queries run along with the actual outputs based upon a simple set of dem…
Polish reports in Access so they look terrific. Take yourself to another level. Equations, Back Color, Alternate Back Color. Write easy VBA Code. Tighten space to use less pages. Launch report from a menu, considering criteria only when it is filled…

920 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

14 Experts available now in Live!

Get 1:1 Help Now