Solved

Firebird DataBase File Data Extraction

Posted on 2016-09-29
14
18 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
  • 7
  • 7
14 Comments
 
LVL 13

Expert Comment

by:John Tsioumpris
Comment Utility
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
Comment Utility
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 13

Expert Comment

by:John Tsioumpris
Comment Utility
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
 

Author Comment

by:bluewaveit
Comment Utility
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 13

Expert Comment

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

Author Comment

by:bluewaveit
Comment Utility
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 13

Expert Comment

by:John Tsioumpris
Comment Utility
have you tried the default
username:SYSDBA
password:masterkey
0
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

 

Author Comment

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

Assisted Solution

by:John Tsioumpris
John Tsioumpris earned 500 total points
Comment Utility
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 13

Expert Comment

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

Author Comment

by:bluewaveit
Comment Utility
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
Comment Utility
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 13

Expert Comment

by:John Tsioumpris
Comment Utility
Glad everything went well
0
 

Author Closing Comment

by:bluewaveit
Comment Utility
Searched online, following the Experts advice and discovered the answer
0

Featured Post

What Is Threat Intelligence?

Threat intelligence is often discussed, but rarely understood. Starting with a precise definition, along with clear business goals, is essential.

Join & Write a Comment

Entering a date in Microsoft Access can be tricky. A typo can cause month and day to be shuffled, entering the day only causes an error, as does entering, say, day 31 in June. This article shows how an inputmask supported by code can help the user a…
CCModeler offers a way to enter basic information like entities, attributes and relationships and export them as yEd or erviz diagram. It also can import existing Access or SQL Server tables with relationships.
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…

772 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

10 Experts available now in Live!

Get 1:1 Help Now