1.web.config 应有"debug=true"
2,项目属性有一项是允许ASP.NET调试,选择true就行了,

解决方案 »

  1.   

    将web.config文件中的ProcessModel键的username项由machine改为system
      

  2.   

    try to delete everything inside
    C:\Documents and Settings\你的登陆名字\VSWebCache
      

  3.   

    Cnapollo()是对的 
    在右上角的项目假如叫sample,点击右键选择属性,在属性里面有一项叫做debugging,把ASP.NET调试设成true就行了
      

  4.   

    使用DbgCLR.exe 调试进程 aspnet_wp.exe程序中可以使用Trace.WriteLine ();输出调试信息!这对ASP.NET 的WEB SERVICE 和 Componen class 比较有用!!