1. Go to IIS settings, select "Administrative Tools" in Control Panel, and select "Internet Information Services (IIS) Manager" after entering
2. Click "Add" Application pool, select the framework according to the version
3. Add website, right click on website, add, enter website name, physical path, port number, OK
4. Enter http://127.0.0.1:80:8009 in the browser to access the website!
When the Web application was published inside the IIS7, there was a
Win7 IIS7 HTTP error 404.2-not Found This occurs because the framework is installed first, after IIS is installed;
The workaround is to select the IIS root directory, set the ISAPI and CGI restrictions in. Net4 to allow two settings for ASP. NET V4.0. See
Run cmd, input: C:\Windows\Microsoft.NET\Framework\V4.0.30319\aspnet_regiis-i
Note: C:\Windows\Microsoft.NET\Framework\V4.0.30319\ is the corresponding path of netframework installation;
Such as:
After the successful registration, restart IIS, in theory should be able to solve the cause of 404.17 not found most of the problem;
You just need to reinstall it. Programs installed in the Frameworv4.0 directory can be re-run with administrator privileges.
Point Start-run:
%windir%\microsoft.net\framework\v4.0.30319\aspnet_regiis.exe-i
NET Platform 4.0 Publishing Web site process and error summary