Microsoft Knowledge Base Email Alertz

KBAlertz.com: When you try to save design changes to a new object, or when you compact a database, you receive the following error message:

Receive Microsoft Knowledge Base articles by E-Mail?

Every night we scan the Microsoft Knowledge Base. If technologies you're interested in are updated, we'll send you an e-mail. You only get one e-mail a day, and only when new articles are added.

Click here to create a
FREE account
Already have an account?
[Click here to Login]

Search KbAlertz

Advanced Search

Webmasters
Put kbAlertz on your website.
[ Click Here for more! ]





ASP.NET 3.5 Web Hosting with Windows 2008 and SQL 2008: Click Here!
Discount ASP.NET Hosting
ASP.NET 2.0 and 3.5
Windows2008 and SQL2008
US and UK Hosting
The ad says 3 - but KBAlertz referrals get
** SIX MONTHS FREE **


Bug Tracking Software
For bug tracking software or defect tracking software or issue tracking software, visit Axosoft.


Community Site



We Send hundreds of thousands of emails using ASP.NET Email



Expert Web Design & Graphic Design
Design44.com

ASP.NET 3.5 Web Hosting with Windows 2008 and SQL 2008: Click Here!
Discount ASP.NET Hosting
ASP.NET 2.0 and 3.5
Windows2008 and SQL2008
US and UK Hosting
The ad says 3 - but KBAlertz referrals get
** SIX MONTHS FREE **




Mentioned In








Microsoft Knowledge Base Article

This article contents is Microsoft Copyrighted material.
©2005-©2007 Microsoft Corporation. All rights reserved. Terms of Use | Trademarks




Article ID: 301474 - Last Review: July 28, 2004 - Revision: 3.0

BUG: You receive a "The search key was not found in any record" error message when you compact a database or save design changes in Access 2000

This article was previously published under Q301474
Moderate: Requires basic macro, coding, and interoperability skills.

This article applies only to a Microsoft Access database (.mdb).

On This Page

SYMPTOMS

When you try to save design changes to a new object, or when you compact a database, you receive the following error message:
The search key was not found in any record.
Additionally, you may see the database object listed in the Database window, although the save attempt failed. However, when you open the object, you receive the following error message:
The Microsoft Jet database engine cannot find the object <object name>. Make sure the object exists and that you spell its name and path name correctly.

CAUSE

This behavior occurs under one of the following circumstances:
  • The database was created while using a workgroup file (System.mdw) that is created with Microsoft Jet 4.0 Service Pack 4 (SP4) or earlier, and the workgroup file currently in use is created with Microsoft Jet 4.0 SP5.
  • After you install Microsoft Windows 2000 SP2, or after you apply Jet 4.0 SP5 to your computer, you use the User Level Security Wizard to secure the database, and you select the option in the wizard to create a new workgroup file.

RESOLUTION

To resolve this problem, obtain the latest Jet 4.0 service pack. For additional information about how to download the latest Jet 4.0 service pack, click the following article number to view the article in the Microsoft Knowledge Base:
239114  (http://kbalertz.com/Feedback.aspx?kbNumber=239114/ ) How to obtain the latest service pack for the Microsoft Jet 4.0 Database Engine

STATUS

Microsoft has confirmed that this is a problem in Microsoft Jet 4.0 SP5.

This problem was corrected in the latest Jet 4.0 service pack.

MORE INFORMATION

The default workgroup file (System.mdw) that is installed with Microsoft Access is created with a pre-SP5 version of Microsoft Jet 4.0. Therefore, the problem occurs if you create a database by using this workgroup file, and then later join a workgroup file that is created with Microsoft Jet 4.0 SP5.

The Microsoft Jet database engine uses a security ID (SID) to uniquely identify user and group accounts. A SID of the account is determined by an encrypted combination of the user name and personal ID that is used to create the account.

This problem occurs when the SID of the Engine user account in the current workgroup file does not match the SID of the Engine user account that is used to create the database. The SID generated for the Engine account in workgroup files that are created with Microsoft Jet 4.0 SP5 differs from the SID generated for the Engine account in previous releases of Jet 4.0.

The Engine user is a special account that is used internally by the Jet database engine, and is not exposed through the Microsoft Access user interface. However, when the SID of the Engine account in the workgroup file does not match the SID of the Engine account that is used to create the database, the Jet engine does not recognize them as the same account. Therefore, you cannot save design changes made to new objects. However, you can save design changes made to previously existing objects.

For Microsoft Access-specific objects, such as forms, reports, macros, and modules, the object incorrectly appears in the Database window, although it is not actually saved. When you try to open one of these objects, Access returns an error message that it cannot find the object.

Steps to Reproduce the Behavior

  1. Use Microsoft Access to create a new, blank database on a computer that has not been upgraded to Microsoft Jet 4.0 SP5.
  2. Create and then save several objects such as tables, queries, and forms in the database.
  3. Quit Microsoft Access.
  4. Use the Workgroup Administrator utility (Wrkgadm.exe) to create a new workgroup file on a computer that has been upgraded to Microsoft Jet 4.0 SP5.
  5. Copy the database that you created in step 1 to the computer that has Microsoft Jet 4.0 SP5 installed.
  6. Start Microsoft Access, and open the database.
  7. Open a new form in Design view.
  8. Add several controls, and then close the form.
  9. When Microsoft Access prompts you to save the form, click Yes. Enter a name for the form, and then click OK. Note that you receive the following error message:
    The search key was not found in any record.
    Note that the form does not close.
  10. Close the form. Note that Microsoft Access prompts you to save the form again. Click No to close the form without saving the design changes. Note, however, that the form appears in the Database window, which indicates that it was saved.
  11. Open the form. Note that you receive the error message:
    The Microsoft Jet database engine cannot find the object <object name>. Make sure the object exists and that you spell its name and path name correctly.

APPLIES TO
  • Microsoft Access 2000 Standard Edition
Keywords: 
kberrmsg kbbug kbfix kbsavefile KB301474
       

Community Feedback System

Very often, it takes hours to solve a problem. Very often, you've looked high and low, and have tried a lot of solutions. When you finally found it, chances are, it was because someone else helped you. Here's your chance to give back. Use our community feedback tool to let others know what worked for you and what didn't.

Please also understand that the community feedback system is not warranted to be correct, it's simply a system that we've built to let people try and help each other. If something in a feedback response doesn't make sense to you, or you're not comfortable making changes that the feedback talks about (like registry edits), please consult a professional.

Thank you for using kbAlertz.com Feedback System.

-- Scott Cate

Be the first to leave feedback, to help others about this knowledge base article.

(Optional) Name

(Optional) Public URL Or Email

Comments
No HTML -- Text Only Please