in the VS Publishing Site, IIS browsing the site always encountered a variety of problems caused the browsing failure, but finally one by one solved, the following is my summary of the VS publishing Site, IIS deployment to browse the site, I hope to help you.
A. First of all must be as an administrator to open vs, here with VS2010, followed by a new web site, compile can run, and then right-click on the site name, select Publishing Site, the publishing site process is completed, such as As shown:
(Note: Before you create a folder pop, which is used to store the published site,set security permissions, as shown in the following steps:
)
Two. Second, to open IIS Manager to deploy the browse site, if it is already installed, if not installed, follow these steps to install:
(1) Press win+r to open the Run dialog box, enter control.exe to open the Control Panel, select programs-Programs and features-open the Enable or disable Windows Features dialog box, select the following installation is complete:
(2) Open the Run dialog box, enter inetmgr to open Internet Information Manager (IIS), and then right-click the site and select Add Web site, as shown in:
Then click Browse to do so. However, there are many similar "/" Application service errors and other messages, do not worry, the following can be a unified solution to them.
1. Open the Visual Studio 2010 command-line development tool from the Start menu, enter aspnet_regiis-i, reinstall your current version of the. NET Framework into IIS, and install successfully.
2. If it is a Windows7 64bit system, set the following in the application pool used by the website, for example I am using DefaultAppPool:
The 32bit system doesn't have to be set up because you can't find that one either.
3. Open C:/windows/temp, right click on the Temp folder set permissions, specifically why, not too clear, as shown:
Personally, before deploying the Web site with IIS, complete the above three points, you can publish successfully, at least so far, I have not encountered other problems.
With the VS publishing Site, IIS deploys specific steps to browse the site.