473,804 Members | 3,649 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Corrupted File

Laptop lost power while on an airplane. No big deal, but the Access
database that I was working on at the time now won't open. I've tried
to repair it, I always get the error message about the file being
corrupted. I can, however, open tables and queries through Excel, so
the data is intact. What I'm mainly hoping to get back is the VBA code
I wrote while my flight was delayed...any suggestions

Many thanks in advance

Mar 23 '06 #1
5 1835
if you create a blank MDB, can you import objects from the corrupted
mdb into it ?

Mar 23 '06 #2
<le*********@na tpro.com> wrote in message
news:11******** **************@ j33g2000cwa.goo glegroups.com.. .
if you create a blank MDB, can you import objects from the corrupted
mdb into it ?


Not related to this topic, but to le*********@nat pro.com:

"access97 / sql server, how to speed up this query"

Did you see the replies to your question?

If people take the time to answer, perhaps you could provide whatever brief
feedback you can spare the time for.
Mar 23 '06 #3
Look for an .ldb file with the same name as your database file and
delete it (the .ldb file). Then try to compact and repair the database.

Mar 23 '06 #4
Thanks for everyone's advice. Trying to import the objects into a new
database brings up the same error ("MS Access has detected corruption
in this file..."). Also, the .ldb file has been deleted. Any other
advice or experiences with this?
Forgot to mention, it's Access 2003 running on XP Pro.

Mar 23 '06 #5
Do you have all the Service Packs and updates installed for Access and Jet?
If so, I don't think the following will do you any good, but there was a
JetComp utility downloadable from Microsoft that sometimes would recover a
database that Access compact and repair would not. I am reasonably certain
that its "better code" had been incorporated long before Access 2003.

Google on Save As Text and Load From Text. That may work, as a last resort.
It's "officially undocumented" but has been discussed here.

Also, there's some possibility that importing from VBA code _may_ work in
cases where File | Get External Data does not.

If all else fails, and it's worth a modest amount of money, you could try a
data recovery service. Many here have recommended
http://www.pksolutions.com. The principal, Peter Miller, has postd in this
newsgroup in the past, but I have not seen anything from him recently. Nice
thing: he will examine your DB, tell you if he can recover, and give you a
price quote -- all for free. Just for the record, I have neither a personal
nor business relationship with Peter or his company.

Larry Linson
Microsoft Access MVP

<je************ @gmail.com> wrote in message
news:11******** **************@ i40g2000cwc.goo glegroups.com.. .
Thanks for everyone's advice. Trying to import the objects into a new
database brings up the same error ("MS Access has detected corruption
in this file..."). Also, the .ldb file has been deleted. Any other
advice or experiences with this?
Forgot to mention, it's Access 2003 running on XP Pro.

Mar 23 '06 #6

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

Similar topics

3
2234
by: r.e.s. | last post by:
No matter which site I download it from, NumTut.tgz appears to be corrupted. Anyone else having this problem? Thanks. -- r.e.s.
1
6672
by: WKC | last post by:
Recently, one of our database's mdf and ldf was corrupted. We were able to bring back the database with the capability of importing and querying the data. However, the data is not the full list. Some of the data are still missing because the tables we want still has sone 'chain mis linkage' error when we did a DBCC checkdb/checktable. DBCC couldn't fix those errors either. We're pretty sure that there are some data still burry under the...
2
829
by: Byron | last post by:
I am uploading a JPG file using FTP to a remote server and often the file is corrupted at the server end. The file size is the same, but the image often has a block of garbage embedded, or the image goes funky (please excuse the technical term) from a point to the end of a line, or to the end of the file. I assumed that the FTP prococol was responsible for error correction, but the source file is always correct and many of the files arrive...
3
3173
by: Bob Hynes | last post by:
Hi All, Does anyone know of a place where a corrupted mdb(front-end) can be sent and have that place be able to tell me what got corrupted within the db? Here's the issue; All pc's are WindowsNT on a Novell network using Office97 Pro. I built a db application(work distribution and log app) which has been running in this environment for more than a year, its a front-end/back-end setup using UNC for its pathing, both ends get compacted...
28
4067
by: Lee Rouse | last post by:
Hello all, This is going to be a rather lengthy "question". I have an Access 2k database, separated front end/back end. Front end copies are on about 30 workstations and used frequently during the work day. The backend has a table called CLIENTS with approximately 6000 client records. Changes to data in the table are made via a frontend db Form which has CLIENTS as its record source.
9
2394
by: advance scout | last post by:
HELP! My database is suddenly corrupted. My computer was acting funny (very sluggish) and was shut down. Access had been already been closed down but computer was acting very slow , so perhaps it was still open. I am now getting a "The data base ... is corrupted and needs to be repaired" error . I have made copies of the corrupted database so that I could try to repair and still have a corrupted copy available. When I try to repair , it...
3
10533
by: Jeremy Chaney | last post by:
It appears that my user.config file got corrupted causing my "InitializeComponent" routine to throw the exception "Root element is missing." when I start my app. I figure I can just go into Explorer and delete the file to get things working again, but I'd rather just catch the exception and resolve the error programatically. I tried "Properties.Settings.Default.Reset();" but that just throws the exception too. Does anyone know how I can...
7
2588
by: jc | last post by:
i'm developing a project using vc++. the main exe is a win32 application. it needs two dlls. one is my own implementation of string operations. the other dll is to parse a2l files(it is similar to xml files, but it is based on asap2 standard). i created the parser using bison and flex. then ported the code to vc+ + environment including the files lex.yy.c(output from the flex scanner) a2lgrammar.tab.cpp(output from bison) for post...
4
4256
by: =?Utf-8?B?U1VOTlk=?= | last post by:
Hi, i am uploading a .docx file into sql2005 and later when i retrieve the file from the database and i open it, i get a error message "The file is corrupted and cannot be open". I am not facing this issue when i store and retrieve files of type .doc i am storing the file in a column of datatype image. Here is the code where i insert the file into database. Am sure the code is working. its just not working for .docx protected void...
1
1852
ddtpmyra
by: ddtpmyra | last post by:
When Im downloading a file from mysql database the file is already corrupted below are the code I used on downloading to mysql and uploading from mysql. PDF file are doing okay as long as it is a small size, but the excel and words are totally corrupted. Can you please take a look if im doing it correctly. Note: the filedata in mysql = longblob Uploading to mysql <?php # Check if a file has been uploaded
0
9576
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 effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
0
10323
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
1
10310
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
0
10074
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 protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
0
9138
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
1
7613
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
6847
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
1
4291
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
2
3809
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.

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.