Visual Studio IIS Express在启动时挂起,但是IIS本地有效,为什么? [英] Visual Studio IIS Express hangs on launch, but IIS local works, why?

查看:75
本文介绍了Visual Studio IIS Express在启动时挂起,但是IIS本地有效,为什么?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我以管理员身份运行Visual Studio 2015,启动一个新项目,ASP.NET应用程序,Empty 4.5.2,然后仅添加一个简单的html页面.当我尝试使用IIS Express启动时,我只是在等待本地主机.如果我在IIS本地下执行此操作,则效果很好.

I run Visual studio 2015 as administrator, start a new project, ASP.NET application, Empty 4.5.2 and then just add a simple html page. When I try to launch using IIS Express, I just get waiting for local host. If I do this under IIS local it works fine.

我在笔记本电脑上正常工作,并在桌面上进行了Windows 10的全新安装,然后重新安装了VS2015,但仍然得到相同的结果. IIS Express已启动,但网页一直在等待本地主机

I have this working correctly on my laptop and did a clean install of windows 10 on my desktop and then reinstalled VS2015, but still get same result. IIS express starts but the web page keeps waiting for local host

我查看了许多解决方案,但无法解决问题.我是所有这些的新手,因此希望您能逐步了解如何解决.

I've looked at a number of solutions but have been unable to resolve the problem. I'm a newbie to all of this so would appreciate step by step instructions on how to resolve.

这是一个.Net Framework 4.5.2应用程序.

It is a .Net Framework 4.5.2 application.

推荐答案

退出Visual Studio并删除(project).vs文件夹.重新启动Visual Studio.它应该开始工作.

Exit Visual studio and delete the (project).vs folder. Restart Visual studio. It should start working.

这篇关于Visual Studio IIS Express在启动时挂起,但是IIS本地有效,为什么?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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