无法在V​​S 2013推出前的IIS preSS Web服务器 [英] Unable to launch IIS Express Web Server in VS 2013

查看:399
本文介绍了无法在V​​S 2013推出前的IIS preSS Web服务器的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我有使用VS 2013中MVC 4应用程序。

I have an application in MVC 4 using VS 2013.

这是很奇怪的,一切工作正常,直到昨晚但今天早上,当我开始工作,并试图运行我的应用程序,我发现了以下错误:

This is very strange,everything was working fine till last night but today morning when I started working and tried to run my application I found the following error:

Unable to launch IIS express web server.
Failed to register URL"http://localhost:62707" for site...
Access denied(0x80070005)

我搜索从早上起就这一点,我得到了解决这个我试过为:

I searched regarding this since morning and I got solutions for this which I tried as:


  • 我从文件中删除IIS防爆preSS文件夹了几次,
    试图重新打开它,但是力的工作运行的应用程序。

  • 我试图从http改变applicationhost文件绑定
    到https。有了这一点,得到了改变的唯一事情是错误的是
    现在展示:

  • I deleted IIS Express folder from my documents several times and tried running the application by reopening it but that dint work.
  • I tried with changing the binding in applicationhost file from http to https. With this the only thing that got changed is the error is now showing:

无法启动IIS前preSS Web服务器。
      指定的起始URL是无效的。

Unable to launch IIS Express Web server. The start URL specified is not valid.

我重新启动我的系统多次按了一些建议。也
我的浏览器了。

  • I restarted my system many times as per some of the suggestion . Also my browser too .

    但似乎没有为我工作,甚至还试图几乎所有种类的我被困在这一点上几个小时准备后。

    But nothing seems to be working for me and even after trying almost all of the possibilities for hours I kind of got stuck at this point.

    推荐答案

    您可以试试这个:


    • 打开命令行界面(CLI)被称为命苞与
      WIN + R写入CMD把这个命令删除urlacl。

    • Open "Command Line Interface (CLI)" called "Command shell" with "Win+R" write "cmd" put this command for removing the urlacl.

    netsh http delete urlacl url=http://{ip_addr}:{port}/
    


  • 然后添加网址为大家

  • Then add the url for everyone

    netsh http add urlacl url=http://{ip_addr}:{port}/ user=everyone
    


  • 然后关闭VS并删除我的文档的IISEx preSS文件夹
    路径:

  • Then close the VS and delete the IISExpress folder from MyDocuments path as:

    %userprofile%\ocuments, e.g. C:\Users\[you]\Documents\IISExpress
    


  • 重新运行应用程序。

  • Re-run your application.

    这篇关于无法在V​​S 2013推出前的IIS preSS Web服务器的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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