Solved

Firebird DataBase File Data Extraction

Posted on 2016-09-29
14
124 Views
Last Modified: 2016-10-04
Hello Experts,
I am way outside of my comfort zone here so i need some assistance. I have a client who's EPoS unit failed, he now needs the customer database and stock list items from the EPoS system. I have located the .fdb file but all attempts to open have failed, i suspect that it is due to the age of the file.

Any assistance in recovering the information would be greatly appreciated.

Many Thanks,
0
Comment
Question by:bluewaveit
[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
  • 7
  • 7
14 Comments
 
LVL 17

Expert Comment

by:John Tsioumpris
ID: 41821479
What do you mean fail...is it due to credential or the file is corrupted...
Given the fact that the file has .fdb extension it can't be old and should supported from Firebird 2.5+.
Have you setup a Firebird server at first...?
0
 

Author Comment

by:bluewaveit
ID: 41821628
The database/system/ePoS was installed about 11 years ago. I have downloaded and installed firebird server on my pc. I have also installed 'flameRobin' to see if that would work but i get this message

'Can't find or load FBCLIENT.DLL or GDS32.DLL

When i try and connect with iSQL with

CONNECT "X:\pathtodbfile\db.fdb";

I get this message

Statement failed, SQLSTATE = HY000
unsupported on-disk structure for file X:\pathtodbfile\db.fdb; found 11.1, support 12.0
0
 
LVL 17

Expert Comment

by:John Tsioumpris
ID: 41821640
it seems that you need an older version of Firebird....
For the flamerobin issue you will find the GDS32.dll inside the installation folder of Firebird...just copy it to your Windows folder system32 for 32bit OS or SYSWow64 for 64bit systems and it should be ok...
Also this utility promises to convert old Firebird databases to newer format
0
Independent Software Vendors: We Want Your Opinion

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

 

Author Comment

by:bluewaveit
ID: 41821712
I have installed the the converter program, selected the DB and got this error message:

15:05:00: Checking database for corruption
15:05:00: Checking NOT NULL fields for NULL values
 
15:05:01: NULL values in NOT NULL columns has been detected
  Dynamic SQL Error
SQL error code = -901
Illegal use of keyword VALUE
 
Conversion has been aborted!


Has that failed on the whole DB or just that entry?
0
 
LVL 17

Expert Comment

by:John Tsioumpris
ID: 41821730
Try to install one of older versions of Firebird...does the converter gives any info about the version...
0
 

Author Comment

by:bluewaveit
ID: 41821739
The converter picked up that the old version was 2.1, i have downloaded this and installed it. on iSQL i now get this message:

Statement failed, SQLCODE = -902
Your user name and password are not defined. Ask your database administrator to set up a Firebird login.
0
 
LVL 17

Expert Comment

by:John Tsioumpris
ID: 41821749
have you tried the default
username:SYSDBA
password:masterkey
0
 

Author Comment

by:bluewaveit
ID: 41821752
yes using 'Firebird Maestro'  and it failed but not on iSQL (i am unaware of the syntax to do this)
0
 
LVL 17

Assisted Solution

by:John Tsioumpris
John Tsioumpris earned 500 total points
ID: 41821755
C:\Program Files\Firebird\bin>isql↵
Use CONNECT or CREATE DATABASE to specify a database
SQL>CONNECT "C:\Program Files\Firebird\examples\employee.gdb"↵
CON>user 'SYSDBA' password 'masterkey';↵

Open in new window

0
 
LVL 17

Expert Comment

by:John Tsioumpris
ID: 41821757
if this fails you have to find the login info...
0
 

Author Comment

by:bluewaveit
ID: 41821770
Statement failed, SQLCODE = -902
cannot attach to password database


I must advise that i am running this on a different machine to where it was first installed.
0
 

Accepted Solution

by:
bluewaveit earned 0 total points
ID: 41821849
I found the problem, it was because i didn't install the program as a service. I restarted the program as 'Administrator' and now i can access the file. Thank you for your help.
0
 
LVL 17

Expert Comment

by:John Tsioumpris
ID: 41821884
Glad everything went well
0
 

Author Closing Comment

by:bluewaveit
ID: 41827738
Searched online, following the Experts advice and discovered the answer
0

Featured Post

Percona Live Europe 2017 | Sep 25 - 27, 2017

The Percona Live Open Source Database Conference Europe 2017 is the premier event for the diverse and active European open source database community, as well as businesses that develop and use open source database software.

Question has a verified solution.

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

Your data is at risk. Probably more today that at any other time in history. There are simply more people with more access to the Web with bad intentions.
In this blog post, we’ll look at how ClickHouse performs in a general analytical workload using the star schema benchmark test.
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…

617 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