码迷,mamicode.com
首页 > 数据库 > 详细

IIS6 2.0 4.0 冲突解决 'c:\Windows\Microsoft.NET\Framework64\v4.0.30319\Temporary ASP.NET Files\root\xxx' -- 'Access is denied. '

时间:2014-08-23 20:18:41      阅读:256      评论:0      收藏:0      [点我收藏+]

标签:style   blog   http   color   os   io   strong   文件   ar   

今天在阿里云虚拟机上部署新站点后出现下面的错误:

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. ‘

 

bubuko.com,布布扣
找遍了网上的资料最后总结为以下几步::

  • 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的权限就好了。


bubuko.com,布布扣

IIS6 2.0 4.0 冲突解决 'c:\Windows\Microsoft.NET\Framework64\v4.0.30319\Temporary ASP.NET Files\root\xxx' -- 'Access is denied. '

标签:style   blog   http   color   os   io   strong   文件   ar   

原文地址:http://www.cnblogs.com/rainbowzc/p/3931643.html

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!