Common errors with debugging ASP programs under Windows 2003 and Solutions (i)

Source: Internet
Author: User
Because of work, I often need to use ASP to develop a number of small programs, under Windows 2000 development and use of related programs generally do not have any problems, and it is easy to solve. But because of the author in order to use the Windows 2003 Server for a taste, the development of related programs appeared in such a problem, such as the browser can not display detailed error information, connect access always error, so that the author miserable. After practicing and reviewing some of the references, and having some experience with dealing with related issues, it is now possible to debug and use the relevant programs under Windows 2003 Server, so the special record is here to share with you, and please criticize it.

One of the errors: Unable to display debug information on the browser side, only HTTP 500 errors are displayed.
No accident, as long as you have developed an ASP program, there will definitely be such a mistake. It does not matter if such a mistake occurs, after all, it can be resolved according to the error caused by the browser above. But under Windows 2003 Server + IIS 6.0, only "Internal server errors" are reported, without specific information, depressing. In general, you can use the following configuration to allow IIS to start debugging ASP program (marked red option tick), see Figure 1, Figure 2. To appear this configuration entry, in IIS you publish the Web site (generally the default Web site) Right-click, select Properties, in the pop-up options, click the Home directory, point configuration button can appear as shown in Figure 1, Figure 2 options.
Figure 1 Enabling the parent path
Figure 2 Enabling ASP program debugging

But it's strange that after making these changes, the browser still doesn't display the error message properly. Always thought this is the problem of IIS server, finally through the multi-party search data, finally found that the Internet explore problem. The following configuration can be displayed as normal (by changing the red option, the default tick and the picture below show exactly the opposite). Click on the Internet explorer-tool-internet option to appear the following options page:

Figure 3 Internet option Configuration

After doing the above modification, generally can display the error message normally, debugging error is also convenient a lot. Think I used to debug, do not know why can not show error messages, only depressed to see the log ... , that pain!

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.