1. In the Control Panel, programs and features-click on the left to open or close Windows features, in the Pop-up dialog box, the Internet Information Services and Inter Informatin Service can be hosted Web core two items including the inside of the hook
2. In the Control Panel, click Administrative Tools, open Internet Information Services (IIS) Manager, create a new app connection pool, where the connection pool is set to classic, version net4.0 (my own general version), the advanced settings will enable 32 for the application set to True,
3. Select the Web site, in the features view on the right, double-click ASP under IIS to set the Enable parent path to True
4. Deploy the Web site under the application pool
And then you might get an error after the program runs.
Error Description: The requested content appears to be a script and therefore cannot be handled by a static file handler
Workaround: C:\Windows\Microsoft.NET\Framework\v4.0.30319\aspnet_regiis-i
If you run the error message "The page you requested cannot be provided because of the ISAPI and CGI Restrictions list setting on the WEB server", you may be able to resolve it as follows:
IIS root node, right, ISAPI and CGI restrictions, set the Forbidden Dotnet version entry to allow
The machine can then run the page directly to access the
However, it is found that other machines do not have access to the Web site on this machine, this time need to change the firewall, the following steps:
Control Panel, click on Windows Firewall, click Advanced Settings on the left, in the popup interface, right-click on the inbound rules to create a new inbound rule,
A. Rule type: Select Port-tcp, enter 80,B in a specific port. Operation, allow connection, C. config file, three are checked on. D. Enter IIS in the name
The site is also accessible to other machines in the local area network at this time.
Configure IIS on the local Win7 to allow LAN access