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 (911307)



The information in this article 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


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.

Modification Type:MajorLast Reviewed:2/1/2006
Keywords:kbsql2005engine kbExpertiseAdvanced kbprb KB911307 kbAudDeveloper kbAudITPRO