Debugging cannot be started on the WEB server.

Source: Internet
Author: User

Use VS2005 to open a project. If there is no sln file in the project, follow these steps:

1. Website folder --> properties --> Create web Sharing

2. Open the website in vs200à local IIS select the shared directory, and then select the shared website to open.

Press F5 to run. An error message is displayed: "debugging cannot be started on the WEB server. <? Xml version = "1.0"?> ", For example:

 

 

 

Later I found that I copied the entire project to the D disk and then repeated the above steps. It indicates the permission settings.

 

Solution:

1: The directory access under the System Disk requires strong permissions. So it is best not to put the project in the directory of the system disk.

2. If it must be placed under the system disk, you need to add the asp.net user to the project permission of the corresponding website from 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.