2016-03-04 61 views
3

升級到Windows 10後,我開始收到此錯誤:ASP.NET 4.5還沒有安裝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 http://go.microsoft.com/fwlink/?LinkID=216771 . Finished installing ASP.NET (4.0.30319.0).

這個我打開程序和功能窗口,打在左窗格中「啓用Windows功能打開或關閉」之後。

我點擊

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

但我看不出有ASP.NET 4.5的選項。 我該如何解決這個問題?

回答

6

僅供參考,此錯誤消息不會影響任何內容,它對您的項目沒有影響。無論如何,微軟已經發布了所有受影響版本的Microsoft Visual Studio修補程序。

希望這有助於!

+0

在Windows 10上使用Visual Studio 2012出現此問題,並且可以確認KB更新確實可以解決該問題 –