大网数据广告活动
Web服务器与PHP

ASP.NET 2.0 and 3.5 not working

· 52CE 我爱测

This article describes an issue in which uninstalling ASP.NET 4.5 from Windows 8 or Windows Server 2012 causes ASP.NET 2.0 and ASP.NET 3.5 to not work.

This article helps you resolve the problem where uninstalling ASP.NET 4.5 from Windows 8 or Windows Server 2012 causes ASP.NET 2.0 and ASP.NET 3.5 not working.

Original product version:   Windows Server 2012, Hyper-V Server 2012, .NET Framework 4.5
Original KB number:   2748719

Symptoms

ASP.NET 2.0 and ASP.NET 3.5 require the ASP.NET 4.5 feature to be enabled on a computer that is running Windows 8 or Windows Server 2012. If you remove or disable ASP.NET 4.5, then all ASP.NET 2.0 and ASP.NET 3.5 applications on the computer will not run.

Resolution

To enable the ASP.NET 4.5 feature in Windows 8 or 8.1, follow these steps:

  1. Press the Windows logo key, type control panel, and then click the Control Panel icon.

    [!NOTE] If you are not using a keyboard, swipe in from the right edge of the screen, tap Search, type control panel in the search box, and then tap the displayed Control Panel icon.

  2. Click Programs, and then click Turn Windows features on or off.

  3. Expand .NET Framework 4.5 Advanced Services.

  4. Select the ASP.NET 4.5 check box.

  5. Click OK.

More information

For more information about how to enable the ASP.NET 4.5 feature on Windows Server 2012, see IIS 8.0 using ASP.NET 3.5 and ASP.NET 4.5.

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/07/2020
内容语言
中文;命令、路径和错误标识保留技术原文
本地收录日期
2026-11-15
授权说明
CC BY 4.0 (documentation), MIT (code samples)

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

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