Solved

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

Posted on 2008-06-26
4
1,718 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 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

Webinar: Aligning, Automating, Winning

Join Dan Russo, Senior Manager of Operations Intelligence, for an in-depth discussion on how Dealertrack, leading provider of integrated digital solutions for the automotive industry, transformed their DevOps processes to increase collaboration and move with greater velocity.

Question has a verified solution.

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

This article explains all about SQL Server Piecemeal Restore with examples in step by step manner.
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…

749 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