IIS搭建网站遇到的问题

1.要启用浏览目录

解决:查看应用程序池是否有.net 4.5

     没有:cd C:\Windows\Microsoft.NET\Framework\v4.0.30319
          aspnet_regiis.exe -i

   有:应用程序池网站是否用.net 4.0

 

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

解决:C:\Windows\temp给iis_iusrs权限

posted @ 2015-12-03 12:16  margin_gu  阅读(219)  评论(0编辑  收藏  举报