"The Project isn't configured to being debugged" error message when you debug the ASP.net program

Source: Internet
Author: User
Tags config visual studio
Asp.net|debug| Program | error

Symptoms

When you are in debug a asp.net application in Visual Studio. NET, your may receive the following error message:

Error while trying to run project:unable to start debugging on the Web server. The project is isn't configured to be debugged

For ASP.net projects, verify so you have a valid project file called ' Web.config ' to the URL specified and ' debug ' is S ET to ' true ' in that file.

For ATL Server projects, verify the ' DEBUG ' verb be associated with your ISAPI extension.

Would To disable future attempts to debug ASP.net pages for this project?

  Cause

This error can occur primarily because: the ASP.net application does not have a Web.config file.

the Execute Permissions property for the ' current ' project folder in Internet Services Manager was set to None.

  Resolution

To resolve this problem, use one of the following methods, depending on your circumstances: if your project does not hav e A Web.config file, add a Web.config file to the directory that contains the ASP.net application. If you are are working in Visual Studio. NET, right-click Project Explorer, click Add New Item, and then click Web Configuration File.

If your project already has a Web.config file, and If the Debug attribute is set to true in the <compilation> sect Ion of the Web.config file, follow these steps to set the Execute Permissions property for the project Folder:1. Start Ternet Services Manager, and then click the project, you are trying to debug.

2. Right-click the project, and then click Properties.

3. Click the Directory tab.

4. If None is selected in the Execute Permissions list, click Scripts only, and then click Apply.



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.