CS0016: 未能写入输出文件 c:\Windows\Microsoft.NET\Framework64\v4.0.30319\Temporary ASP.NET Files\ dll ”--“拒绝

 

 

 

在IIS中浏览某个网站时,出错案例现场:windows

编译器错误消息: CS0016: 未能写入输出文件“c:\Windows\Microsoft.NET\Framework64\v4.0.30319\Temporary ASP.NET Files\root\41c262f4\874fe77f\App_Web_site.master.cdcab7d2.irzarizp.dll”--“拒绝访问。 ”安全

 

环境说明:网站

OS:WIN7-64BITspa

IIS7blog

 

 

 

 

 

解决方案:编译器

将windows/temp属性-安全-高级 添加IIS_USERS用户,同时编辑权限为彻底控制(写入和编辑)便可。it

注意: 要确保权限添加上了,win7下有可能系统为安全,会自动取消你所作的权限设置。先管理员取得全部权,而后在添加。io

 

目录:编译

1. D:\SVN_TF02ast

2. C:\Windows\Microsoft.NET\Framework64\v4.0.30319\Temporary ASP.NET Files

3. C:\Windows\temp

 

属性-安全-高级 添加   IIS AppPool\SESMProduct   用户   ,其中用户名要换成 应用程序池名。

 

 

 

 

 

问题得以解决:

 

相关文章
相关标签/搜索