Win7 and win2008 R2 configure IIS7 (asp.net run environment) _win Server

Source: Internet
Author: User

1, first set the application pool (ApplicationPool) for the Classic.netapppool, rather than the default DefaultAppPool, can be in the site directory for each site settings, you can also set up a separate site.

Control Panel-System and security-Administrative Tools--internet Information Services (IIS) Manager, open IIS Manager. Select the Default Web site on the left, and click the Advanced setting on the right to set the application pool to Classic.netapppool.

2, select the "Application Pool" on the left, select "Classic.netapppool", click on the advanced settings on the right to change the logo

For LocalSystem or NetworkService.

3, select the Default Web site, click on the basic settings on the right, click "Connect as", select "Specific users", click the settings, enter the system user name password.

It must be used here.

The login name and password for the operating system,

Or

Access Denied

Hard disk partitions.

4,

Control Panel--> Management tools-->internet Information Services (IIS) Manager program


After you open Internet Information Services (IIS) Manager, in the lower part of the middle section, you can see the authentication configuration entry, which is the following interface:

Several additional authentication increases when IIS is installed, and needs to be enabled on the site to be debugged.


Note: The site to be debugged, not the application directory to debug!


In the corresponding IIS application pool, set application pool default properties/General/enable 32-bit applications, set to True.

This setting is very important------this is what I found. Oh, little happy, hehe

Installation
Go to control surface-programs and functions-turn Windows features on or off-internet information Services-Select the items you want to install
-----------------
1, first set the application pool (ApplicationPool) for the Classic.netapppool, rather than the default DefaultAppPool, can be in the site directory for each site settings, you can also set up a separate site.

Control Panel-System and security-Administrative Tools--internet Information Services (IIS) Manager, open IIS Manager. Select the Default Web site on the left, and click the Advanced setting on the right to set the application pool to Classic.netapppool.

2, select "Application Pool" on the left, select "Classic.netapppool", and click the Advanced setting on the right to change the identity to LocalSystem or NetworkService.

3, select the Default Web site, click on the basic settings on the right, click "Connect as", select "Specific users", click the settings, enter the system user name password. You must use the operating system's login name and password, otherwise you will not have access to the hard disk partition.

4, Control Panel--> management tools-->internet Information Services (IIS) Manager program found
After you open Internet Information Services (IIS) Manager, in the lower part of the middle section, you can see the authentication configuration entry, which is the following interface:

Several additional authentication additions to IIS need to be enabled on the site that you want to debug.
Note: The site to be debugged, not the application directory to debug!

-------------------

Select Default Web Site and double-click the ASP option.

IIS7 ASP Parent path is not enabled, to open the parent path, select True, fix the parent path option

Click the default document to set the default document for the Web site.
---------------
Seven let the same LAN inside people can also access their own computer Web site.
1, select: Start---All programs---administrative Tools---advanced security Windows Firewall. (Some computers may not have "administrative tools" in all programs; you can start----the right mouse click---properties---customize---find system management tools; Select "Show on All Programs menu"; so that there are administrative tools in all programs)
2. In the left column of the Advanced Security Windows firewall, select "Inbound Rules".
3, select "New rule" in the right column.
4, in the pop-up window select: Select the port---Next---Select TCP and a specific local port, fill in the port number to open (fill in 80 If you can also choose to open all ports)---Next---Check the Allow connection---Next---Select all options---Next---fill in the name (here in IIS)
---complete. After that, the person who is on the same LAN as you can access the website on your computer;

-------------Win7 vs 2003 project creation and operation is not a problem---------------

1.Download. NET Fx 1.1 from http://www.microsoft.com/downloads/details.aspx?familyid= A8f5654f-088e-40b2-bbdb-a83353618b38&displaylang=en
2.Download. NET Fx 1.1 SP1 from http://www.microsoft.com/ Downloads/details.aspx?familyid=a8f5654f-088e-40b2-bbdb-a83353618b38&displaylang=en
3.Install both of them
4.Allow asp.net 1.1 in the isapi/cgi restrictions
5.Make sure your run your application pool in a 32-bit mode + V 1.1 + Classic Mode

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.