ACC97: 20 Character User Name in Secured DB Causes Errors

Last reviewed: May 23, 1997
Article ID: Q167235
The information in this article applies to:
  • Microsoft Access 97

SYMPTOMS

Moderate: Requires basic macro, coding, and interoperability skills.

The "Database specifications" topic in Help for "Number of characters in a user name or group name" states that the maximum number of characters is 20. However, when you log on to a secured database with a username that is exactly 20 characters long, you receive one of the following error messages when you try to open an object in the database:

   MSACCESS caused a stack fault in module KERNEL32.DLL

   -or-

   MSACCESS caused a stack fault in module MSJET35.DLL

RESOLUTION

Create user accounts with names that are fewer than 20 characters long.

STATUS

Microsoft has confirmed this to be a problem in Microsoft Access 97. We are researching this problem and will post new information here in the Microsoft Knowledge Base as it becomes available.

MORE INFORMATION

Steps to Reproduce Problem

WARNING: Following these steps will cause a general protection fault on your computer. Make sure you save and close any open work on your computer before following these steps.

  1. Log on to a secured Microsoft Access database as a user with Admin permissions.

  2. On the Tools menu, point to Security, and then click User And Group Accounts.

  3. In the User And Group Accounts dialog box, click the New button on the Users tab.

  4. Create a new user. Type "TwentyCharacterUName" (without the quotation marks) in the Name box, and type "1234" (without the quotation marks) in the Personal ID box. Click OK to close the New User/Group dialog box, and then click OK again to close the User And Group Accounts dialog box.

  5. Quit Microsoft Access.

  6. Start Microsoft Access 97. In the Logon dialog box, type "TwentyCharacterUName" (without the quotation marks) in the Name box, and then click OK.

  7. Open the sample database Northwind.mdb.

  8. Open the Employees form. Note that you receive an error message, and then Microsoft Access quits.

REFERENCES

For more information about implementing Microsoft Access security features, search the Help Index for "security."


Additional query words: IPF Stackfault security login account length gpf
ipf
Keywords : EvnGpf kberrmsg ScrtUsr
Version : 97
Platform : WINDOWS
Hardware : x86
Issue type : kbbug
Resolution Type : Info_Provided


THE INFORMATION PROVIDED IN THE MICROSOFT KNOWLEDGE BASE IS PROVIDED "AS IS" WITHOUT WARRANTY OF ANY KIND. MICROSOFT DISCLAIMS ALL WARRANTIES, EITHER EXPRESS OR IMPLIED, INCLUDING THE WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. IN NO EVENT SHALL MICROSOFT CORPORATION OR ITS SUPPLIERS BE LIABLE FOR ANY DAMAGES WHATSOEVER INCLUDING DIRECT, INDIRECT, INCIDENTAL, CONSEQUENTIAL, LOSS OF BUSINESS PROFITS OR SPECIAL DAMAGES, EVEN IF MICROSOFT CORPORATION OR ITS SUPPLIERS HAVE BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES. SOME STATES DO NOT ALLOW THE EXCLUSION OR LIMITATION OF LIABILITY FOR CONSEQUENTIAL OR INCIDENTAL DAMAGES SO THE FOREGOING LIMITATION MAY NOT APPLY.

Last reviewed: May 23, 1997
© 1998 Microsoft Corporation. All rights reserved. Terms of Use.