IIS部署网站出现Server Error in '/' Application.CS0016的解决办法
错误详情:
Compilation Error
Description: An error occurred during the compilation of a resource required to service this request. Please review the following specific error details and modify your source code appropriately.
Compiler Error Message: CS0016: Could not write to output file 'c:\Windows\Microsoft.NET\Framework\v4.0.30319\Temporary ASP.NET Files\root\21a2b314\31512cd\App_Web_login.aspx.cdcab7d2.mfr3xa-z.dll' -- '拒绝访问。 '
Source Error
解决方案:C:\Windows\Temp"文件夹加上 IIS_IUSRS的权限(W7测试成功)
参考网址:https://www.cnblogs.com/hongmaju/p/5488922.html