在 IIS 中浏览网站时出现错误

Getting error when browse the website in IIS

我在 IIS 上有网站,当我浏览时出现此错误- HTTP 错误 404.3 - 未找到

由于扩展程序配置,无法提供您请求的页面。如果页面是脚本,请添加处理程序。如果要下载文件,请添加 MIME 映射。

有人告诉我注册 asp.net 但当我在 cmd 中 运行 下面的命令时出现此错误。

c:\Windows\Microsoft.NET\Framework64\v4.0.30319>aspnet_regiis -i



This option is not supported on this version of the operating system.  Administr
ators should instead install/uninstall ASP.NET 4.5 with IIS8 using the "Turn Win
dows Features On/Off" dialog,  the Server Manager management tool, or the dism.e
xe command line tool.  For more details please see http://go.microsoft.com/fwlin
k/?LinkID=216771.

谁能帮我解决这个问题?

您缺少 .NET Framework 4.5 版本。试试这个解决方案:https://support.microsoft.com/pt-br/help/2736284/how-to-install-asp.net-4.5-on-windows-8-and-windows-server-2012