Click "Start--> Control Panel--> program--> turn on or off Windows feature", and then follow the following figure: ( Note: The red part of the picture should be selected )
2 Configuration IIS7
2.1 Authentication Settings
Click: Control Panel--> Program Security--> management tools-->internet Information Services (IIS) Manager, click "Default Web Site" to select "Authentication", and then follow the following figure:
2.2 IIS7 Application pool settings
Click "Default Web Site", select "Advanced Settings" on the right, and "Classic.net AppPool" in the application pool, as shown in the figure:
Set DefaultAppPool and Classic.netapp as started in the application pool, and the managed piping mode is classic.
The status of forms authentication in authentication should be set to disabled. At least Windows authentication, Basic authentication, and anonymous authentication are enabled.
Because the Sitsfactory also uses the. NET2.0 platform, you also need to configure IIS. For example, common error: Install " /Service Program error ", the solution is to click on the Web site's virtual directory to select "Add Application Pool", and then choose Classic.net AppPool do not choose defaultapppool that ( You have set the "piping mode" of these two application pools to "classic" only during the initial IIS configuration. or right-click the "Convert to Application" option.
4 Configure Apache at the same time
If you need to configure asp/asp for IIS at the same time. NET and PHP-enabled Apache environment, the recommended installation order is IIS, Phpnow, SQL Server, Visual Studio. First, although port 80 is used by default when IIS is installed, the port modification of IIS is relatively easy. If you install Phpnow (which is also the default for 80 ports), you may have problems installing IIS, and secondly, phpnow to be installed in front of SQL Server, otherwise the port will be occupied (typically PID 4 sql) Service takes up 80 ports and is cumbersome to change; SQL Server must also be installed in front of Visual Studio and has had a profound lesson before