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

Http error 500.0 - internal server error when generating NDES enrollment challenge password on an NDES server that is running Windows Server 2012

· 52CE 我爱测

Works around an error that occurs when trying to get the NDES enrollment challenge password.

This article helps work around an error that occurs when trying to get the NDES enrollment challenge password.

Original KB number:   2800975

Symptoms

Assume that you install the Network Device Enrollment Service (NDES) role service on a server that is running Windows Server 2012. In this scenario, you receive the following error when trying to get the NDES enrollment challenge password:

Http error 500.0 - internal server error.
the page cannot be displayed because an internal server error has occurred.

Additionally, an event that resembles the following is logged on the server on which the NDES role service is installed:

Log Name: Application
Source: Microsoft-Windows-NetworkDeviceEnrollmentService
Date: date time
Event ID: 2
Task Category: None
Level: Error
Keywords: Classic
User: N/A
Computer: computer name
Description:
The Network Device Enrollment Service cannot be started (0x800700ea). More data is available.

Workaround

A workaround for this issue is to change the order of the handlers for the Microsoft Simple Certificate Enrollment Protocol (MSCEP) applications in IIS so that the ExtensionlessUrlHandler-ISAPI-4.0_64bit handler comes after the StaticFile handler. To do so, you can follow the steps below:

  1. Install and configure NDES (and CEP/CES).
  2. Open IIS.
  3. Select "Default Web Site".
  4. Click "View Applications" in the action panel on the right.
  5. Double-click the mscep application.
  6. Double-click "Handler Mappings".
  7. Click "View Ordered List..." in the action panel.
  8. Select ExtensionlessUrlHandler-ISAPI-4.0_64bit and move it down so it is below StaticFile.
  9. Repeat steps 6-8 for the mscep_admin application.
  10. Restart IIS.

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
适用范围
- Supported versions of Windows Server · Source date 02/12/2026
内容语言
中文;命令、路径和错误标识保留技术原文
本地收录日期
2026-11-15
授权说明
CC BY 4.0 (documentation), MIT (code samples)

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

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