I encountered an http500 error when debugging a blog system yesterday. So I found the corresponding settings in iis7 according to the solution at 2003. The specific operations are as follows:
1. In the iis7 function view, change "send detailed error to Browser" to "true" and click "application" on the right of "ASP setting options-debugging properties ";
2. In the "error page" setting options, double-click the row 500, and then click "set" next to the file path ". In the displayed dialog box, change the file name in the "relative file path" to "500-100.asp.
3. Remove the "show friendly HTTP Error message" section in Internet Options of IE7.
At this time, debugging ASP will result in specific errors, which is very helpful for modification! What I show is
"Active Server Pages error 'asp 0131'
The parent path is not allowed.
/Admin/index. asp, Row 1
The file '../Conn. asp' cannot use '..' to indicate the parent directory ."
Therefore, you can set iis7 by referring to the method used to enable the parent directory in 2003, as shown in the following code:
In the iis7 function view, change "enable parent directory" to "true" in "ASP setting options-behavior" and click "application" on the right ".