For work reasons, the author often needs to develop some small programs using ASP, which generally does not usually have any problems when developing and using related procedures under Windows 2000, and it is also easy to solve. However, because the author used the Windows 2003 Server when you use Windows 2003 Server, the developing procedure has such problems. For example, the browser cannot display detailed error information, always report an error, let the author suffer. After many practices and some reference materials, there has been some experiences on processing related issues, and now I can finally debug and use the relevant programs below Windows 2003 Server, so the record is shared here, please also ask you A lot of criticisms are correct.
One of the errors: You cannot display the debug information on the browser side, only the HTTP 500 error is displayed.
If you don't accidentally, as long as you have developed an ASP program, this error will definitely appear. This error is not tight, after all, can be solved based on the error caused by the browser. However, in Windows 2003 Server IIS 6.0, only "internal server error" is reported, there is no specific information, which is depressed. Generally speaking, the IIS starts the debugging the ASP program (the red option tab) by the following configuration, see Figure 1, Figure 2. To appear this configuration, right-click on the website you publish in IIS (generally default website), select Properties, in the pop-up option, point the primary directory, point the point configuration button can appear as shown in Figure 1, Figure 2 Options.
Figure 1 Enable parent path
Figure 2 Enable ASP program debugging
But it is very strange that after doing these modifications, the browser still does not display an error message normally. Always think this is the issue of IIS servers, and finally find information through multi-party data, finally discovered is the issue of Internet Explore. By doing the following configuration, you can display it normally (modified by the option to red, the default hook and the picture below is just the opposite). Click on the Internet Explorer-Tool -Internet option to appear as follows:
Figure 3 Internet Option Configuration
After doing the above modifications, it is generally possible to display the error message normally. It is also convenient to debug errors. I don't know why I can't display the wrong information when I was debugging, and I could only depressed the log. . . . . . , That pain!