Article ID: 827559 - Last Review: April 19, 2007 - Revision: 1.9 PRB: "Catastrophic Failure" Error Message When You Try to Debug an ASP.NET Application on Windows 2000 Domain ControllerOn This PageSYMPTOMSWhen you try to debug a Microsoft ASP.NET Web Application on
a computer that is running Microsoft Windows 2000 Server domain controller with
Service Pack 4 (SP4) installed, you may receive the following error message:
Error while trying to run project: Unable to start
debugging on the web server. Catastrophic failure CAUSEThis problem occurs when the account that is used to run the
ASP.NET Worker process (by default, this is the IWAM user account on the domain
controller) is not assigned with the "Impersonate a client after
authentication" user right in the local security policy. This problem may occur
when you install Windows 2000 SP4, and then install Microsoft Visual Studio
.NET. In this situation, the IWAM account is not granted the "Impersonate a
client after authentication" user right in the local security
policy. The "Impersonate a client after authentication" user right (also named SeImpersonatePrivilege) is a new Microsoft Windows 2000 security setting that was first included in Microsoft Windows 2000 SP4. WORKAROUNDTo work around the problem, manually assign the "Impersonate
a client after authentication" user right to the IWAM account. To do this,
follow these steps:
STATUS This
behavior is by design. MORE INFORMATIONSteps to Reproduce the BehaviorInstall Service Pack 4To download and install Windows 2000 SP4, visit the following Microsoft Web site:http://technet.microsoft.com/en-us/windowsserver/2000/bb735341.aspx
(http://technet.microsoft.com/en-us/windowsserver/2000/bb735341.aspx)
Create a New ASP.NET Web Application
Debug the Application
REFERENCES For additional
information, click the following article numbers to view the articles in the
Microsoft Knowledge Base: 824308
(http://support.microsoft.com/kb/824308/
)
BUG: IWAM Account Is Not Granted the Impersonate Privilege for ASP.NET 1.1 on a Windows 2000 Domain Controller with SP4
For additional information,
click the following article number to view the article in the Microsoft
Knowledge Base: 821255
(http://support.microsoft.com/kb/821255/
)
"Error While Trying to Run Project" Error Message Occurs When You Debug a Web Application in Visual Studio .NET
For more information about ASP.NET Impersonation,
visit the following Microsoft Developer Network (MSDN) Web site:
http://msdn.microsoft.com/en-us/library/xh507fc5(vs.71).aspx
(http://msdn.microsoft.com/en-us/library/xh507fc5(vs.71).aspx)
| Article Translations
|

Back to the top
