NET Platform 4.0 Publishing Web site process and error summary

Source: Internet
Author: User

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

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.