IIS 错误 :“NETWORK SERVICE does not have write access” 解决办法

The current identity (NT AUTHORITY\NETWORK SERVICE) does not have write access to 'D:\WINDOWS\Microsoft.NET\Framework\v2.0.50215\Temporary ASP.NET Files'.
Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code.

Exception Details: System.Web.HttpException: The current identity (NT AUTHORITY\NETWORK SERVICE) does not have write access to 'D:\WINDOWS\Microsoft.NET\Framework\v2.0.50215\Temporary ASP.NET Files'.

如同异常详细信息里提示的,给'D:\WINDOWS\Microsoft.NET\Framework\v2.0.50215\Temporary ASP.NET Files'文件夹,NETWORK SERVICE的写权限即可

我使用Windows Server 2003 sp2

原文地址:https://www.cnblogs.com/scottgu/p/2205455.html