Restart the Asp.net service command

Source: Internet
Author: User

In the vs.net development environment, the Asp.net service may fail to be started, resulting in an error in parsing the ASPX page. the following situations are usually found:

1. When running the Asp.net project, a Windows Error occurs, prompting that the FrontPage Extension Service and other error messages are missing;

2. When running the Asp.net project, the ASPX page cannot be correctly displayed, or the webform control on the page is invisible. view the generated client page.CodeAnd server-side aspx filesSource code, Consistent content;

3. Open the IIS management tool and view the server Header project in the properties of the project directory. It is found that there is no X-powered-by ASP. Net content in the Custom HTTP header.

Generally, the above situations are caused by the failure or failure of the Asp.net service. The solution is to restart the Asp.net service, provided that you have installed the extended FrontPage service. You can open the command line window after vs.net is installed and enter the command: [aspnet_regiis-I]. The aspnet_regiis can be found in the Windows directory/Microsoft. NET/framework/v1.xx.

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.