Compiler Error Message: CS0016: Could not write to output file 'c:\Windows\Microsoft.NET\Framework64
2013-12-28 21:54
621 查看
mpiler Error Message: CS0016: Could not write to output file 'c:\Windows\Microsoft.NET\Framework64\v4.0.30319\Temporary ASP.NET Files\root\xxx' -- 'Access is denied. '
今天在阿里云虚拟机上部署新站点后出现下面的错误:Compiler Error Message: CS0016: Could not write to output file 'c:\Windows\Microsoft.NET\Framework64\v4.0.30319\Temporary ASP.NET Files\root\xx' -- 'Access is denied. '
找遍了网上的资料最后总结为以下几步::
Cleaned the "C:\Windows\Microsoft.NET\Framework64\v4.0.30319\Temporary ASP.NET Files" folder
Gave Full permissions to IIS_IUSRS group
Gave Full permissions to "Everone"
Ran the following command too: %windir%\Microsoft.NET\Framework64\v4.0.30319\aspnet_regiis -i
郁闷的是都没能解决我的问题,最后给 "C:\Windows\Temp"文件夹加上 IIS_IUSRS的权限就好了。Windows Server 2003是NETWORK
SERVICE。
作者:KKcat
出处:http://jinzhao.cnblogs.com/
相关文章推荐
- Compiler Error Message: CS0016: Could not write to output file 'c:\Windows\Microsoft.NET\Framework64
- Compiler Error Message: CS0016: Could not write to output file 'c:\Windows\Microsoft.NET\Framework64
- Compiler Error Message: CS0016: Could not write to output file 'c:\Windows\Microsoft.NET\Framework64\v4.0.30319\Temporary ASP.NET Files\root\xxx' -- 'Access is denied. '
- Compiler Error Message: CS0016: Could not write to output file 'c:\Windows\Microsoft.NET\Framework64
- Compiler Error Message: CS0016: Could not write to output file 回绝访问
- Could not write to output file 'c:\Windows\Microsoft.NET ASP.NET Files\root\xx' -- 'Access is denied
- Could not write to output file 'c:/WINDOWS/Microsoft.NET/Framework/v2.0.5072的处理
- CS0016: Could not write to output file 'c:/WINDOWS/Microsoft.NET/Framework/v2.0.50727/Temporary ASP.NET Files/-- '拒绝访问'
- 关于CS0016: Could not write to output file ‘c:\WINDOWS\Microsoft.NET\Framework\v4.0.30319\Temporary ASP.NET Files… ‘Access is denied.’ 的解决办法
- 关于CS0016: Could not write to output file ‘c:\WINDOWS\Microsoft.NET\Framework\v4.0.30319\Temporary ASP.NET Files… ‘Access is denied.’ 的解决办法
- CS0016: Could not write to output file ‘c:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET解决方案
- [.net] 关于CS0016: Could not write to output file ‘c:\WINDOWS\Microsoft.NET\Framework\v4.0.30319\Temporary ASP.NET Files… ‘Access is denied.’ 的解决办法
- 关于CS0016: Could not write to output file ‘c:\WINDOWS\Microsoft.NET\Framework\v4.0.30319\Temporary AS
- CS0016: Could not write to output file 'c:\WINDOWS\Microsoft.NET\Framework\v1.1.4322\Temporary ASP.NET Files\application1\c11b43f6\cf3ec03\rizcntet.dll' . The directory name is invalid.
- CS0016: 未能写入(A compilation error has occurred.HttpCompileException: error CS0016: Could not write to output file 拒绝访问)
- Local IIS 7.0 - CS0016: Could not write to output file / Microsoft.Net > Framework > v4.0.30319 > Temporary ASP.NET Files
- 解决:Could not write to output file 'c:\windows\Microsoft.NET\Framework\........dll' -- '拒绝访问。 '
- CS0016: Could not write to output file
- Could not write to output file 'c:/WINDOWS/Microsoft.NET/Framework/v2.0.5072的处理
- CS0016: Could not write to output file ‘c:/WINDOWS/Microsoft.NET/Framework/v2.0.50727/Temporary ASP.NET Files/– 拒绝访问