473,412 Members | 2,239 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,412 software developers and data experts.

Odd Error Message Follow-up - Attn. Alan Webb, with thanks

Good day -

As you suggested, I got and used the right version of Jetcomp, and I also
tried to run compact and repair a couple of times. I think that the compact
and repair process doesn't fully complete - there's a little progress bar in
the lower left area of the status bar that gets about halfway done, and then
stalls. It doesn't keep me from closing the database, it just stops. So that
seems to be out. Similarly Jetcomp, which seemed to run OK but made no
changes.

So is my next step to rebuild this database by hand? If so, if I export the
content only of the tables, will that avoid moving the "frozen" locks into a
new DB? Evidently the backup I have is also afflicted with this same
problem - I must have made a copy before I realized what was going on.

Thanks again.
Steve E.


"Alan Webb" <kn*****@hotmail.com> wrote in message
news:xV*****************@news.uswest.net...
Serious Practitioner,
Sounds like Access crashed with locks on some of the objects. The message
you got typically occurs when some code is interrupted because a variable
name or some other important bit has had its definition changed and VBA
can't continue. Ask Access to do a compact & repair and see if that cleans up the locks that were left in the file. There is a utility called jetcomp on the TechNet download site that will sometimes compact & repair jet
databases that seem to be ireperably damaged. And . . . your problem is
yet another reason why frequent backups of critical data & code are crucial.
"Serious_Practitioner" <Se************************@att.net> wrote in message news:aE*********************@bgtnsc05-news.ops.worldnet.att.net...
Hello, all -

A few days ago, I posted the following message -

Hello all, and thank you for your help in the recent past.

Got a new error message in the last few days.

While working with different sized tables, in datasheet view, I've
gotten this message -

"THIS ACTION WILL RESET THE CURRENT CODE IN BREAK MODE."

There's a "Yes/No" message box. The choices are -

"To halt the execution of the program so the Module window can be
closed, select 'Yes'."
"To leave the code in the current state, select No".

I get the message when I try to close the datasheet view, either to go to the Design View or to close it altogether. Pressing "Yes" does
nothing. The message box stays open and won't close. Pressing "No"

gets
rid of the message box, but trying again to close the table brings the
message box back.

The only way to close the table is with Ctrl-Alt-Delete, and then
closing MSACCESS.EXE. Reopening the database and the same table

reproduces
the error.

Some of the tables in question are large (6000 records, 18 fields),

some
are small (300 records, 6 fields). I don't have any other forms open, so I don't know what code is being described.

Any thoughts out there? TIA

A reply suggested creating a new database and importing the tables from

the
old to the new. I was in the process of copying and pasting a table called "tblTitleInfo" from the old to the new database when I discovered that the "new" database thinks that it already has a table by that name, even

though
the title does not appear in the container. It told me that there was
already a table by that name and asked me to confirm my desire to replace the existing copy. I clicked "Yes" and got the following error message -

"The database engine could not lock table 'tblTitleInfo' because it is already in use by another person or process."

Clicking "Help" at that point brings up a blank window with "Microsoft
Access" in the title bar - no help system.

I continued to copy tables, queries, forms and reports until I was done. I closed both the old and new databases, re-opened the new database and
discovered that the forms, queries and reports had been lost. I then tried to re-create the relationships and got the error about not being able to
lock the table 'tblTitleInfo'.

I'm totally befuzzled, and I don't have enough experience to try to sort
this out on my own. I have checked the Knowledge Base and came up with a

fix
for a situation where a certain version of the Vbe6 DLL (I think) was

used.
I do not have that version, thus I didn't try it.

Any thoughts? TIA, again.
Steve E.
(20 years without a beer. Startin' to think I might blow that in the very near future.)




Nov 12 '05 #1
1 1356
I'd probably try writing code using DAO to see if I could connect to it and
loop through all the objects in the file and copying each one to a new file.
Whatever is corrupted will cause an error when your code tries to use it.
If you write the code so that it skips to the next object in your list
you'll perhaps recover at least some of what you lost. Rebuilding by hand
seems like too much work.
Good luck.
"Serious_Practitioner" <Se************************@att.net> wrote in message
news:jl*********************@bgtnsc05-news.ops.worldnet.att.net...

So is my next step to rebuild this database by hand? If so, if I export
the
content only of the tables, will that avoid moving the "frozen" locks into
a
new DB? Evidently the backup I have is also afflicted with this same
problem - I must have made a copy before I realized what was going on.

Nov 13 '05 #2

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

Similar topics

15
by: Ajay DSouza | last post by:
When I try to validate my page http://www.ajaydsouza.com/wordpress/wpthemes/ I get this: I got the following unexpected response when trying to retrieve...
10
by: DataBard007 | last post by:
Hello Access Gurus: I use Win98SE and Access97. I just built a simple Access97 application which holds all contact information for my personal contacts, such as first name, last name, address,...
0
by: Tim Sharrock | last post by:
We have hit an internal compiler error when processing a very long array initialiser (for a lookup table). Most of the compiler versions we tried compiled the code successfully, but very slowly...
18
by: Microsoft | last post by:
When I try this in my code I alwas get an errormessage: "Object reference not set to an instance of an object" Dim g As System.Drawing.Graphics g.DrawString("Test", New Font("Arial", 12,...
1
by: PaulieS | last post by:
Hi all. Am migrating a customer from IIS5 on W2K server to IIS6 on W2K3. Zipped all the websites and unzipped them to the identical locations on new server. Used IISMT to migrate metabase. ...
10
by: Rider | last post by:
Hi, simple(?) question about asp.net configuration.. I've installed ASP.NET 2.0 QuickStart Sample successfully. But, When I'm first start application the follow message shown. ========= Server...
4
by: Stan Sainte-Rose | last post by:
Hi, I've just installed vs2005 and I have some problems to handle errors from my old asp pages. Before, IIS 6 told me on which line the error occurs, and right now I only get an 500 error page....
2
by: NEWS | last post by:
Hi, I am getting this error when users increases in my application .pls help how to tune this i am using .Net 2003 error is Server Error in '/webpdms' Application....
3
by: Smith | last post by:
Hi I've installed my web app on windows 2003 and when I run the application I got the follow error: "Access to the path "C:\WINDOWS\Microsoft.NET\Framework\v1.1.4322\Temporary ASP.NET...
2
by: =?Utf-8?B?eWtmZmM=?= | last post by:
I try to experiment deploying my Vb.net application by following the basic steps but encounter this error. I follow every step and every display agrees with what the tutorial says and the IDE...
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?
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
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...
0
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...
0
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...

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.