ACC2002: Error Message: Application Roles Can Only Be Activated at the Ad Hoc Level (310824)
The information in this article applies to:
This article was previously published under Q310824 Advanced: Requires expert coding, interoperability, and multiuser skills.
This article applies only to a Microsoft Access project (.adp).
SYMPTOMS
When you try to execute the Microsoft SQL Server stored procedure sp_setapprole from a Microsoft Access project (ADP), you receive the following error message:
Application roles can only be activated at the ad hoc level.
CAUSE
You are executing the sp_setapprole stored procedure within the context of another stored procedure. By design, sp_setapprole cannot be executed if it is nested within another stored procedure.
Modification Type: | Major | Last Reviewed: | 9/25/2003 |
---|
Keywords: | kberrmsg kbprb KB310824 |
---|
|