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.