无法启动IIS Express Web服务器

编程入门 行业动态 更新时间:2024-10-06 17:23:51
本文介绍了无法启动IIS Express Web服务器的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧! 问题描述

每次我尝试调试asp网站时,都会出现此错误:

Everytime I try to debug my asp website I get this error:

无法启动IIS Express Web服务器.

Unable to launch the IIS Express Web server.

无法为站点注册URL" localhost:50010/" "SociopackWebAPI"应用程序"/".错误描述:过程 无法访问该文件,因为该文件正在被另一个进程使用. (0x80070020)

Failed to register URL "localhost:50010/" for site "SociopackWebAPI" application "/". Error description: The process cannot access the file because it is being used by another process. (0x80070020)

在eventviewer中,我在日志中注意到此错误:

In eventviewer I noticed this error in the log:

应用程序池"Clr4IntegratedAppPool"的工作进程,PID ="13248", 当要求启动时无法初始化http.sys通信 处理http请求,因此W3SVC会认为它不舒服 并终止.数据字段包含错误号.

The worker process for app pool 'Clr4IntegratedAppPool', PID='13248', failed to initialize the http.sys communication when asked to start processing http requests and therefore will be considered ill by W3SVC and terminated. The data field contains the error number.

我认为这意味着我的Clr4IntegratedAppPool没有足够的权限?我该如何解决?

I assume this means my Clr4IntegratedAppPool does not have enough rights? How can I fix thi?

推荐答案

我在VS2017/IIS Express 10中遇到了完全相同的问题. 尝试了一些技巧在论坛上发现了很多技巧,但是唯一可以真正修复该错误的技巧是:

I had exactly the same problem with VS2017 / IIS Express 10. Tried a few tips & tricks found at forums, but the only one that really fixed the bug definitively is the following:

  • 关闭所有Visual Studio实例和IIS Express(如果正在运行)
  • 转到Windows的程序和资源",在已安装的程序列表中找到IIS Express,然后对其进行卸载"
  • 重新启动计算机,只需确保所有进程都已关闭
  • 从Microsoft下载IIS Express 10独立安装程序: https: //www.microsoft/zh-CN/download/details.aspx?id=48264
  • 安装它,打开Visual Studio,它应该可以正常工作.
  • Close all Visual Studio instances and IIS Express (if it's running)
  • Go to Windows' "Programs and Resources", find IIS Express in the list of installed programs, and "Uninstall" it
  • Restart your computer, just be sure that all processes are closed
  • Download IIS Express 10 standalone installer from Microsoft: www.microsoft/en-us/download/details.aspx?id=48264
  • Install it, open Visual Studio, and it should work fine.
  • 更多推荐

    无法启动IIS Express Web服务器

    本文发布于:2023-11-23 21:50:43,感谢您对本站的认可!
    本文链接:https://www.elefans.com/category/jswz/34/1622947.html
    版权声明:本站内容均来自互联网,仅供演示用,请勿用于商业和其他非法用途。如果侵犯了您的权益请与我们联系,我们将在24小时内删除。
    本文标签:无法启动   服务器   Express   IIS   Web

    发布评论

    评论列表 (有 0 条评论)
    草根站长

    >www.elefans.com

    编程频道|电子爱好者 - 技术资讯及电子产品介绍!