调试与IIS ASP.NET [英] Debugging ASP.NET with IIS

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

问题描述

我已经设置了Visual Studio 2008中调试IIS,而不是内置的服务器,这样我可以运行的网址,同时发展(使用IIRF)。

I've set up debugging in Visual Studio 2008 to IIS instead of the built in server so I can run url rewriting while developing (using IIRF).

过了一段时间去上班(更改权限,重新安装.NET框架),但它工作。

It took a while to get to work (changing permissions, reinstalling the .NET framework) but it was working.

我关掉我的机器,而现在,它的重新调试器将无法启动。我使用的iMac上使用WinXP的相似之处。

I turned off my machine, and now that it's back on the debugger won't start. I'm using Parallels with WinXP on an iMac.

无法在网络上开始调试
  服务器。无法启动ASP.NET
  调试。更多信息可以是
  可用通过启动项目
  无需调试

"Unable to start debugging on the web server. Could not start ASP.NET debugging. More information may be available by starting the project without debugging"

我读了一大堆关于员额SO以及google搜索的主题,但没有似乎提供了一个工作的答案。

I read a whole bunch of posts on SO as well as googled the subject but none seem to provide a working answer.

有没有人遇到过这一点,并知道如何得到它的工作?

Has anyone encountered this and knows how to get it to work?

感谢。

推荐答案

于是一大堆试验后我设法找到问题,好样的。

So after a whole lot of experimenting I managed to find the issue, well kind of.

目前的主要问题是,保持活动未启用,这又不允许认证才能正常工作。与已启用调试器的实际工作。但。如果我开始调试,选择一个.aspx页面中它只会工作。如果我开始不会选择它的.cs页调试。

The main issue was that Keep-Alives were not enabled, which in turn didn't allow the authentication to work properly. With that enabled the debugger actually works. But. It will only work if I start debugging with a .aspx page selected. If I start debugging with a .cs page selected it wont.

奇怪,但至少它的工程!

Strange, but at least it works!

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

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