With the VS publishing Site, IIS deploys specific steps to browse the site.

Source: Internet
Author: User
Tags visual studio 2010

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.

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.