我一直在尝试在 Delphi 中为我的 ASP.NET 应用程序设置本地调试,并收到上述错误。我已将 aspnet_regiis.exe 工具与以下内容一起使用:
Aspnet_regiis.exe -s W3SVC/1/ROOT/DevTest
但这没有帮助。它将它作为应用程序添加到 IIS,但我仍然收到错误消息:
The project cannot be debugged because virtual directory "DevTes" is not configured with ASP.NET version 2.0 or 3.0 Use aspnet_regiis.exe to configure the local IIS web server.
我不确定从这里去哪里,所以需要一些帮助:
机器规格:Windows 7 64 位,IIS7,使用 RAD Studio 2007。
编辑:有关更多信息,我已经能够在 Firefox 中启动网站,并且现在能够附加到进程,尽管缺少一点调试,即我看不到会话等的值......