IIS应用程序池登录凭据停止.net Core

问题描述 投票:1回答:1

我有一个专用的服务帐户,用于在IIS8上运行我的应用程序池的标识。但是,应用程序池立即失败,并显示WAS登录错误。

我正在使用最新的.net核心3.1 MVC应用程序,只是基本的weatherforcaster示例:

Log Name:      System
Source:        Microsoft-Windows-WAS
Date:          13/03/2020 11:42:27
Event ID:      5021
Task Category: None
Level:         Warning
Keywords:      Classic
User:          N/A
Computer:      **********************
Description:
The description for Event ID 5021 from source Microsoft-Windows-WAS cannot be found. Either the component that raises this event is not installed on your local computer or the installation is corrupted. You can install or repair the component on the local computer.

我希望我能更具描述性,但我们授予了专用用户“服务帐户”权限,该权限短暂运行后突然停止。基础结构提供了最大级别的权限,但是仍然出现错误。

SDK模块版本为3.1.2

更新

设法证明这与.net没有关系,我上传了一个静态html文件,但IIS仍然出错。

亲切的问候,

asp.net-mvc iis .net-core iis-8 asp.net-core-3.1
1个回答
1
投票

找到了以下文章:https://social.technet.microsoft.com/wiki/contents/articles/51723.sp2016-application-pool-issue.aspx

结果是我需要向IIS_IUSRS添加批处理登录权限,并且服务帐户也需要作为服务权限登录。

文章建议解决:

啊,检查本地安全策略,本地策略和用户分配,您会发现“以批处理身份登录”的策略,您的应用程序帐户的身份需要在下面列出。更新政策后,重新输入应用程序池的身份并执行IISReset将很有帮助。

© www.soinside.com 2019 - 2024. All rights reserved.