http://support.microsoft.com/default.aspx?scid=KB;en-us;q306172

解决方案 »

  1.   

    CAUSE
    This problem can occur if there are syntax errors in the ASP.NET application's Web.config file. 
    RESOLUTION
    To resolve this problem, make sure that all of the Extensible Markup Language (XML) in the Web.config file is valid and well formed. Also, remember that everything in Web.config is case-sensitive.看了上面的解释,我不太明白,为什么系统自动生成的web.config文件还会有错误。那我应该去那里找到正确的文件呢?
      

  2.   

    在你的解决方案里,双击web.config
      

  3.   

    是啊。。我打开了web.config文件,却找不到错误阿!!!!
      

  4.   

    是啊。。我打开了web.config文件,却找不到错误阿!!!!
      

  5.   

    This problem can occur if there are syntax errors in the ASP.NET application's Web.config file.
    把你的webconfig每一段(section)删除,看看哪里出错!最好还是找个好的webconfig文件替换掉原来的。