简体   繁体   中英

Getting error when browse the website in IIS

I have website on IIS and when I browse I get this error- HTTP Error 404.3 - Not Found

The page you are requesting cannot be served because of the extension configuration. If the page is a script, add a handler. If the file should be downloaded, add a MIME map.

Someone told me register asp.net but I get this error when I run this below command in 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.

Can anyone help me to solve this?

You are missing the 4.5 version of the .NET Framework. Try this solution: https://support.microsoft.com/pt-br/help/2736284/how-to-install-asp.net-4.5-on-windows-8-and-windows-server-2012

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

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