Notice: This website is an unofficial Microsoft Knowledge Base (hereinafter KB) archive and is intended to provide a reliable access to deleted content from Microsoft KB. All KB articles are owned by Microsoft Corporation. Read full disclaimer for more details.

Error when an application calls the NetLocalGroupGetMembers function in Microsoft Windows: "ERROR_NO_SYSTEM_RESOURCES"


View products that this article applies to.

Symptoms

When an application calls the NetLocalGroupGetMembers function in Microsoft Windows, you receive the following error message:
ERROR_NO_SYSTEM_RESOURCES

↑ Back to the top


Cause

This problem occurs when the user account is using more than 2,048 concurrent connections, or handles, to the Security Accounts Manager (SAM) database.

When an application calls the NetLocalGroupGetMembers function, this function obtains data from the SAM database. Each user account, except for Administrator, is allowed a maximum of 2,048 active SAM handles. If a user account opens more than 2,048 handles, the NetLocalGroupGetMembers function returns an "ERROR_NO_SYSTEM_RESOURCES" error. When this error is returned, the application keeps calling the NetLocalGroupGetMembers function until the NERR_Success value is returned.

Note
The NERR_Success value is returned when there is no more data available.

↑ Back to the top


More information

In the situation that is described in the "Symptoms" section, the excess handles are left to the Lsass.exe process.

↑ Back to the top


Keywords: KB912671, kbtshoot, kbwinservsetup

↑ Back to the top

Article Info
Article ID : 912671
Revision : 3
Created on : 10/30/2006
Published on : 10/30/2006
Exists online : False
Views : 287