渔鱼

人生豪迈,在此一博!

  博客园 :: 首页 :: 博问 :: 闪存 :: :: 联系 :: 订阅 订阅 :: 管理 ::
今天使用VS2005调试Web程序时报出错误:
Unable to start debugging on the web server. The debug request could not be processed by the server due to invalid syntax.

有几周没调程序了,也记不起来我机器系统环境有啥变化了,试了几个以前正常好用的程序,都是报出同样的错误。IIS也查看了一下,苦思不得其解,后来百度一下,查到了如下微软文章:
BUG:在运行 ASP.NET Web 应用程序时出现“Unable to start debugging on the Web server”(无法在 Web 服务器上启动调试)错误消息

原来是我先前设置过IIS的默认站点的IP地址,结果导致IIS不认识localhost,从而不能实现VS2005的调试。

把默认站点的IP地址重新设置为默认(All Unassigned)即可正常调试了。

posted on 2008-01-23 08:48  博闻李  阅读(1643)  评论(0编辑  收藏  举报