Windows server2008 IIS 7 installation Deployment and Web site deployment complete steps

Source: Internet
Author: User
windows2008 under the IIS7 installation deployment, Web site configuration, not very skilled, every time Google.

Follow up with a complete step to use

1) IIS7 Installation:

IIS7 is not installed after the default system is loaded. You need to add new roles in Computer Management.

Figure:

Click Add Role, select Web Server (IIS7)

2), ASP.net 4.0 support

After the default installation of IIS7, ASP.net 2.0 is supported. But if you follow the framework 4.0, the Iis7asp.net 4.0 in the installation will be an error.

Errors are generally:

Run cmd, enter:
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;
If it is a 64-bit server, you need to go to C:\Windows\Microsoft.NET\Framework64\v4.0.30319 for installation ~!
The following figure:
In this way, you can generally resolve this error:
Errore HTTP 404.2-not Found "The content requested by IIS 7.5 appears to be a script and therefore cannot be handled by a static file handler
3), ISAPI and CGI limitations issues
This error occurs because asp.net4.0 support is not enabled in the ISAPI and CGI restrictions after installing asp.net4.0.
Verbose error: HTTP error 404.2-not Found. The page you requested cannot be supplied because of the ISAPI and CGI Restrictions list settings on the WEB server.
Appearance environment: Win7 + IIS7.0
Workaround: The IIS root node-> the right "ISAPI and CGI restrictions"-> to set the prohibited Dotnet version entry to allow.

4), default page settings:
Site deployment and IIS6 are similar. Setting the default page is not the same as IIS6.
1. In the functional view, IIS-> the default document
2. Point add, enter your page (how to folder, also to enter together).
3. Then, right click on your page and click Enable.
Note: If you delete this default page in the file system, IIS7 will also delete your settings in the default document!
5), HTTP error 500.19-internal Server error Error
1, IIS and VS installation sequence caused the problem.
Solution: If you install IIS after VS, simply re-register the ASPNET, as follows
1 open to run, enter cmd into the command Prompt window.
2 into the C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727 directory.
3 input Aspnet_regiis.exe–i execution can be noted: if the system is a 64-bit second step path for C:\WINDOWS\Microsoft.NET\Framework64\v2.0.50727
2, net2.0 version of the program appears this error.

Workaround:
HTTP Error 500.22-internal Server error may also be reported
Detects asp.net settings that are not applicable in integrated managed piping mode.
Turn on IIS, select the basic settings in the right operation, click Next to the application pool, choose Classic. NET AppPool, and switch the admin mode to Classic mode OK.
3, the issue of permissions caused.
The original folder, right-click to select its properties, open the Security tab, see "Group or User name", click the Edit button to add a new username "Everyone", and then change its permissions, and set the second permission "modify" to allow
The problem I've encountered is due to permission problems. Win7 has a higher level of privilege.
If your files are on the desktop, you need to set everyone's read and write permissions.
Related Article

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.