I was unable to debug asp.net project in VS2003 today,because I installed VS2005 Beta.
There is a error message that I got
************************
Microsoft Development Environment
************************
Error while trying to run project: Unable to start debugging on the web
server.
Click Help for more information.
************************
OK Help
Why?
Think about it a while, installing VS2005 should configure IIS to use the V2.0
net Framework, so the VS2003 can't debug in the new version.
Then I have a try, uninstall the 2.0 mappings from IIS using aspnet_regiis.exe -u
in /windws/Microsoft.net/Framework/v2.0.** folder,
after this configure IIS to use 1.1 net Framework using aspnet_regiis.exe -i
in /windws/Microsoft.net/Framework/v1.0.** folder.
This works great
, but when I want to debug VS2005 project,I have to do the same
thing in reverse.
博主因安装VS2005 Beta无法在VS2003中调试ASP.NET项目,报错无法在Web服务器上启动调试。分析是VS2005配置IIS使用V2.0.NET Framework所致。通过aspnet_regiis.exe工具卸载IIS中2.0映射并配置使用1.1.NET Framework解决问题,调试VS2005项目则需反向操作。
2041

被折叠的 条评论
为什么被折叠?



