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

查看:21
本文介绍了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天全站免登陆