How to disable Visual Studio development server

Source: Internet
Author: User
Due to the release of ASP. NET Ajax 1.0, the blog garden set off a climax of learning Ajax, and I started my own Ajax journey. When Ajax Control Toolkit is used, it is found that the control is dragged to Visual Studio 2005, but the script error is found when debugging is started, probably because of Visual Studio 2005's web engine Visual Studio development server. If you use IIS, this problem may be solved.

Operation Method: Right-click a web project, select Properties, select Web in the Properties window, and change "Use Visual Studio development server" to "use IIS Web server ", create a virtual directory. If you start the project for debugging immediately, the "cannot start debugging on the Web server" dialog box will pop up.


 
Solution: if the web. config file is in VSS or TFSSource codeManagement, the web. check out the config file and open the Properties window of your project in IIS. on the. NET tab, select "Edit configuration", and then click "application"ProgramClick "enable debugging" on the tab. asp.. Net configuration setup will automatically modify the web of your project. modify the configuration section of the config file and then start debugging. Everything is normal.

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.