473,395 Members | 1,763 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,395 software developers and data experts.

Corrupt database - 1 step forwards....

aaj
Hi all

I have been given a corrupt access 2000 backend and asked to salvage the
data.(youve gussed it, no backup)

On trying to open it just kicks me out saying its not a valid database
file - so I can't even use the internal compact/repair function

I have tried the usal stuff i.e.
Trying to repair via another access program using dao
DBEngine.RepairDatabase
Opening a new database and importing the old data
microsofts JETCOMP.EXE
plus a few other bits

The only luck I have had is do create a new ODBC connection and use this to
compact the database file. It seems to work and creates a new file

If I try open the new file using Access I get 'Query engine error:
42000:[microsoft][ODBC Microsoft access driver] record(s) cannot be read;no
read permission.'
..
If I then use say crystal to look directly at the ODBC connection I can see
the datatables (so there is still something there), but as soon as I try to
view the data I get the same message.

Is there any way I can get in and some how give read permissions to the
tale, or any other suggestions would be brilliant.

thanks

Andy

Nov 12 '05 #1
4 5047
In Access 97 you can open Access without opening a database then use the
database utilities to repair your database. Make a copy before doing the
repair.

"aaj" <a.*@c.com> wrote in message
news:3f***********************@news.easynet.co.uk. ..
Hi all

I have been given a corrupt access 2000 backend and asked to salvage the
data.(youve gussed it, no backup)

On trying to open it just kicks me out saying its not a valid database
file - so I can't even use the internal compact/repair function

I have tried the usal stuff i.e.
Trying to repair via another access program using dao
DBEngine.RepairDatabase
Opening a new database and importing the old data
microsofts JETCOMP.EXE
plus a few other bits

The only luck I have had is do create a new ODBC connection and use this to compact the database file. It seems to work and creates a new file

If I try open the new file using Access I get 'Query engine error:
42000:[microsoft][ODBC Microsoft access driver] record(s) cannot be read;no read permission.'
.
If I then use say crystal to look directly at the ODBC connection I can see the datatables (so there is still something there), but as soon as I try to view the data I get the same message.

Is there any way I can get in and some how give read permissions to the
tale, or any other suggestions would be brilliant.

thanks

Andy

Nov 12 '05 #2
aaj
sorry,

forgot to mention that I tried this as well (in Access 2002) (but with no
joy)

andy

"paii" <pa**@packairinc.com> wrote in message
news:vn************@corp.supernews.com...
In Access 97 you can open Access without opening a database then use the
database utilities to repair your database. Make a copy before doing the
repair.

"aaj" <a.*@c.com> wrote in message
news:3f***********************@news.easynet.co.uk. ..
Hi all

I have been given a corrupt access 2000 backend and asked to salvage the
data.(youve gussed it, no backup)

On trying to open it just kicks me out saying its not a valid database
file - so I can't even use the internal compact/repair function

I have tried the usal stuff i.e.
Trying to repair via another access program using dao
DBEngine.RepairDatabase
Opening a new database and importing the old data
microsofts JETCOMP.EXE
plus a few other bits

The only luck I have had is do create a new ODBC connection and use this

to
compact the database file. It seems to work and creates a new file

If I try open the new file using Access I get 'Query engine error:
42000:[microsoft][ODBC Microsoft access driver] record(s) cannot be

read;no
read permission.'
.
If I then use say crystal to look directly at the ODBC connection I can

see
the datatables (so there is still something there), but as soon as I try

to
view the data I get the same message.

Is there any way I can get in and some how give read permissions to the
tale, or any other suggestions would be brilliant.

thanks

Andy


Nov 12 '05 #3

On Mon, 29 Sep 2003 14:29:54 +0100, "aaj" <a.*@c.com> wrote in
comp.databases.ms-access:
If I try open the new file using Access I get 'Query engine error:
42000:[microsoft][ODBC Microsoft access driver] record(s) cannot be read;no
read permission.'
That's because the compact that seemed to work actually failed, and
the resulting file is missing key system structures, like, for
instance, the security table. That's why you get the permission
error.
Is there any way I can get in and some how give read permissions to the
tale, or any other suggestions would be brilliant.


That won't help. The compact that failed (without an error) did not
just result in a missing permissions table (which is the error you
got) but also other missing system structures, and probably missing
data tables too. Basically, the compact failed at some point -
presumably while processing one of your tables that had corruption,
and simple then bailed on the compact. The resulting file is
therefore missing any system structures that get written at the end of
the compact process, as well as any of your tables including and
beyond the first problem table encountered. So correcting the
permissions problem on the compacted database would, even if
performed, almost assuredly be a largely incomplete file.

The file you need to work with is the original corrupt file (before
the attempted odbc compact). Sending that file in to a service like
ours (www.pksolutions.com/services.htm) would result in its being
properly recovered.

Peter Miller
__________________________________________________ __________
PK Solutions -- Data Recovery for Microsoft Access/Jet/SQL
Free quotes, Guaranteed lowest prices and best results
www.pksolutions.com 1.800.987.7716 1.619.839.3900
Nov 12 '05 #4
aaj
Thanks for the extra info Peter, I'll have a word with the guy whose
database it is,
Andy

"Peter Miller" <pm*****@pksolutions.com> wrote in message
news:jm********************************@4ax.com...

On Mon, 29 Sep 2003 14:29:54 +0100, "aaj" <a.*@c.com> wrote in
comp.databases.ms-access:
If I try open the new file using Access I get 'Query engine error:
42000:[microsoft][ODBC Microsoft access driver] record(s) cannot be read;noread permission.'


That's because the compact that seemed to work actually failed, and
the resulting file is missing key system structures, like, for
instance, the security table. That's why you get the permission
error.
Is there any way I can get in and some how give read permissions to the
tale, or any other suggestions would be brilliant.


That won't help. The compact that failed (without an error) did not
just result in a missing permissions table (which is the error you
got) but also other missing system structures, and probably missing
data tables too. Basically, the compact failed at some point -
presumably while processing one of your tables that had corruption,
and simple then bailed on the compact. The resulting file is
therefore missing any system structures that get written at the end of
the compact process, as well as any of your tables including and
beyond the first problem table encountered. So correcting the
permissions problem on the compacted database would, even if
performed, almost assuredly be a largely incomplete file.

The file you need to work with is the original corrupt file (before
the attempted odbc compact). Sending that file in to a service like
ours (www.pksolutions.com/services.htm) would result in its being
properly recovered.

Peter Miller
__________________________________________________ __________
PK Solutions -- Data Recovery for Microsoft Access/Jet/SQL
Free quotes, Guaranteed lowest prices and best results
www.pksolutions.com 1.800.987.7716 1.619.839.3900

Nov 12 '05 #5

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

4
by: Hal Vaughan | last post by:
I am writing out archive files using ZipOutputStream with the following code: aEntry is a global Array of ZipEntries llData is a LinkedList of the data corresponding to the the ZipEntry of the...
12
by: magmike | last post by:
When users of my site submit articles to our database (http://www.netterweb.com/articles/) they almost always have http:// addresses within the text. They are pasting that text into a box which...
9
by: Bungle | last post by:
Hi There, Does anybody know where i might be able to locate a tool/application that can determine whether a Database is corrupt?? Also, can a bad network connection cause a corruption to a...
4
by: dixie | last post by:
I have come across some code to walk through the records of a corrupt table and copy it record by record to a new table. It comes from the MVPS.Org site and is as follows. -----------------------...
4
by: nepdae | last post by:
Well, after reading and hunting all over the web, including here, I still haven't been successful in my attempts to resolve my situation. So, I thought maybe I'd just ask. Here's the situation: ...
17
by: shineofleo | last post by:
Here is the situation: I wrote a VB programm, which stores all the information in a single Access database file using jet engine. It worked well, however one of my customs reported that there was...
3
by: rdemyan via AccessMonster.com | last post by:
One of my users had a corrupt front end that wouldn't open. My app is launched using a launching application (logon app). The logon app has a button for downloading a "fresh" copy of the front...
13
by: Owen Jenkins | last post by:
Following on from an earlier post... I can reliably corrupt a record by doing the following ... Open two separate but identical front ends on one PC each linking to the same back end. Edit a...
8
by: iheartvba | last post by:
Hi this is a query made using access query builder: SELECT tblBank.BankID, Now() AS TimeRecd, Val(Right(nz(,0),3)) AS ConsID, "AutoCASH" AS RecUser, tblBank.Dt, Forms!frmRecCASHRunningBal!tbGroup...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.