zoukankan      html  css  js  c++  java
  • .net web程序发布之后,出现编译错误

    .net web程序发布之后,在IIS上浏览的时候出现编译错误。

    CS0016: 未能写入输出文件“c:WindowsMicrosoft.NETFrameworkv4.0.30319Temporary ASP.NET Filesweb4b49f66123a749fc******.cdcab7d2.zii776dc.dll”--“拒绝访问。 ”  

    网上解决方案:

    Grant full control to two users of your system “Network Service” and “YourComputerNameIIS_IUSERS” on the following folders. 
    1. C:WindowsTemp 
    2. C:WindowsMicrosoft.NETFrameworkv4.0.30319Temporary ASP.NET Files 
    3. Restart IIS and try run your web application again.  

    个人解决方案:

    1.对C:WindowsTemp 中的Users 赋予完全权限。

    2.重启IIS并运行web程序即可。

    欢迎指正:haizi2014@qq.com
  • 相关阅读:
    大数板子
    数位dp
    BM算法
    牛客小白月赛7
    划分树
    可持久化线段树
    素数
    一些数学公式
    线性基
    ConcurrentHashMap 并发HashMap原理分析
  • 原文地址:https://www.cnblogs.com/hcfan/p/4159271.html
Copyright © 2011-2022 走看看