Yesterday, my colleague set up an ASP. the website of net 4.0 is installed on the client's IIS6 host, they once thought that the customer's host did not know that the customer had been busy (because many people are sharing the administrator privilege) the product rejects security protection on the customer's host and "why should we use ASP. "net 4", but with the efforts of a group of people, it is still difficult to overcome the difficulties at the end. Therefore, I would like to comment on it, I believe other people may encounter these problems.
To publish an ASP. NET 4.0 website, you must first install Microsoft. NET Framework 4
Before installing the software, you must confirm that your production system version is in the supported production environment:
- Windows XP SP3
- Windows Server 2003 sp2
- Windows Vista SP1 (inclusive) Versions later
- Windows Server 2008 (not supported by server core roles)
- Windows 7
- Windows Server 2008 R2 (not supported by server core roles)
FAQ1: SetWebsiteOfASP. NETASP. NET 4.0 selections cannot be found during initial deployment.
Note: If you only have security protection. net Framework client profile does not support ASP... NET Framework 4 (install the Security Program.
Normally, As long as Windows Server 2003 has already installed IIS and then installed Microsoft. NET Framework 4 on IIS 6.0WebsiteOfASP. NETOptional values:
FAQ2: After installing. Net 4, the settings still cannot be found.WebsiteOfASP. NETOptional values of ASP. NET 4.0 for zookeeper
This problem usually occurs when you install Microsoft. NET Framework 4 before installing IIS6. At this time, you must enter the following command to import ASP. NET 4.0 into IIS6:
C: \ windows \ Microsoft. NET \ framework \ v4.0.30319 \ aspnet_regiis.exe-ir-enable
FAQ3: Set the setting for installing. Net 4.WebsiteThe selection of ASP. NET 4.0 still cannot access the website.
There is no way to access the website here. In fact, all the links in the website will appear.This region cannot be found (HTTP Response errors 404-No response case or project found is found) response, no matter how you set the object security or any limit on access permission, you cannot access any ASP.. Net program, and only the response surface can be retrieved. For example, it is easy for IT staff to understand the general response information as follows:
If you want to install ASP. net MVC. If you set the "Login character application", you will find that all website faces, including zookeeper response.This region cannot be found !
The cause of this issue is that IIS6 blocks the attacker line of the C: \ Windows \ microsoft.net \ framework \ v4.0.30319 \ aspnet_isapi.dll program, because all requests sent to the ISAPI handler will be rejected, the result of HTTP 404 Not found will be returned for all HTTP requests.
The solution is very simple, as long [Extension of WebSite ServicesTo set ASP. NET v4.0.30319 [Xu] As shown in the following figure:
FAQ4: The website of ASP. NET 4.0 has been set up and can be properly renewed, but it will be deleted for some time!
If you are in the sameApplication Programming ZoneSet two different versions of ASP. net will cause this problem. For example, you have an ASP.. NET 2.0 platform, and the Set Application zone is defaappapppool. However, you have added an ASP. net 4.0 platform, and the application set area of the login device is in the defaappapppool, at this time, we will see which platform is first taken up, and the platform that runs first will be directed to all rights, the following response will generate the server application unavailable or the server application cannot use the following response:
There are two solutions:
- Shared application ZoneWebsite OrWebsite application(Why?)Set to ASP. NET v4.0.30319
- Zones are divided into two different application zones