无法启动IIS前preSS Web服务器,无法注册URL,访问被拒绝 [英] Unable to launch the IIS Express Web server, Failed to register URL, Access is denied

查看:4201
本文介绍了无法启动IIS前preSS Web服务器,无法注册URL,访问被拒绝的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

一些Web项目引起了我的问题,而其他正常工作。我决定把重点放在有问题的人之一。
我使用Visual Studio 2013在Windows 7上我觉得我跑它作为管理员,窗口标题说项目名称 - 微软的Visual Studio(管理员)

当我尝试运行项目,我得到一个弹出一句话:

 无法启动IIS前preSS Web服务器。无法注册URL的http://本地主机:62940 /站点SITE NAME
应用程序/。错误说明:访问被拒绝。 (0X80070005)。

这似乎并不<一个href=\"http://stackoverflow.com/questions/18454751/unable-to-launch-the-iis-ex$p$pss-web-server-error\">entirely <一href=\"http://stackoverflow.com/questions/8188547/running-iis-ex$p$pss-without-administrator-rights\">uncommon但我已经尝试了许多的建议没有运气:


  1. 删除%USERPROFILE%\\文档\\ IISEx preSS \\ ,想跑。


  2. 的netsh的http添加urlacl URL = HTTP://本地主机:62940 / USER =每个人,重新启动,并试图逃跑。 (其实用户=阿拉自瑞典的Windows)。


  3. netsh的HTTP删除urlacl URL = HTTP://本地主机:62940 / ,重新启动,并从变&LT;绑定协议= HTTPbindingInformation =*:62940:本地主机/&GT; &LT;绑定协议=HTTPbindingInformation =*:62940:/&GT; %USERPROFILE%\\文档\\ IISEx preSS \\设置\\对ApplicationHost.config ,并试图逃跑。 (它确实改变了错误消息说 ... URL的http:// *:62940 /。...


  4. 重新安装了IIS 8.0防爆preSS


  5. 重新安装的Visual Studio 2013


我在我束手无策,我究竟做错了什么?

编辑1:如果我更改项目(例如,以55555)港启动......这不是一个理想的解决方案,因为这些项目都是由几个人合作的。也许端口被别的东西堵住?如果是这样,有一个简单的方法由什么检查?

编辑2:端口62940似乎是免费的。运行的netstat 不显示任何应用倾听。有些东西必须是错误的。

修改3:我试图在项目开始今天不接触它几个月后。它的工作,但我不知道为什么。


解决方案

我改变了端口作为项目解决了这个错误。

我做以下步骤:

1 - 右键单击​​该项目结果。
2 - 转到性能结果。
3 - 转到的服务器的标签结果。
4 - 选项卡部分,更改URL项目为其他端口,如8080或3000

祝你好运!

Some web projects are causing me problems while others work fine. I decided to focus on one of the problematic ones. I'm using Visual Studio 2013 on Windows 7. I think I'm running it as administrator, the window title says PROJECT NAME - Microsoft Visual Studio (Administrator).

When I try to run the project I get a popup saying:

Unable to launch the IIS Express Web server.

Failed to register URL "http://localhost:62940/" for site "SITE NAME"
application "/". Error description: Access is denied. (0x80070005).

This does not seem entirely uncommon but I have tried many of the suggestions without luck:

  1. Deleted %userprofile%\Documents\IISExpress\, tried to run.

  2. netsh http add urlacl url=http://localhost:62940/ user=everyone, rebooted and tried to run. (Actually user=Alla since Swedish Windows).

  3. netsh http delete urlacl url=http://localhost:62940/, rebooted and changed from <binding protocol="http" bindingInformation="*:62940:localhost /> to <binding protocol="http" bindingInformation="*:62940:/> in %userprofile%\Documents\IISExpress\config\applicationhost.config and tried to run. (It did changed the error message to say ... URL "http://*:62940/" ....

  4. Reinstalled IIS 8.0 Express

  5. Reinstalled Visual Studio 2013

I'm at my wit's end, what am I doing wrong?

Edit 1: If I change the port of the project (e.g. to 55555) it starts... This is not a desirable solution since these projects are worked on by several people. Maybe the port is blocked by something else? If so, is there an easy way to check by what?

Edit 2: Port 62940 seems to be free. Running netstat does not show any application listening to it. Something else must be wrong.

Edit 3: I tried starting the project today after not touching it for a few months. It worked but I don't know why.

解决方案

I solved the error by changing the port for the project.

I did the following steps:

1 - Right click on the project.
2 - Go to properties.
3 - Go to Server tab.
4 - On tab section, change the project URL for other port, like 8080 or 3000.

Good luck!

这篇关于无法启动IIS前preSS Web服务器,无法注册URL,访问被拒绝的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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