IIS 10.0 AppPool 崩溃(导致 503 错误) [英] IIS 10.0 AppPool crashing (causing 503 error)

查看:31
本文介绍了IIS 10.0 AppPool 崩溃(导致 503 错误)的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

情况
安装最新的 Windows 10 更新(2017 年 11 月)后,本地 Web 应用程序所需的应用程序池不断停止/崩溃,在事件查看器中显示以下消息:

Situation
After the latest Windows 10 updates (Nov 2017) were installed, the Application Pool required by a local web application keeps stopping/crashing displaying the message below in Event Viewer:

应用程序池SrvAppPoolv4.0"的工作进程尝试读取时遇到错误无法读取配置文件"来自文件\\?\"的配置数据,行号0".数据字段包含错误代码.

The worker process for application pool 'SrvAppPoolv4.0' encountered an error 'Cannot read configuration file ' trying to read configuration data from file '\\?\<EMPTY>', line number '0'. The data field contains the error code.

设置
视窗 10
Internet 信息服务(版本 10.0.16299.15)

Setup
Windows 10
Internet Information Services (Version 10.0.16299.15)

我的尝试
我已经尝试了一些我通过谷歌找到的东西,无论是在 Stackoverflow 还是其他网站上,到目前为止都没有任何帮助.我尝试过的一些:

What I've tried
I've tried a few things that I've found via Google, both here on Stackoverflow and other sites, nothing has helped so far. Some of what I've tried:

  • 将 AppPool 标识更改为其他用户(右键单击,高级设置).
  • 检查了 machine.config 上的权限(所有这四个在各种 \Windows\Microsoft.NET\Framework\....\Framework64\.. 文件夹).
  • 取消选中 IIS 和 .NET 功能(控制面板/Windows 功能),然后重新添加它们.
  • 卸载有问题的应用程序,清除所有内容,然后重新安装.
  • Changed the AppPool Identity to a different user (Right-click, Advanced Settings).
  • Checked the permissions on the machine.config (all four of them in the various \Windows\Microsoft.NET\Framework\.. and ..\Framework64\.. folders).
  • Unchecked the IIS and .NET features (Control Panel / Windows Features) and then added them back in again.
  • Uninstalled the application in question, cleared everything, then re-installed it.

没有任何帮助.

除了重装整台机器,我还能尝试什么?

Besides reinstalling the entire machine, what else can I try?

此外,除了事件查看器之外,是否还有其他日志可供我查看以获取更多详细信息?我读了一些关于应用程序日志的内容,但不知道在哪里可以找到它?

Also, besides the Event Viewer, are there any other logs I can review to get more details? I read something about an application log, but nothing as to where to find it?

更新:
我刚刚尝试了 user3739842 建议的添加/删除程序,选择 IIS Express,然后 Repair - 问题仍然存在.

Update:
I just tried what user3739842 suggested Add/Remove Programs, selecting IIS Express and then Repair - issue remains.

解决方案
对我来说,解决方案如下(感谢 rusware):

Solution
For me the solution was the following (thanks rusware):

  1. 转到安装 IIS 的驱动器,例如.C:\inetpub\temp\appPools\
  2. 删除与您的应用程序池同名的目录(或虚拟目录).
  3. 再次回收/启动您的应用程序池.

就我而言,它是一个已损坏的虚拟目录.

In my case, it was a virtual directory which was corrupted.

推荐答案

您好,您可以在此处找到问题的答案.它对我有用,同样的错误

Hi the answer to your problem can be found here. It worked for me and same error

无法读取配置文件'试图从文件\\?\"中读取配置数据,行号0".

这篇关于IIS 10.0 AppPool 崩溃(导致 503 错误)的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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