[Knowledge point] VS debugging problem (C #),

Source: Internet
Author: User

[Knowledge point] VS debugging problem (C #),
Debugging cannot be started on the web server. You do not have the permission to debug the web server process. You need to run it as a user account of the web server or have administrator privileges.

Cause:Since Windows NT 6.1, both Windows Vista and Windows 8 have enhanced user control. If the system optimization software is not used for user control, the system permission is adjusted, that is, by default.

Visual Studio must be "Run as Administrator", that is, right-click "Run as Administrator", not whether the account you are currently logged on to is Administrator. Otherwise, when Visual Studio starts debugging in F5, the preceding error occurs: "You cannot start debugging on the web server. You do not have the permission to debug the web server process, you must run it as a web server user account or have administrator privileges. "

Solution:

Desktop, move the mouse over Visual Studio 2012. Right-click --> attribute

 

 

Click --> advanced

 

 

Check "Run as Administrator (R)" and then confirm. OK.

Or right-click "Run as administrator" each time ".

 

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.