Win7 in the flagship edition of IIS configuration asp.net the running Environment Configuration tutorial (tutorial + video) _win server

Source: Internet
Author: User

Have done many times before, have no success, did not know how to succeed last night, borrow my classmate's word, this is called "flash", Nonsense said, this success is there is a video of the Truth ha!

This blog post is three months, I think it is very detailed, but still a lot of people did not configure it (every day in the group asked me how to configure), so today deliberately recorded as a video for your reference. Specifically stated: This is configured asp.net run bad, not asp,asp and asp.net are different. asp.net if the configuration can not be asked, ASP even, I do not understand ASP Oh! Can't help you out.

IIS configuration in the Win7 flagship asp.net video download address: Video Tutorials Download

First, click on the lower left corner of the computer "start", and then click "Control Panel", the following figure:

Second, click the "Control Panel" after the following figure:

Third, double click "Program and Function", enter the following figure:

Four, click on the Red line, enter the following figure:

If you want to debug a site, you must have Windows Authentication Digest authentication to use a Windows domain controller to authenticate users who request access to the content on the WEB server by using the features selected above, VS2005. Basic authentication requires a user to provide a valid username and password to access content. To debug asp.net, of course, install the IIS support asp.net components. When you have chosen, click OK and wait for him to install it well.

After installing the components, please reboot the computer.

After the reboot, we start to configure the IIS7---We continue to open the Control Panel to find "Administrative tools" look at the image below.

Seven, the point "management tools", into the following figure:

Click the IIS Manager in the Red box to enter the following image:

Nine, right hit 1, and then click 2 "Add a site, the following figure:

Ten, and then pop up the window as shown below:

This is how I fill in:

Xi. Click OK, if you have already added several websites, please delete (do not delete also can, please follow this step to do) that several sites start from the beginning, want to not pop up the window shown below:

(If you delete those sites and start from scratch, skip to the " above or configure the IIS environment," I began to configure asp.net environment!) otherwise please click "Yes", then right click on the other website, click "Manage Website", then click "Stop", and then right click on the website you just added, as before, click "Manage Website", then click "Start":

The above is just configured the IIS environment, below we start to configure ASP.net environment!

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 (that is, "Default Web Site") on the left, and click the Advanced setting on the right to set the application pool to Classic.netapppool.

Click OK, and then click OK to close both pop-up windows.

2, click on the left side of the "Application pool"

The middle will appear as shown in the following illustration:

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 do not have access to the hard disk partition.

Select a specific user, and then click the settings, as shown in the following figure:

The username here refers to:

The user name here is your account.

Click Management to enter the following:

Click New user to add a new user

Click Create, then right-click the user name you just added.

Click Properties,

We can see that he only has access to users, which is definitely not possible, and we'll give him an administrator's permission:

In fact, you can also look at your usual login system of the user's permissions, if not the administrator, please give him the administrator to add permissions, and then in the IIS configuration to enter this has Administrator rights username and password can be.

Computer name, such as my machine called LTP, password is you log on Windows password, the correct input, click OK, click OK, back to the following:

Click "Test Settings" to appear as follows:

Then close this, and then click OK.

4, Control Panel--> management tools-->internet Information Services (IIS) Manager program to find the open Internet Information Services (IIS) Manager, in the lower part of the middle section, you can see the authentication configuration items, double-click 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!

5. Set the default Start page, double-click "Default Document", and click "Add" below "action" as shown in the following image:

Now that the configuration is over, look at the effect chart!

If you are afraid of your own program, please download my simple example as shown in the above picture!

Download Address: Website1.rar

I wish you success, ha! If it is helpful to you, please do not skimp on your "good text to the top" to help more people Oh! This article has spent 4 hours of careful design oh.

Reprint to Dream, link address: http://www.cnblogs.com/koeltp/archive/2012/02/08/2343394.html#

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.