ASP program debugging

xiaoxiao2021-03-06  41

1. When the page has the first few lines, but does not indicate the reason for the specific error. This method can be used:

Plus the ignore the wrong statement before the error:

ON Error ResMe next

Behind the wrong line

Response.write (Err.Description)

Response.end ()

This will report the error report. .

2. Sometimes the ASP program is wrong, the page prompts the general program error interface. . There is no prompt to be the first few lines. At the beginning of this issue, I was also very upset, until I found this problem solution in an interview, it seems that the interview is not going, but I have learned how it is worth it.

If you encounter such a problem, you should back up the code of the page first.

Then modify the page into a page that can be executed successfully: The easiest thing is that all of the code is completely deleted, write a few characters.

The above steps are completed, copy the codeful code to the original page, so that the program error report on this page will appear :)

转载请注明原文地址:https://www.9cbs.com/read-73305.html

New Post(0)