"Server Error in '/' Application. Access to the Path <Path> Is Denied" error message appears
Cause
This is caused by the ASP.NET worker process account or the Network Service Group not having sufficient permissions to the Temporary ASP.NET Files folder on the server. This situation can arise depending on the sequence of installing ASP.NET with respect to other Windows options.
Resolution
To resolve this, change the security so that Full Control is allowed for the ASPNET and NETWORK SERVICE accounts on the following folder:
%windir%/Microsoft.NET/Framework/Version/Temporary ASP.NET Files
- From the Start Menu, choose All Programs, choose Accessories and then click Windows Explorer.
- Expand the folders to point to the Temporary ASP.NET Files folder.
- From the File menu, click Properties.
- Click the Security tab.
- Select the ASPNET user name and choose the Allow Full Control option.
- Select the NETWORK SERVICE user name and choose the Allow Full Control option.
- Click OK.
The image below shows the Explorer window.

The image below shows the Properties window Security tab.

本文介绍了解决ASP.NET应用程序中出现的访问被拒绝错误的方法。该问题通常由ASP.NET工作进程账户或NetworkService组对服务器上的临时文件夹权限不足引起。通过调整这些账户的权限设置可以解决此问题。
31万+

被折叠的 条评论
为什么被折叠?



