Microsoft KB Archive/911307

= The operation is delayed for several minutes when you run a Transact-SQL statement or a module that has an EXECUTE AS clause in SQL Server 2005 =

Article ID: 911307

Article Last Modified on 2/1/2006

-

APPLIES TO


 * Microsoft SQL Server 2005 Standard Edition
 * Microsoft SQL Server 2005 Express Edition
 * Microsoft SQL Server 2005 Developer Edition
 * Microsoft SQL Server 2005 Enterprise Edition
 * Microsoft SQL Server 2005 Workgroup Edition

-





SYMPTOMS
When you run a Transact-SQL statement or a module that has an EXECUTE AS clause in Microsoft SQL Server 2005, the operation is delayed for several minutes. This problem occurs when the impersonated login is a domain user. This problem typically occurs when the network connection is weak or when the domain controller does not respond quickly.



CAUSE
This problem occurs when you run the Transact-SQL statement or the module that has an EXECUTE AS clause for the first time. When you run the statement for the first time, the domain controller will take some time to gather security information. Subsequent calls for the statement are faster because the security information is cached.

Keywords: kbprb kbexpertiseadvanced kbsql2005engine KB911307

-

[mailto:TECHNET@MICROSOFT.COM Send feedback to Microsoft]

© Microsoft Corporation. All rights reserved.