IIS前preSS在Visual Studio 2012不工作 [英] IIS express not working in visual studio 2012

查看:199
本文介绍了IIS前preSS在Visual Studio 2012不工作的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

荫无法运行在IIS防爆preSS Visual Studio的应用。荫得到一个错误无法启动IIS前preSS的第一次。
经过多次调试,
荫提示以下错误:

Iam not able to run the Visual Studio Application with IIS Express. Iam getting an Error "Unable to launch IIS Express" for the first time. After multiple times debugging, Iam getting the below error,

如果我通过命令提示符手工运行的非法入境前preSS,IAM提示以下错误:,

If I run IIs express manually through command prompt,iam getting the below error,

我已经重新安装了IIS防爆preSS但没有改变。我还通过删除应用程序的所有站点名称修改前偷渡preSS的应用主机配置文件,但没有任何改变。

I have reinstalled IIS Express but there is no change. I have also modified the application host config file of IIs express by deleting all the site names of application but there is no change.

荫无法知道的问题。因此,PLZ提出任何解决方案,解决这个问题。

Iam not able to know the issue. So, plz suggest any solution for fixing this issue.

推荐答案

我有同样的问题,这个问题是相关的应用程序池定义,你可以在\\用户发现{您的用户名} \\我的文档\\ IISex preSS \\ CONFIG \\对ApplicationHost.config。

I had the same problem and the problem is related to the app pool definition which you can find in \users{your username}\mydocuments\IISexpress\config\applicationhost.config.

找到标记

<add name="Clr4IntegratedAppPool" managedRuntimeVersion="v4.0" managedPipelineMode="Integrated" CLRConfigFile="%IIS_USER_HOME%\config\aspnet.config" autoStart="true" />

和V4.0到v4.0.30319改变为managedruntimeversion .NET 4.5

and change the managedruntimeversion from "v4.0" to "v4.0.30319" for .net 4.5

<add name="Clr4IntegratedAppPool" managedRuntimeVersion="v4.0.30319" managedPipelineMode="Integrated" CLRConfigFile="%IIS_USER_HOME%\config\aspnet.config" autoStart="true" />  

这篇关于IIS前preSS在Visual Studio 2012不工作的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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