大网数据广告活动
启动与系统组件

Login errors when installing the web console

· 52CE 我爱测

Describes how to work around an issue in which host header or IP address binding causes web console login errors in System Center Operations Manager version 1801, 1807, 2019, or 2022.

This article helps you work around an issue where you receive login errors when installing the web console in System Center Operations Manager version 1801, 1807, 2019, or 2022.

Original product version:   System Center Operations Manager
Original KB number:   4469591

Symptoms

When you install the web console in System Center Operations Manager, you receive the following error message when you select the Use Windows Authentication sign-in option:

The user credentials are invalid or user does not have permissions...

If you instead select the Use Alternate Credentials sign-in option, you receive the following error message after you enter credentials in the form:

The remote server returned an error: (404) Not Found.

Cause

This problem can occur when you configure a specific IP address or host header in the bindings of the web console website.

The problem occurs because web console consists of two separate web applications, OperationsManager and MonitoringView. Both web applications run as virtual directories under the same website. During login, the OperationsManager application makes an outbound request to the MonitoringView application's Login.aspx page. The hostname in this request is hard-coded as localhost. If the website has a host header or isn't bound to the loopback address, the site can't service the localhost request. Therefore, the site returns the 404 message.

Workaround

If you bind the web console website to a specific IP address or use a host header, create additional bindings on the website for the same ports by using the loopback address or the localhost hostname, depending on the scenario.

Specifically, assume that you configure the following HTTP and HTTPS bindings:

Type IP address Port Host name
HTTP <specific IP address> 80
HTTPS <specific IP address> 443

In the above bindings, host name is left blank.

In this scenario, you also must configure the following two bindings:

Type IP address Port Host name
HTTP [::1] 80
HTTPS [::1] 443

Note: Recent Windows versions use [::1] for the loopback address by default. If you have disabled IPv6 by using the DisabledComponents registry value, use 127.0.0.1 in the binding.

Additionally, assume that you configure the following HTTP and HTTPS bindings:

Type IP address Port Host name
HTTP All unassigned 80 <host name>
HTTPS All unassigned 443 <host name>

In the above bindings, <host name> is the DNS name of the web server.

In this scenario, you also must configure the following two bindings:

Type IP address Port Host name
HTTP All unassigned 80 localhost
HTTPS All unassigned 443 localhost

Source: Microsoft Learn / IT Pro troubleshooting by Microsoft and contributors. Documentation licensed CC BY 4.0. Code samples are covered by the MIT License. Converted from Markdown, with links normalized and embedded media omitted.

资料来源与适用范围

资料来源
Microsoft Learn / IT Pro troubleshooting
适用范围
See source applicability · Source date 04/15/2024
内容语言
中文;命令、路径和错误标识保留技术原文
本地收录日期
2026-11-15
授权说明
CC BY 4.0 (documentation), MIT (code samples)

正文与所需资源由本站本地存储。查看来源及更新记录 ↗

请按适用版本和实际日志确认原因;本站没有对每一种系统或设备逐项执行文中的操作。