"无法启动Web服务器。Web服务器无法找到请求的资源" 或 "unable to start debugging on the web server.the web server could not find the request"解决方法
2009-10-27 14:25
1626 查看
第一种方法:
环境:windows server2003 ;vs.net2005
打开iis管理器, 在web服务扩展里,把asp.net v2.0.50727设为允许即可。
并且保证 默认网站——属性——asp.net——asp.net版本为v2.0.50727
第二种方法:
我遇到的情况是通过下面的方法解决的。希望对大家有用!这里顺便AD一下,我的网站:http://www.xiaoshiyiluokuang.com (小事一箩筐,让你笑翻了!)
unable to start debugging on the web server.the web server could not find the requested resource
即:无法启动Web服务器。Web服务器无法找到请求的资源 !
嗡 !!!头大了 !!昨天刚弄好的程序怎么就不行了呢 ?后来在客户那里借到了上外网的网络(设置啊代理啊...就不说了)
立刻找解决的办法 !!敲入Google一搜,发现都是英文的一大片...倒 !!!搞了5分钟,还是没有搞定,得,先别将这个软件了 !
幸好还有另外一个部分给客户看,转移一下客户的注意力吧 !唉,一个上午都郁闷着,都没有记清楚客户到底讲了些什么 !!!
回到住处赶紧Google一下,半个小时终于搞明白了:这里 http://msdn.microsoft.com/zh-cn/library/ms165025.aspx有这么一段话:
如果安装了“URLScan”,在没有正确配置 urlscan.ini 配置文件的情况下可能会遇到此错误。有关更多信息,请参见 HOW TO: Configure URLScan to Protect ASP.NET Applications(如何:配置 URLScan 以保护 ASP.NET 应用程序)。
得到了上面的启发,后来在这里:http://www.microsoft.com/taiwan/msdn/secmod/html/secmod114.mspx 终于找到了问题的答案!
urlscan默认的把调试谓词DEBUG给禁用掉了 !
于是恍然大悟,哦 !昨天安装MVC组件是,顺带把URLScan给安装上了,这一安装不要紧,它把调试给禁用了 !!!!
于是赶紧打开它的配置文件:C:/WINDOWS/system32/inetsrv/urlscan/urlscan.ini 来看并进行配置,
将DEBUG加入到 urlscan.ini文件中的 AllowVerbs 配置节中:
[AllowVerbs]
GET
HEAD
POST
DEBUG
同时,把 urlscan.ini文件中的 options 配置节中的:
AllowDotInPath项置为1 ,形如:
AllowDotInPath=1
好了,重新启动IIS,再次启动调试程序,一切都好了 !
唉,这样的错误啊,真不知道该怎么评价自己了 !晕啊 ....
环境:windows server2003 ;vs.net2005
打开iis管理器, 在web服务扩展里,把asp.net v2.0.50727设为允许即可。
并且保证 默认网站——属性——asp.net——asp.net版本为v2.0.50727
第二种方法:
我遇到的情况是通过下面的方法解决的。希望对大家有用!这里顺便AD一下,我的网站:http://www.xiaoshiyiluokuang.com (小事一箩筐,让你笑翻了!)
unable to start debugging on the web server.the web server could not find the requested resource
即:无法启动Web服务器。Web服务器无法找到请求的资源 !
嗡 !!!头大了 !!昨天刚弄好的程序怎么就不行了呢 ?后来在客户那里借到了上外网的网络(设置啊代理啊...就不说了)
立刻找解决的办法 !!敲入Google一搜,发现都是英文的一大片...倒 !!!搞了5分钟,还是没有搞定,得,先别将这个软件了 !
幸好还有另外一个部分给客户看,转移一下客户的注意力吧 !唉,一个上午都郁闷着,都没有记清楚客户到底讲了些什么 !!!
回到住处赶紧Google一下,半个小时终于搞明白了:这里 http://msdn.microsoft.com/zh-cn/library/ms165025.aspx有这么一段话:
如果安装了“URLScan”,在没有正确配置 urlscan.ini 配置文件的情况下可能会遇到此错误。有关更多信息,请参见 HOW TO: Configure URLScan to Protect ASP.NET Applications(如何:配置 URLScan 以保护 ASP.NET 应用程序)。
得到了上面的启发,后来在这里:http://www.microsoft.com/taiwan/msdn/secmod/html/secmod114.mspx 终于找到了问题的答案!
urlscan默认的把调试谓词DEBUG给禁用掉了 !
于是恍然大悟,哦 !昨天安装MVC组件是,顺带把URLScan给安装上了,这一安装不要紧,它把调试给禁用了 !!!!
于是赶紧打开它的配置文件:C:/WINDOWS/system32/inetsrv/urlscan/urlscan.ini 来看并进行配置,
将DEBUG加入到 urlscan.ini文件中的 AllowVerbs 配置节中:
[AllowVerbs]
GET
HEAD
POST
DEBUG
同时,把 urlscan.ini文件中的 options 配置节中的:
AllowDotInPath项置为1 ,形如:
AllowDotInPath=1
好了,重新启动IIS,再次启动调试程序,一切都好了 !
唉,这样的错误啊,真不知道该怎么评价自己了 !晕啊 ....
相关文章推荐
- 转载 "无法启动Web服务器。Web服务器无法找到请求的资源" 或 "unable to start debugging on the web server.the web server could not find the reques"
- unable to start debugging on the web server. The web server could not find the requested resource
- Unable to start debugging on the web server. Logon failure: unknown user name or bad password(web服务器无法启动调试:未知用户名或密码错误)
- Solution to Error Message: "Unable to start debugging the webserver"
- Unable to start debugging on the web server. You do not have permission to debug the application. The URL for this project is in
- Silverlight无法启动调试,错误“Unable to start debugging. The Silverlight Developer Runtime is not installed. Please install a matching version.” 解决办法
- [原]Unable to start debugging on the web server.Debugging failes because integrated Windows authentication is not enabled.
- Unable to start debugging on the web server. Debugging failed because integrated windows authentication is not enabled.
- unable to start debugging on the web server.The web server is not configured
- Unable to Start Debugging on the Web Server 异常的处理方法
- 无法Debug SQL: Unable to start T-SQL Debugging. Could not attach to SQL Server process on
- 无法Debug SQL: Unable to start T-SQL Debugging. Could not attach to SQL Server process on
- unable to start debugging on the web server iis does not list an application that matches the launched url
- VS2005无法调试报错:Unable to start debugging on the Web server
- Unable to start debugging on the web server. The project is not configured to be debugged.
- Unable to start debugging on the web server. The IIS worker process for the launched URL is not currently running
- Unable to start debugging on the web server. The project is not configured to be debugged.
- ASP.Net DebugError解决方案[转]:Unable to start debugging on the web server.Debugging failes because integrated Windows authentication is not enabled.
- Unable to start debugging on the web server. The web server is not configured correctly. See help for common configuration errors. Running the web page outside of the debugger may provide further information.
- svn could not connect to the server 不能连接到服务器的解决方法