C# ASP.NET调试问题<compilation debug="false" targetFramework="4.0"/> 解决方法:在IIS中网站管理->高级设置->应用程序池 将DefaultAppPool修改为ASP.NET v4.0. 如下图所示: