You receive a "Server Error in '/' Application. Access to the path <path> is denied" error message when you log on to Windows SharePoint Services (823379)



The information in this article applies to:

  • Microsoft Windows SharePoint Services
  • Microsoft Office SharePoint Portal Server 2003
  • Microsoft Windows Small Business Server 2003, Premium Edition
  • Microsoft Windows Small Business Server 2003, Standard Edition

SYMPTOMS

When you try to log on to the Microsoft Windows SharePoint Services after you install Windows SharePoint Services on a domain controller, you receive an error message that appears after you type your user name and password three times. The error message may be similar to the following:
Error: Server Error in '/' Application.

Access to the path "C:\WINDOWS\Microsoft.NET\Framework\v1.1.4322\Temporary ASP.NET Files\root\8c91a6b5\649b28ba" is denied.
You receive this error message even though you use the correct user name and password.

Note You may encounter similar symptoms when you access the following sites in Microsoft Windows Small Business Server 2003:
Error: Server Error in '/Backup' Application

Accessing Backup (http://servername/backup)

Error: Server Error in '/'Application

Accessing Companyweb (http://companyweb)

Error: Server Error in '/Monitoring' Application

Accessing Monitoring and Reporting (http://servername/monitoring)
Error: Server Error in '/Remote' Application

Accessing Remote Web Workplace (http://servername/remote)

CAUSE

This issue occurs if Microsoft Internet Information Services (IIS) 6.0 and ASP.NET are installed on the server before the server is promoted to a domain controller. This issue occurs if the following conditions are true, in the order that they are presented in:
  1. You install IIS 6.0 and ASP.NET on a member server.
  2. You use the Dcpromo.exe tool to promote the member server to a domain controller.
  3. You install Windows SharePoint Services on the domain controller.
In this situation, the Network Service group does not have sufficient permissions to the Temporary ASP.NET Files folder on the domain controller.

RESOLUTION

To resolve this issue, follow these steps:
  1. Click Start, and then click Run.
  2. In the Open box, type cmd, and then click OK.
  3. Switch to the Drive:\Windows\Microsoft.Net\Framework\v1.1.4322 folder, where Drive is the drive where Windows is installed. To do so, type the following line at the command prompt, where Drive is the drive where Windows is installed, and then press ENTER:

    cd Drive:\windows\microsoft.net\framework\v1.1.4322

  4. Add the appropriate permissions to the Network Service group for the Temporary ASP.NET Files folder. To do so, type the following line, and then press ENTER:

    aspnet_regiis -ir

    Note For more information about the difference between the -ir command-line option and the -i command-line option, visit the following Microsoft Web site:

  5. Type exit, and then press ENTER to quit the command prompt.
To avoid this issue, if you plan to install Windows SharePoint Services on a domain controller, make sure that you promote the server to a domain controller before you install IIS 6.0 and ASP.NET.

MORE INFORMATION

For more information about Windows SharePoint Services, visit the following Microsoft Web site: For additional information about installing IIS on a domain controller, click the following article number to view the article in the Microsoft Knowledge Base:

332097 DCPROMO does not retain permissions on some IIS folders

For more information about IIS, see the IIS 6.0 online documentation. To do so, visit the following Microsoft Web site:

Modification Type:MajorLast Reviewed:4/11/2006
Keywords:kbtshoot kbprb kberrmsg kbpasswords kbsetup kbWebServices kbnofix KB823379 kbAudITPRO