HTTP 404.2-not found "the content of the IIS 7.5 request seems to be a script, so it cannot be processed by a static file handler.
Solution:
UseASPnet_Regiis.exeRegistration.NetFramework
After IIS is re-installed, you need to use ASPnet_Regiis.exeTo register.NetFramework
Run CMD and enter:
C: \ windows \ Microsoft. NET \ framework \ v4.0.30319 \ aspnet_regiis-I
(V4.0.30319 depends on the actual. NET Framework)
After installation, restart IIS.
========================================================== ======================================
HTTP Error 404.2-not found the page you requested cannot be provided due to the "ISAPI and CGI restrictions" list setting on the Web Server
Error details: HTTP Error 404.2-Not found. The requested page cannot be provided due to the "ISAPI and CGI restrictions" list setting on the Web server.
Environment: win7 + iis7.0
Solution: Choose IIS root node> ISAPI and CGI restriction on the right> set the prohibited DOTNET version item to allow.