ASP.NET debug error(一):Unable to start debuging on the web server. The project is no configured to be debugged.
Posted on 2009-07-19 05:00 江南一客 阅读(274) 评论(0) 收藏 举报
今天调试ASP.NEt遇到了一个比较奇怪的错误,错误信息为"Unable to start debuging on the web server. The project is no configured to be debugged." ,网上搜索了一下,终于解决了,在此总结一下解决办法:
方法1:start -> Microsoft -> Visual Studio .NET 2003 -> Visual .NET tools -> Visual Studio .NET 2003 command prompt, 然后再命令行窗口中键入aspnet_regiis -i
方法2:直接运行C:\WINNT\Microsoft.NET\Framework\v1.1.4322\aspnet_regiis.exe -i。
具体原因好像是我机器上的IIS是在.NET之后安装的,这样可能导致.NET在安装的过程中无法对IIS做相应的设置。
方法1:start -> Microsoft -> Visual Studio .NET 2003 -> Visual .NET tools -> Visual Studio .NET 2003 command prompt, 然后再命令行窗口中键入aspnet_regiis -i
方法2:直接运行C:\WINNT\Microsoft.NET\Framework\v1.1.4322\aspnet_regiis.exe -i。
具体原因好像是我机器上的IIS是在.NET之后安装的,这样可能导致.NET在安装的过程中无法对IIS做相应的设置。
浙公网安备 33010602011771号