Microsoft KB Archive/153291

= BUG: Wizards Fail on Secure Microsoft Access Database =

Article ID: 153291

Article Last Modified on 12/2/2003

-

APPLIES TO

 The AppWizard, when used with:  Microsoft Visual C++ 4.0 Standard Edition

 Microsoft Visual C++ 4.1 Subscription

 Microsoft Visual C++ 4.2 Enterprise Edition

 Microsoft Visual C++ 5.0 Enterprise Edition</li></ul>

 Microsoft Visual C++ 6.0 Enterprise Edition</li></ul>

 Microsoft Visual C++ 4.2 Professional Edition</li></ul>

 Microsoft Visual C++ 5.0 Professional Edition</li></ul>

 Microsoft Visual C++ 6.0 Professional Edition</li></ul>

 Microsoft Visual C++ 6.0 Standard Edition</li></ul> </li></ul>

-

<div class="notice_section">

This article was previously published under Q153291

<div class="symptoms_section">

SYMPTOMS
You may see the message "Not a valid password" displayed when AppWizard or ClassWizard are used to create a CDaoRecordset-derived class.

<div class="cause_section">

CAUSE
The Microsoft Access database file being used to generate the class is secure and AppWizard and ClassWizard fail to prompt for a user name and password before trying to open the database.

<div class="resolution_section">

RESOLUTION
Relax the security on the database so the Wizards won't fail.

-or-

Create another database that has a duplicate schema to be used for generating classes

<div class="status_section">

STATUS
Microsoft has confirmed this to be a bug in the Microsoft products listed at the beginning of this article.

Additional query words: kbVC400bug kbVC500bug kbVC600bug KbVC410bug kbVC420bug kbmfc kbdao kbdatabase kbwizard

Keywords: kbbug kbnoupdate KB153291

-

[mailto:TECHNET@MICROSOFT.COM Send feedback to Microsoft]

© Microsoft Corporation. All rights reserved.