1. 需要以管理员的身份运行VS。
2. 如果有<identity>在web.config,删除试一试。

解决方案 »

  1.   

    “Failed to start monitoring changes to [path] global.asax”
    This error may appear on building a VS2008 project.
    Out of many solutions, I found 2 useful:
    1. Give proper rights to the user on the folder specified in the error message, specially if impersonate = true in web.config.
    Or
    2. Try to run VS2008 as administrator, by choosing “Run as administrator” on right clicking of VS2008 icon in programs menu.来自:
    http://amitabhk.wordpress.com/2010/06/28/failed-to-start-monitoring-changes-to-path-global-asax/
      

  2.   

    打开IIS,PC主页-->身份验证-->asp.net模拟    状态设置为禁用就可以了.! 
      

  3.   

    好像真是这个原因,,只是我搞不懂项目编译不通过报这个错,怎么会跟IIS身份验证有关系?