ASP. NET MVC application, site publishing to local IIS

Source: Internet
Author: User

1. Start Visual Studio as an administrator

2. New Project Web App or site

3. Compiling the project

4. Right click on Project selection Publish (release)

5, the first configuration, need to establish a configuration file

6, connection verification, fill in the server, site name.

7, click the release can

PS: Common errors

1. Visual Studio failed to open the conference with an administrator

2. Error Error_apppool_version_mismatch:web deployment task failed. (The application pool you are trying to use has the "Managedruntimeversion" property set to "v2.0".)

You need to modify the default program pool. NET Framework version in the application pool

3.HTTP error 500.21-internal Server error handler "pagehandlerfactory-integrated" has an error module in its module list " Managedpipelinehandler "

Cause: After you install the framework v4.0, IIS is enabled, causing the framework to not be fully installed

Solve:

  

Reference:HTTP error 500.21

ASP. NET MVC application, site publishing to local IIS

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.