加入收藏 | 设为首页 | 会员中心 | 我要投稿 李大同 (https://www.lidatong.com.cn/)- 科技、建站、经验、云计算、5G、大数据,站长网!
当前位置: 首页 > 编程开发 > asp.Net > 正文

asp.net-mvc-4 – 安装Windows 10后尚未注册ASP.NET 4.5

发布时间:2020-12-16 07:20:33 所属栏目:asp.Net 来源:网络整理
导读:升级到 Windows 10后,我开始收到此错误: ASP.NET 4.5 has not been registered on the Web server. You need to manually configure your Web server for ASP.NET 4.5 in order for your site to run correctly. 我搜索了它,发现这个链接ASP.NET 4.5 has no
升级到 Windows 10后,我开始收到此错误:

ASP.NET 4.5 has not been registered on the Web server. You need to
manually configure your Web server for ASP.NET 4.5 in order for your
site to run correctly.

我搜索了它,发现这个链接ASP.NET 4.5 has not been registered on the Web server

我尝试了接受的答案.

不幸的是,在Windows 10上,这不起作用.它会回复:

Microsoft (R) ASP.NET RegIIS version 4.0.30319.0 Administration
utility to install and uninstall ASP.NET on the local machine.
Copyright (C) Microsoft Corporation. All rights reserved. Start
installing ASP.NET (4.0.30319.0). This option is not supported on this
version of the operating system. Administrators should instead
install/uninstall ASP.NET 4.5 with IIS8 using the “Turn Windows
Features On/Off” dialog,the Server Manager management tool,or the
dism.exe command line tool. For more details please see
07001. Finished installing
ASP.NET (4.0.30319.0).

在此之后,我打开了“程序和功能”窗口,点击左侧窗格中的“打开或关闭Windows功能”.

我点击

Internet Information Services -> World Wide Web Services ->
Application Development Features

但我看不到ASP.NET 4.5选项.
我该如何解决这个问题?

解决方法

仅供参考,此错误消息并不会对任何内容产生任何影响,它对您的项目没有任何影响.无论如何,Microsoft已针对所有受影响的Microsoft Visual Studio版本发布了修复程序.

> Visual Studio 2013:下载Visual Studio 2013 Update 5:https://www.microsoft.com/en-us/download/details.aspx?id=48129
> Visual Studio 2012:针对Microsoft Visual Studio 2012解决此问题的更新已发布 – KB3002339,http://support.microsoft.com/kb/3002339.直接下载链接:http://download.microsoft.com/download/A/0/2/A02C37E0-77F7-448A-BD5C-F66AB1F78DBC/VS11-KB3002339.exe
> Visual Studio 2010 SP1:针对Microsoft Visual Studio 2010 SP1解决此问题的更新已发布 – KB3002340,http://support.microsoft.com/kb/3002340.直接下载链接:http://download.microsoft.com/download/6/7/E/67E041A1-00DA-4948-90BE-75A0146C08F5/VS10SP1-KB3002340-x86.exe

希望这可以帮助!

(编辑:李大同)

【声明】本站内容均来自网络,其相关言论仅代表作者个人观点,不代表本站立场。若无意侵犯到您的权利,请及时与联系站长删除相关内容!

    推荐文章
      热点阅读