How do I set up IIS7 to support ASP?

Source: Internet
Author: User
Tags iis net new features
Iis

Vista system iis7.0, there are a lot of new features refreshing, here let's see how IIS7 continues to support the ASP.

1, how to install IIS7?

Vista defaults to the case is not installed IIS7, so we want to "control Panel" inside the "program and function" inside click "Turn on or off Windows features," in the corresponding IIS function hook, Friendship prompts you, if you want to IIS7 run ASP.net 1.1 program, You need to select these options for IIS6 compatibility.


Control Panel-turn Windows features on or off

2. How to configure iis7.0

For asp.net2.0, everything is simpler, because IIS7 is by default the asp.net2.0 program, just need to rebuild an application pool, choose the. Net Framework version 2.0, managed pipes by the way: Classic. This should be OK.

For ASP.net 1.1来 said, it's going to be a lot more complicated, because IIS7 is usually installed after the. NET FrameWork 1.1, so use:%windir%\microsoft.net\framework\v1.1.4322\aspnet_ Regiis-i to register your. NET FrameWork 1.1, but this time when you look at your site, as soon as you run the ASP.net page, IIS hangs up, and then, after a lot of practice and search can be very responsible to tell you that you did not install. Net FrameWork 1.1 SP1. After loading these, and then in the pool with the corresponding application pool, and then set up the site, everything OK.

Next, let's talk about ASP settings, as a classic web framework, sometimes still have to put some of the ASP page on their own machine to see, so let's let IIS7 support asp: First of all to see if the installation of ASP support, or in the "Turn on or off Windows features" inside, The World Wide Web service under IIS, application development function to check the corresponding items, at this time the site has an ASP option out, in the program map of IIS will have Aspclassic, the default should be disabled, this time to edit the run permissions, it enabled. If this is not yet viewable, it should be permissions or not enough, you can modify it in the following ways: Under the C:\Users\Default\AppData\Local of the temp plus the permissions of Users.



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.