IIS 7 ISAPI extensions Debugger

Source: Internet
Author: User
1. ISAPI settings

For how to add, see http://technet.microsoft.com/en-us/library/cc771240 (ws.10). aspx and open the execute of permissions in handler mappings.
At first, I added the ISAPI DLL to handler mappings and found that it could not be accessed. Later, we found that the reason was win2008r2 (x64) and DLL was 32 bits. You need to set IIS support to 32 bits. The method is to open Internet Information Services (IIS) manager and select the site apppool in application pools, on the right-side panel, click "advanced setting"-> "enable 32-bit applications" to set it to true.

2. debugging

When you use Visual Studio attach to w3wp, you cannot perform a debugger when accessing the DLL. However, you may find that it is related to the. NET Framework settings of the apppool. If you set it to "no managed code", it will be OK.

Record the information so that you do not have to worry about it again later.

Q1.404.2 the page you are requesting cannot be served because of the ISAPI and CGI restriction list settings on the Web Server

Default IIS 7 does not allow ISAPI and CGI through. NET 1.1 by default. So if you are working with older code on iis7 you will need to follow these steps to resolve the issue:

1. Open IIS and click the server name

2. Double Click "ISAPI and CGI restrictions"

3. Right click ASP. NET V1.1 and select "allow"

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.