错误:"无法启动调试Web服务器上..." ASP.NET 4.0 [英] Error : "Unable to start debugging on the web server..." ASP.NET 4.0

查看:123
本文介绍了错误:"无法启动调试Web服务器上..." ASP.NET 4.0的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我收到一个错误,当我想创建一个网站,IIS服务器上。我使用Windows 7和Visual Studio 2010。

I am getting an error when I want to create a web site on IIS server. I am using Windows 7 and Visual Studio 2010.

我必须注册或配置asp.net 4.0中的IIS?

Do I have to register or configure asp.net 4.0 for the IIS ?

推荐答案

有没有很多细节在这里,但我得到了同样的错误,而试图启动调试一个Web应用程序项目在Visual Studio 2010中,我会3.5只变为4.0。

There aren't many details here, but I was getting that same error while trying to Start Debugging on a web application project in Visual Studio 2010 that I'd just changed from 3.5 to 4.0.

这解决了这个问题,我在命令行:

This solved the problem for me from the command line:

cd %windir%\Microsoft.NET\Framework\v4.0.30319
aspnet_regiis.exe -i

只要确保进入IIS管理器之后,并仔细检查你的应用程序池和这样的,因为很可能,这将重置你的一些配置。

Just make sure to go into IIS Manager afterwards and double-check your application pools and such, since it's likely that this will reset some of your configuration.

这篇关于错误:"无法启动调试Web服务器上..." ASP.NET 4.0的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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