Problems that may occur when deploying Web projects under Asp. NET

Source: Internet
Author: User

In fact, I have completely configured the IIS7 server when doing a large database job, but the configuration was not summarized last time, resulting in a long time to be configured. Therefore, the configuration problems are summarized here.

1. Install IIS7.

Many people use the installation files downloaded from the Internet to install IIS7, but every time I install IIS7 using the options in windows. Open Control Panel> Programs and functions> open or close windows functions, for example:

Select all related options under internet Information Service> Web management tools, and click "OK" to install the tool. After the installation is complete, enter localhost in the browser and the homepage of IIS7 appears.

Ii. Web deployment

Control Panel-> Administrative Tools-> Internet Information Service (IIS) Manager

Select a website and click "add Website". The preceding options are displayed. You can set website related options here.

Here, Web deployment is almost done, but some problems may occur.

1) unrecognized

<Compilation debug = "true"
OptimizeCompilations = "true"
Targetframeworks = "4.0"/>

This is because the application pool is set to another version. As shown in, click application pool, add application pool, and select. NET4.0. Then select the application pool of your Web project as. NET4.0.
2) incomplete Asp. NET4.0
Note: Not that you have not fully installed. NET, but you need to register. NET4.0.
3) the page you requested cannot be provided due to scaling configuration issues. If the page is a script, add a handler.
This is also because some things in the local machine are not installed, this is very simple, it is also to open and close the windows program to select the relevant program to install.

Related Article

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.