Microsoft Knowledge Base Email Alertz

(271177) - Using the Microsoft Access ODBC driver, you can repair or compact a Microsoft Access database. This functionality is accessable from the ODBC Control Panel, through the ODBC Microsoft Access Setup dialog box. This repair and compact functionality...

Search KbAlertz

Advanced Search

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]











Microsoft Knowledge Base Article

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

Article ID: 271177 - Last Review: April 7, 2006 - Revision: 3.1

FIX: Unable To Repair Password Protected Database Through ODBC Control Panel

This article was previously published under Q271177

On This Page

SYMPTOMS

Using the Microsoft Access ODBC driver, you can repair or compact a Microsoft Access database. This functionality is accessable from the ODBC Control Panel, through the ODBC Microsoft Access Setup dialog box. This repair and compact functionality works correctly for non-password protected databases. However, when you attempt to repair or compact password protected databases, the repair or compact fails with the following error message:
Not a valid password

RESOLUTION

This problem is fixed in the latest service packs for Windows 2000 and MDAC 2.5.
  • To resolve this problem, obtain the latest service pack for Windows 2000. For additional information, click the following article number to view the article in the Microsoft Knowledge Base:
    260910  (http://kbalertz.com/Feedback.aspx?kbNumber=260910/EN-US/ ) How to Obtain the Latest Windows 2000 Service Pack
  • To resolve this problem, obtain the latest service pack for Microsoft Data Access Components 2.5. For additional information, click the following article number to view the article in the Microsoft Knowledge Base:
    293312  (http://kbalertz.com/Feedback.aspx?kbNumber=293312/EN-US/ ) INFO: How to Obtain the Latest MDAC 2.5 Service Pack
The English version of this fix should have the following file attributes or later:
   Date        Version     Size     File name      Platform
   --------------------------------------------------------
   08/29/2000  4.0.5629.0  270,608  Odbcjt32.dll   x86 

WORKAROUND

One workaround is to use the JetComp tool that is included with Microsoft Jet 4.0 Service Pack 4. JetComp is a standalone tool that allows you to repair and compact a Microsoft Access database, even if Microsoft Access is not installed on the computer.

STATUS

Microsoft has confirmed that this is a problem in the Microsoft products that are listed at the beginning of this article. This problem was first corrected in Microsoft Data Access Components 2.5 Service Pack 2 and Microsoft Windows 2000 Service Pack 2.

MORE INFORMATION

Steps to Reproduce Behavior

  1. Using Microsoft Access, create a password protected database named C:\Password.mdb on a computer that has Microsoft Access 2000 and Microsoft Data Access Components (MDAC) 2.5 installed.
  2. Double-click Password.mdb and note that a Password dialog box appears.
  3. Type in your password and press ENTER. You should be able to open the database.
  4. Open the ODBC Data Source Administrator in Control Panel and click the Add button.
  5. Select "Microsoft Access Driver (*.mdb)," and then click Finish.
  6. Click the Advanced... button and enter your password in the Password dialog box. Click OK.
  7. Click the Repair... button and select the database file created in step 1, and then click OK.
Note that the following error message occurs:
"Not a valid password"

REFERENCES

For additional information, click the article number below to view the article in the Microsoft Knowledge Base:
270638  (http://kbalertz.com/Feedback.aspx?kbNumber=270638/EN-US/ ) BUG: Database Compaction with SQLConfigDataSource Fails when Access Database is Password Protected

APPLIES TO
  • Microsoft Open Database Connectivity Driver for Access 4.0
  • Microsoft Data Access Components 2.5 Service Pack 1
  • Microsoft Data Access Components 2.5
Keywords: 
kbqfe kbhotfixserver kbbug kbfix kbjet kbmdac250sp2fix KB271177
       

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