FIX: Execution of IS_MEMBER May Cause AV When Many Roles Exist

Article translations Article translations
Article ID: 246189 - View products that this article applies to.
This article was previously published under Q246189
This article has been archived. It is offered "as is" and will no longer be updated.
BUG #: 56457 (SQLBUG_70)
Expand all | Collapse all

SYMPTOMS

When many roles exist in a database, and you use the IS_MEMBER() T-SQL function to determine if the current user is a member of a particular role, you may receive an error similar to the following:
ODBC: Msg 0, Level 19, State1 SqlDumpExceptionHandler: Process 8 generated fatal exception c0000005 EXCEPTION_ACCESS_VIOLATION. SQL Server is terminating this process.
Use IS_SRVROLEMEMBER('role') instead. Refer to SQL Server Books Online for specifics on the use and syntax of this function.

STATUS

Microsoft has confirmed this to be a problem in SQL Server 7.0. This problem has been corrected in U.S. Service Pack 2 for Microsoft SQL Server 7.0. For more information, click the following article number to view the article in the Microsoft Knowledge Base:
254561 INF: How to Obtain Service Pack 2 for Microsoft SQL Server 7.0 and Microsoft Data Engine (MSDE) 1.0
For more information, contact your primary support provider.

MORE INFORMATION

This will not happen when you check every role for membership. For instance, it may appear when you check for membership in the 100th role but the first 99 will check fine.

Properties

Article ID: 246189 - Last Review: October 22, 2013 - Revision: 2.1
APPLIES TO
  • Microsoft SQL Server 7.0 Standard Edition
Keywords: 
kbnosurvey kbarchive kbbug kbfix KB246189

Give Feedback

 

Contact us for more help

Contact us for more help
Connect with Answer Desk for expert help.
Get more support from smallbusiness.support.microsoft.com