This article will introduce you to how to configure and install the iis7 environment in win7. I configured this environment so that my asp.net can be executed. If you have any need to know about it, please do not refer to it.1. Install IIS7Choose Start> Control Panel> program> open or Disable Windows, and then follow the steps below: (Note: select the red part in the figure)2. Configure IIS72.1 Authentication SettingsChoose Control Panel> program Security> Administrative Tools> Internet Information Service (IIS) manager, click "Default Web Site", select "authentication", and then follow the steps below:2.2 IIS7 application pool settingsClick "Default Web Site", select "Advanced Settings" on the right, and select "Classic. NET AppPool" in "application pool ",:3. Other configurationsSet defaultapppool and classic. netapp to started in the application pool, and the managed pipeline mode is classic. In authentication, the status of Forms authentication should be set to disabled ". At least "Windows Authentication", "Basic Authentication", and "Anonymous Authentication" must be enabled ". Because convenient SitsFactory also uses the. NET2.0 platform, you also need to configure IIS. For example, a common error occurs: "/service program error" occurs during installation. The solution is to right-click the virtual directory of the website and choose "add application pool", and then select "Classic. NET AppPool, do not select defaappapppool (unless you have set the "pipeline mode" of the two application pools to "classic" in the initial IIS configuration process). Or right-click and select "convert to application ".4. Configure ApacheIf you need to configure ASP/ASP. NET of IIS and Apache environment that supports PHP at the same time, we recommend that you install IIS, Phpnow, SQL Server, and Visual Studio in sequence. First, although port 80 is used by default during IIS installation, it is easier to modify the IIS port. If PHPNOW is installed first (which also occupies port 80 by default) and IIS is installed, some problems may occur. Secondly, PHPNOW must be installed before SQL SERVER, otherwise, the port usage may occur (generally, SQL REPORT SERVICE with pid 4 occupies port 80, which is troublesome to change ); SQL SERVER must be installed before Visual Studio. It has had profound lessons.