问题调试ASP.net网站 [英] problem Debuging ASP.net web site

查看:86
本文介绍了问题调试ASP.net网站的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述


当我按"F5"调试我的asp网站时,我遇到了一个问题,它给了我两个选择
1.按F5调试web.config
2.按ctr + F5键运行.

当我选择第一个选项时,它给我一个错误无法启动http://localhost:1010/default.aspx
或者,如果我选择第二个选项,则网站将启动,但是当我关闭另一个打开的同名页面并被挂起时.

我无法理解为什么这件事发生了,请尽快帮我.

感谢

Hi,
I''m facing a problem when I press "F5" to debug my asp web site its give me two option
1. press F5 to debug web.config
2. Press ctr + F5 to run.

when I select first option its gives me an error "Unable to start http://localhost:1010/default.aspx
or if I select second option then the website start but when I close an unother page open with same name and got hang.

I''m unable to understand why this thing is happening kindly help me soon.

thanks

推荐答案

您可以附加到进程中进行调试.
为此:
1.在浏览器中打开页面(http://localhost/yourPage.apx)
2.在Visual Studio中,去调试->附加到流程-> w3wp.exe


注意:

为此,您可能需要以管理员身份打开Visual Studio
You can attach to the process for debugging.
To do that:
1. Open page in browser (http://localhost/yourPage.apx)
2. In Visual studio go to debug -> attach to process -> w3wp.exe


Note:

you may need to open Visual studio as administrator in order to do that


这篇关于问题调试ASP.net网站的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆