ACC95: NewPassword Method Doesn't Update Current SessionLast reviewed: May 23, 1997Article ID: Q149219 |
The information in this article applies to:
SYMPTOMSAdvanced: Requires expert coding, interoperability, and multiuser skills. After using the NewPassword method to change a user's password, the user is unable to access objects for which he or she has permissions. The user receives the error message "Not a valid account name or password."
RESOLUTIONThere are two possible workarounds for this error message.
Workaround 1You can avoid the error message by using the user interface to a change password instead of the NewPassword method in Visual Basic for Applications. Here are the basic steps:
Workaround 2After you use the NewPassword method, you can restart Microsoft Access, which allows you to log on using the new password. Because you have logged on again, you do not receive the error message. To do so, follow these steps:
MORE INFORMATIONMicrosoft has confirmed this to be a problem in Microsoft Access version 7.0. We are researching this problem and will post new information here in the Microsoft Knowledge Base as it becomes available.
Steps to Reproduce Behavior
REFERENCESMicrosoft Access "Building Applications," version 7.0, Chapter 14, "Securing and Delivering Your Application", pages 328-339. |
Keywords : kberrmsg kbusage ScrtUsr
© 1998 Microsoft Corporation. All rights reserved. Terms of Use. |