Cannot start debugging on the Web server. Project is not configured for debugging _ self-study Process

Source: Internet
Author: User
First type:
If you are using a WinXP or Win2kpro version of the system, you will not have this problem, because you can only put the site in the C:\intpub\wwwroot directory, this directory by default is http://localhost, is the local site directory, You do not need any settings to debug. If you are win2kserver version, want to solve this problem as soon as possible, you use IIS Manager to turn your solution directory into a localhost virtual directory, you can immediately debug, but you must be logged in as an administrator.

The second type:
Using the system W:win2kserver, use the Web site that IIS defines directly. The steps are as follows:
1. You must convert the logical partition of your Web site's local directory into an NTFS partition, or you cannot use the ASP.net debug feature.
In DOS mode, type the command
convert [partition number, such as D:]/fs:ntfs
Then the system says it has to be converted after the next boot, and then reboot, and your storage site's hard disk partition becomes NTFS.
2. Open IIS Manager, select your Web site, pop-up shortcut menu, select "Remove Server Extensions" under "All Tasks"
3. After the deletion, the same open shortcut menu for this site, select "All Tasks" under "Configure Server Extensions", except do not define admin mail, everything else defaults. After installing the server extensions, you will add a few users to your user management.
4. Open Control Panel--> management tools--> Computer Management
Select User Management, put your login username (if you are your own computer, then generally use Administrator login), add the following groups:
Debugger Users
VS Developers
[IP address of your website] Admins
[IP address of your website] Authors

Additionally, the ASPNET user is added to the following group (only on the development computer):
Debugger Users
VS Developers
[IP address of your website] Admins
[IP address of your website] Authors
Administrators
5. Close the User Management window and close the Control Panel. Open IIS Manager and open the Properties window for your Web site.
On the operator page, add:
Administrator
Computer name/aspnet
Computer name/vs Developers
Computer name/debugger Users
[This site IP address] Adminis
[This site IP address] Authors

--> Anonymous access and authentication control--> edit--> Integrated Windows authentication in directory Access and security

5. Close the Site Properties window, select All Tasks--> Permissions Wizard on the shortcut menu for this site
Select the configuration from the template, the scheme selects public Web Site, and when configured, closes IIS Manager.

6. Open Vs.net, open your Project Properties window, and select ASP.net debugging in the Configure Properties--> debug--> debugger.
Under Common Properties--> Web settings, select Frentpage
Exit vs.net after OK

Now restart Vs.net, you may not find a Web server error, you try more than a few times, to use the frentpage way to open the site. VS Find the Web server will appear to let you enter the login password of the window, you put the administrator username and password input, you can debug.

Easy: The solution: Access to the Computer Management services and applications Internet Information Services Web site Default Web site, find the project directory, click the right mouse button to enter the property menu, directory Application Settings application name creation button; Execute permission selection script and executable file

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.