Solved

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

Posted on 2008-06-26
4
1,613 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
Comment Utility
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
Comment Utility
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
Comment Utility
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
Comment Utility
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

How to run any project with ease

Manage projects of all sizes how you want. Great for personal to-do lists, project milestones, team priorities and launch plans.
- Combine task lists, docs, spreadsheets, and chat in one
- View and edit from mobile/offline
- Cut down on emails

Join & Write a Comment

Suggested Solutions

Creating and Managing Databases with phpMyAdmin in cPanel.
Real-time is more about the business, not the technology. In day-to-day life, to make real-time decisions like buying or investing, business needs the latest information(e.g. Gold Rate/Stock Rate). Unlike traditional days, you need not wait for a fe…
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…

744 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

12 Experts available now in Live!

Get 1:1 Help Now