症状
在 Windows Server 2012 R2 上安装 SharePoint Server 2016 (KB 5002385 和 KB 5002370) 2023 年 4 月 11 日更新后,然后通过 SharePoint 产品配置向导或 Upgrade-SPFarm PowerShell cmdlet 执行 SharePoint 升级操作后,可能会遇到以下问题:
-
“HTTP 错误 503。 浏览到 SharePoint 网站时出现服务不可用“错误。
-
SharePoint 使用的 Internet Information Services (IIS) 应用程序池无法启动。 这会影响所有 SharePoint Web 应用程序,包括内容 Web 应用程序、SharePoint 管理中心 Web 应用程序和 SharePoint Web Services 网站。
-
在 Windows 事件日志的应用程序日志中,事件 ID 2280 从 IIS-W3SVC-WP 源记录,并具有以下说明:
无法加载模块 DLL <%CommonProgramFiles%>\Microsoft Shared\Web Server Extensions\16\isapi\sprequestfilteringmodule.dll。 数据是错误。
原因
SharePoint Server 2016 的 2023 年 4 月 11 日更新引入了 Windows 反恶意软件扫描接口 (AMSI) 集成,以帮助保护 SharePoint 终结点免受潜在的恶意 Web 请求的影响。 AMSI 集成是通过在安装 2023 年 4 月 11 日更新后运行以下任一项时执行的升级操作在 IIS 中注册的:
-
SharePoint 产品配置向导 (PSConfigUI.exe)
-
psconfig.exe -cmd upgrade -inplace b2b
-
Upgrade-SPFarm
出现此问题的原因是 AMSI 集成与 Windows Server 2012 R2 不兼容。 因此,当 IIS 尝试加载托管 AMSI 集成功能的 sprequestfilteringmodule DLL 时,它将失败。
解决方案
若要解决此问题,请安装 SharePoint Enterprise Server 2016 安全更新说明:2023 年 6 月 13 日 (KB5002404)。