简体   繁体   English

无 ASP.NET 功能如图 IIS 7.5

[英]No ASP.NET features shown in IIS 7.5

I'm having an issue in IIS 7.5 where the ASP.NET feature section isn't showing on my web application.我在 IIS 7.5 中遇到问题,其中 ASP.NET 功能部分未显示在我的 web 应用程序中。

My environment: Windows 2008 R2 SP1, IIS 7.5 (7.5.7600), .NET Framework 4.0我的环境:Windows 2008 R2 SP1, IIS 7.5 (7.5.7600), .NET Framework 4.0

My issue is similar to the issue posted here: No asp.net features on IIS 7.5 , only my environment is different.我的问题类似于此处发布的问题: No asp.net features on IIS 7.5 ,只是我的环境不同。 The 'add features' fix mentioned in that post doesn't appear to work in Windows Server 2008, as I'm not seeing a simple "ASP.NET" feature that can be selected.该帖子中提到的“添加功能”修复似乎在 Windows Server 2008 中不起作用,因为我没有看到可以选择的简单“ASP.NET”功能。

I tried running the as.net_regiis tool as administrator against .NET 4.0 with no luck.我尝试以管理员身份针对 .NET 4.0 运行 as.net_regiis 工具,但没有成功。 The application pool selected for the web application is currently configured to use .NET 4.0.为 web 应用程序选择的应用程序池当前配置为使用 .NET 4.0。 This application is functional, so I'm assuming that .NET 4.0 is installed correctly, but I'd like to be able to configure a few more things that are in the ASP.NET section.此应用程序可以正常运行,因此我假设 .NET 4.0 已正确安装,但我希望能够配置 ASP.NET 部分中的更多内容。

尝试角色>右键单击Web服务器(IIS)>添加角色服务>应用程序开发以打开IIS中的ASP.Net功能

The UI is a bit different in the newer versions of Windows Server. 在较新版本的Windows Server中,UI略有不同。 Here is where you have to enable ASP.Net in order to get it working on IIS 这是您必须启用ASP.Net才能使其在IIS上运行的地方

如何修复IIS ASP.Net错误

The same issue but in a developer machine it may solve:同样的问题,但在开发机器中它可能会解决:

Windows Features - Inte.net Information Services - World Wide Web Services - Application Development Features - ASP.NET 3.5 + ASP.NET 4.8

在此处输入图像描述

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM