Microsoft KB Archive/246678

From BetaArchive Wiki
Knowledge Base

FIX: Creating a New Database User from Enterprise Manager May Fail with Error 16916

Article ID: 246678

Article Last Modified on 3/14/2006


  • Microsoft SQL Server 7.0 Standard Edition

This article was previously published under Q246678

BUG #: 56738 (SQLBUG_70)


When the default to local cursor option is set for a database, creating a new database user from Enterprise Manager may fail with the following cursor error:

Microsoft SQL-DMO (ODBC SQL State: 34000)
Error 16916: The Cursor with the name 'hCForEachLogin' does not exist.


Turn off the Default to Local Cursor dboption on the database that reports the error.


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.

Keywords: kbbug kbfix KB246678