How to deploy a project to IIS for debugging when Web project authentication is set to Windows

Source: Internet
Author: User

Because the project has more than one solution composition, there is a master site problem, if you want to debug multiple projects at the same time, you can not easily debug with VS2013 iisexpress, you need to configure the project cost IIS to debug, the configuration process all smooth, such as


Compilation is not any problem, but the project, a run, directly reported 403, in the login part plus breakpoints, the results vs at the breakpoint, set to iisexpress but no problem, odd strange, toss n hours, no progress, kidnap help, pointing maze, the problem to be resolved, hereby record!

In fact, the culprit is in the following: Authentication mode for Windows Authentication, IIS default configuration is on Anonymous authentication, and then the result is directly connected to the program has been over!


Modify the IIS configuration, open IIS, select the appropriate site in the connection module, and double-click Authentication in the right-side view interface


Open the Authentication configuration interface, set Anonymous authentication to Disabled, set Windows Authentication to Enabled


At this point in the VS debugging, smoothly into the breakpoint, so all OK, end ~ er, wrong, start debugging code ...

How to deploy a project to IIS for debugging when Web project authentication is set to Windows

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.