简体   繁体   English

在Windows 7的IIS 7上调试ASP.Net应用程序的问题

[英]Problem with debugging ASP.Net application on IIS 7 on Windows 7

Few weeks ago I started using VS 2008 (Professional) with Windows 7 (Enterprise). 几周前,我开始在Windows 7(企业版)中使用VS 2008(专业版)。 When working with ASP.Net web applications I repeatedly stumble over the following error: 使用ASP.Net Web应用程序时,我反复发现以下错误:

After opening a solution with a web project the first compilation and debug go perfectly fine . 用Web项目打开解决方案后, 第一次编译和调试就可以进行了 The second time I try to debug the solution I get the " Unable to start debugging on the web server. System call failed " error and solution does not start at all. 第二次尝试调试解决方案时,出现“ 无法在Web服务器上启动调试。系统调用失败 ”错误,解决方案根本无法启动。 When I try to debug it again it always shows the same error but sometimes the app actually starts but does not break on the server code at all. 当我尝试再次调试它时,它总是显示相同的错误,但有时该应用程序实际上已启动,但在服务器代码上根本没有中断。

Any ideas why this could happen? 任何想法为什么会发生这种情况? Thanks a lot for any suggestions. 非常感谢您的任何建议。

(I use local IIS and run VS as Administrator) (我使用本地IIS并以管理员身份运行VS)

Have you installed SP1 for VS 2008? 您是否已为VS 2008安装了SP1? I am using Win7 as well, and alot of the issues get magically resolved with a service pack. 我也使用Win7,并且通过Service Pack可以很好地解决许多问题。 HTH. HTH。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM