473,387 Members | 1,530 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,387 software developers and data experts.

Corruption errors in acc 2000 program

ARC
Hello all,

I'm trying to help a customer of mine recover data from an access 2000
program that appears to have corruption. Opening the file will open the
default / startup form, however, you can't get into the one module that is
present. They have the module named: Global Module. Double-clicking this
gives the error: "The module name 'Global Module' is misspelled or refers to
a module that doesn't exist."

I ran a repair, and this did not take care of the error.

I tried converting the program to access 2007, and it does convert without
error, but you still can't get into the module, nor can you rename the
module, or copy / paste it to a new mod. (copying/pasting gives the error:
Name conflicts with existing module, project, or object library).

Attempting to import the objects into a clean db gives a number of errors
(all 3 for each form imported):

* Name conflicts with existing module, project, or object library
* No Current Record
* The search key was not found in any record

Even though I can't import the forms into a clean db (gives the 3 errors
above for each form), I can open the forms and reports in both design mode
and view mode.

I went into the individual forms, and going into the event producedures, it
appears that all vba source code has been stripped from the program. Which
seems to point back to the 1st problem I mentioned of trying to get into the
Global Module.

Any ideas on this?

Many thanks,

Andy

Jun 27 '08 #1
4 2258
"ARC" <PC*****@PCESoft.invalidwrote:
>I'm trying to help a customer of mine recover data from an access 2000
program that appears to have corruption.
Thanks for your detailed posting of the problem and your trouble shooting.
>Attempting to import the objects into a clean db gives a number of errors
(all 3 for each form imported):

* Name conflicts with existing module, project, or object library
* No Current Record
* The search key was not found in any record
Now this is very interesting. I've never read of such behavior before.
>I went into the individual forms, and going into the event producedures, it
appears that all vba source code has been stripped from the program. Which
seems to point back to the 1st problem I mentioned of trying to get into the
Global Module.
Corrupt Objects within a Corrupt Microsoft Access MDB
http://www.granite.ab.ca/access/corr...uptobjects.htm

The little documented SaveAsText and LoadFromText may help if an object is corrupted
or otherwise behaving weirdly.
At the debug/immediate window type:
Application.SaveAsText acForm,"MyForm","c:\form.txt
You can load the file into a new MDB.
Application.LoadFromText acForm,"MyForm","c:\from.txt"

Sample code at http://www.datastrat.com/Code/DocDatabase.txt for saving all objects
in an MDB.

Now what happens in A2000 and newer is that VBA code is stored as a huge blob in a
single record in a system table. It sure looks like that blob got corrupted. I
doubt anything will work for you other than possibly a commercial service such as PK
Solutions.

Tony
--
Tony Toews, Microsoft Access MVP
Please respond only in the newsgroups so that others can
read the entire thread of messages.
Microsoft Access Links, Hints, Tips & Accounting Systems at
http://www.granite.ab.ca/accsmstr.htm
Tony's Microsoft Access Blog - http://msmvps.com/blogs/access/
Jun 27 '08 #2
ARC
Many thanks, Tony.

The customer is willing to pay for recovery, and I've probably put 1-2 hours
in already with no luck. I might have to refer them to PK Solutions.

I had not thought of looking in the MSys tables to see if there's
corruption, (even though I've been there a number of times) I had forgotten
that nice little trick.

Thanks again, Tony.

Andy
"Tony Toews [MVP]" <tt****@telusplanet.netwrote in message
news:tc********************************@4ax.com...
"ARC" <PC*****@PCESoft.invalidwrote:
>>I'm trying to help a customer of mine recover data from an access 2000
program that appears to have corruption.

Thanks for your detailed posting of the problem and your trouble shooting.
>>Attempting to import the objects into a clean db gives a number of errors
(all 3 for each form imported):

* Name conflicts with existing module, project, or object library
* No Current Record
* The search key was not found in any record

Now this is very interesting. I've never read of such behavior before.
>>I went into the individual forms, and going into the event producedures,
it
appears that all vba source code has been stripped from the program. Which
seems to point back to the 1st problem I mentioned of trying to get into
the
Global Module.

Corrupt Objects within a Corrupt Microsoft Access MDB
http://www.granite.ab.ca/access/corr...uptobjects.htm

The little documented SaveAsText and LoadFromText may help if an object is
corrupted
or otherwise behaving weirdly.
At the debug/immediate window type:
Application.SaveAsText acForm,"MyForm","c:\form.txt
You can load the file into a new MDB.
Application.LoadFromText acForm,"MyForm","c:\from.txt"

Sample code at http://www.datastrat.com/Code/DocDatabase.txt for saving
all objects
in an MDB.

Now what happens in A2000 and newer is that VBA code is stored as a huge
blob in a
single record in a system table. It sure looks like that blob got
corrupted. I
doubt anything will work for you other than possibly a commercial service
such as PK
Solutions.

Tony
--
Tony Toews, Microsoft Access MVP
Please respond only in the newsgroups so that others can
read the entire thread of messages.
Microsoft Access Links, Hints, Tips & Accounting Systems at
http://www.granite.ab.ca/accsmstr.htm
Tony's Microsoft Access Blog - http://msmvps.com/blogs/access/
Jun 27 '08 #3
On Jun 12, 3:01*am, "ARC" <PCES...@PCESoft.invalidwrote:
Many thanks, Tony.

The customer is willing to pay for recovery, and I've probably put 1-2 hours
in already with no luck. I might have to refer them to PK Solutions.

I had not thought of looking in the MSys tables to see if there's
corruption, (even though I've been there a number of times) I had forgotten
that nice little trick.

Thanks again, Tony.

Andy
"Tony Toews [MVP]" <tto...@telusplanet.netwrote in messagenews:tc********************************@4ax .com...
"ARC" <PCES...@PCESoft.invalidwrote:
>I'm trying to help a customer of mine recover data from an access 2000
program that appears to have corruption.
Thanks for your detailed posting of the problem and your trouble shooting.
>Attempting to import the objects into a clean db gives a number of errors
(all 3 for each form imported):
>* Name conflicts with existing module, project, or object library
* No Current Record
* The search key was not found in any record
Now this is very interesting. *I've never read of such behavior before.
>I went into the individual forms, and going into the event producedures,
it
appears that all vba source code has been stripped from the program. Which
seems to point back to the 1st problem I mentioned of trying to get into
the
Global Module.
CorruptObjects within aCorruptMicrosoft AccessMDB
http://www.granite.ab.ca/access/corr...uptobjects.htm
The little documented SaveAsText and LoadFromText may help if an objectis
corrupted
or otherwise behaving weirdly.
At the debug/immediate window type:
Application.SaveAsText acForm,"MyForm","c:\form.txt
You can load the file into a newMDB.
Application.LoadFromText acForm,"MyForm","c:\from.txt"
Sample code athttp://www.datastrat.com/Code/DocDatabase.txtfor saving
all objects
in anMDB.
Now what happens in A2000 and newer is that VBA code is stored as a huge
blob in a
single record in a system table. *It sure looks like that blob got
corrupted. * I
doubt anything will work for you other than possibly a commercial service
such as PK
Solutions.
Tony
--
Tony Toews, Microsoft Access MVP
* Please respond only in the newsgroups so that others can
read the entire thread of messages.
* Microsoft Access Links, Hints, Tips & Accounting Systems at
http://www.granite.ab.ca/accsmstr.htm
* Tony's Microsoft Access Blog -http://msmvps.com/blogs/access/- Hidequoted text -

- Show quoted text -
You can create a new, empty database. Go to File menu-Get External
Data-Import. Now you can import every valid table. This will give
you a clean set of systems tables; If this doesn't work, you may try
some software. You can try a utility called Advanced Access Repair to
repair your Access MDB file. It works rather well for my corrupt
Access MDB files. Its web address is http://www.datanumen.com/aar/
Hope this helps.
Jun 27 '08 #4
Alan <fy*@datanumen.netwrote:
>; If this doesn't work, you may try
some software. You can try a utility called Advanced Access Repair to
repair your Access MDB file. It works rather well for my corrupt
Access MDB files. Its web address is <snipp>
Hope this helps.
You also work for that company. Posting without disclosing any
connection is highly unethical and sleazy.

Tony
--
Tony Toews, Microsoft Access MVP
Please respond only in the newsgroups so that others can
read the entire thread of messages.
Microsoft Access Links, Hints, Tips & Accounting Systems at
http://www.granite.ab.ca/accsmstr.htm
Tony's Microsoft Access Blog - http://msmvps.com/blogs/access/
Jun 28 '08 #5

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

Similar topics

7
by: Fred MacMurray | last post by:
Hello, all. So we're all happy with Access. Or Access is "good enough" with most of our applications. I built a split database here at work that has about seven users who are on pretty much...
19
by: Mark C. | last post by:
The company I work for has been running Access 2000 on a Windows NT server with Opportunistic Locking turned off on the server without issue for almost a year. We have just switched to a Windows...
7
by: Doug Vogel | last post by:
Hi All - I have a client for whom I developed an Access 2000 database. The database is split into 2 files - front-end (forms, queries, reports), and back-end (tables). An .mde file has been...
3
by: Dave Griffiths | last post by:
Running AC97 under Win2k I have a large database, the front end is about 32MB and contains literally hundreds of queries, form, modules etc Every so often while working on it, say, editing a...
8
by: Ralph Fico | last post by:
I have been experiencing a strange corruption problem with an application I developed using MS Access 2000 and deployed using an .MDE file. The application is being used in a networked environment...
4
by: Eric E | last post by:
Hi all, I have a fairly complex form in Access 2000. In particular, it has two subforms on separate tabs of a tab control. For the last two weeks, I've encountered the dreaded : "You can't...
1
by: Nick Bishop | last post by:
I have a problem where I call a method in a C++ class with a pointer which is a static member in that class. When I use a debugger, I see the pointer having a certain value, but when I step into...
42
by: Doug | last post by:
I am in a friendly debate with some co-workers... and my boss. We use Access 2003 for the frontend (on workstations) as well as for the backend (on a Dell PowerEdge running Windows 2000 server,...
1
by: brian.j.parker | last post by:
One of the developers where I work found that some of his code would regularly cause index corruption in SQL Server 2000, post-sp4. @@version is 8.00.2050 and I can repeat this, so I can't...
0
by: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
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
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
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
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...

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.