Install IIS7.0 and VS2010 ASP under Win7. NET Program Web site problem

Source: Internet
Author: User
By default, IIS is not installed automatically when Windows7 is installed, and can only be installed manually.
1. Install IIS
Start-Control Panel-Programs-turn Windows features on or off
2. If the figure chooses to install
VS2005, if you want to debug a site, you must have Windows authentication
Digest authentication is the use of Windows domain controllers for requesting access to Web
2, double-click the inside page
3, configure the default Web site
4, fill in the physical path, application pool, click OK:
The IIS application pool is divided into two types based on the managed piping pattern: integration and Classic
In integrated. NET mode, applications should not be in the <system.web>/
The ASP.net module component is specified in the configuration section, and the ASP.net module component should be loaded using the <system.webServer>/<modules> configuration section.
The classic. NET pattern is the way we used to be in IIS 6 without the above restrictions.

<script language= "Web Effects" type= "Text/javascript" src= "
Second, there is now a menu of options for installing Windows features, attention to selected items,
We need to manually select the required features, the following picture of the need to install the service has been selected, you can follow the picture check function.
Third, after the installation completes, enters the control panel again, chooses "the management tool",
When you enter, double-click the Internet (IIS) manager option to enter IIS settings.
(Note that the Internet (IIS) Manager is not the Internet (IIS) 6.0 manager,
As for what the difference, I have not tried, if you are free to try it.
Four, now go to the control Panel of IIS.
Select the Default Web Site on the left small window,
If not, click XXXXXX-PC (computer model) to see the default Web Site,
Then double-hit the "ASP" option that appears in the window.
Six, the ASP "Parent path" in IIS is not enabled, to open the parent path, select True, and fix the parent path option.
Seven, configure the IIS site. If you click the Advanced Settings option on the right, you can set the directory of the Web site (preferably under the root of a particular letter).
Click on the right side of the "binding" to set the site's port. (As for the port I don't know how much,
May as well follow the picture to use 8081, this port is correct anyway, I set the port is also 8081)
Click "Default Document" to set the default document for the site. (It's best to follow the picture, pay attention to the upper and lower order)
at this point, Win7 's flagship IIS settings have been basically completed and the Asp+access program can be debugged successfully.

Place the Web site under the specified letter, and then enter http://localhost:8081 into the address bar,
to see your own web site when you press ENTER.
  II, problems that you encounter:
    1, first confirm the login computer Whether the user has the highest permissions, if not, should click on the "computer-management-Local Users and Groups"  , click on the right "administrator" username, right Select "Properties", remove the "general-account has been disabled" before the selection, click OK.
    2, browsing the Web times wrong: HTTP error 500.22-internal Server error  detects asp.net set that is not applicable in integrated managed piping mode Reset
      Workaround: in the IIS Admin Control Panel, click Application Pool, and in the Managed Piping mode option on the right, the default value in tegrated (integration), we modify it to Classic (classic), you can.
    3, in the option "Default Web Site", there is no asp,asp. NET page, Workaround: You need to select all the options when you install IIS.
    4, set the Start page, and click "Default Document" to set the Start page.

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.