IIS6.0 the "Server application is not available" error resolution after you add the. net4.0 on the previous. NET System

Source: Internet
Author: User

VS2010 developed the website. net4.0 deployed to Windows Server 2003 servers, Windows Server 2003 operating system comes with IIS 6.0 ,IIS 6.0 generally only supports . NET 2.0 programs, which requires that IIS 6.0 on the configuration server achieve the purpose of supporting . NET 4.0 . On the Internet to find some articles, for everyone to consult and reference, mainly has the following several steps:

First, upgrade the. NET Framework to 4.0

If the server already has VS2010installed, it already contains the . NET 4.0 frameworkinstalled, otherwise you will need to install the . NET 4.0 frameworkseparately, Microsoft Official http ://www.microsoft.com/zh-cn/download/details.aspx?id=17718, if you are a development system of course no problem, old already installed 4.0 framework, If this is the server, we have to tidy up the IIS6.

Ii. Configuring IIS 6.0

Follow the normal operation to put the Web site into the IIS6.0 virtual directory, but will find or not access, then also need the following configuration:

1. Allow Web Service Extensions

Find the web service extension, find the ASP. NET v4.0.30319 entry, confirm that it is allowed, if it is disabled to open it, by default is forbidden, it was because this part is not set up to toss the most of the day, as shown:

2. Select the ASP version

Open IIS 6.0, right-click the new web site → properties →asp . NET version, select 4.0.30319as follows:

3. Application mapping (whether this step needs to be set in doubt)

Right click on new website → properties → home directory → config → wildcard insert, executable file Select C:/windows/microsoft.net/framework/v4.0.30319/aspnet_isapi.dll, remove "Confirm file exists", click OK, As shown in the following:

Iii. Possible problems (friendly tip: attention to this issue)

As shown in the error message "Server Application Unavailable" appears, review the System application log as follows:

Error message: It is notpossible to run different versions of ASP. The same IIS Process:iis

Workaround:

Create different applicationpool for different framework applications. Different versions of the site (including the virtual directory, because it also uses application pool), with a different application pool, that is, a new one for. net4.0 to Application Pool is a template for application pools. Net4.0, and then modify the properties of the site, such as the application pool. The Net4.0 is OK.

In fact, if we install the server IIS7.5 or 8.0 will not be so troublesome, each time you create a Web site will generate a single application pool. After all, the server is still a lot of IIS6.0, but there are solutions.

IIS6.0 the "Server application is not available" error resolution after you add the. net4.0 on the previous. NET System

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.