PRB: "Access denied" Error Message When You Run an ASP.NET 1.0 Application in IIS 6.0 (817033)
The information in this article applies to:
- Microsoft ASP.NET (included with the .NET Framework) 1.0, when used with:
- the operating system: Microsoft Windows Server 2003
- Microsoft Internet Information Services version 6.0
SYMPTOMS When you run an ASP.NET Web Application project on a
computer running Windows Server 2003 with the .NET Framework 1.0 installed, and
the Internet Information Services (IIS) 6.0 is running in IIS 5.0 isolation
mode, you may receive the following error message if you do not grant the seImpersonatePrivilege function to the ASPNET account: System.Web.HttpException: Access denied to
'd:\inetpub\wwwroot\ImpersonateTest\WebForm1.aspx'. Failed to start monitoring
file changes. RESOLUTIONTo resolve this problem, grant the seImpersonatePrivilege to your ASPNET account. To do so, follow these steps:
- Click Start, point to
Settings, and then click Control
Panel.
- Double-click Administrative
Tools.
- Double-click Local Security Policy. Under
Local Policies, click User Rights Assignment.
- In the details pane, double-click Impersonate a
client after authentication.
- Click Add, and then assign the permission
to the local account that you name ASPNET.
- Open a command prompt, and then type
iisreset.
STATUS This
behavior is by design.REFERENCESFor more information about ASP.NET Impersonation, visit the
following Microsoft Developer Network Web site:
Modification Type: | Minor | Last Reviewed: | 7/8/2005 |
---|
Keywords: | kbSecurity kbWebForms kbweb kbConfig kbprb KB817033 kbAudDeveloper |
---|
|