Usually when we are debugging a program, some operations will fail inexplicably and there is no error message. Especially when performing database operations, the execution has been completed, but no changes are recorded in the database, which is very frustrating! This problem occurred when I was doing the FSO deletion operation just now. Later, when I put Err.Description on it, it immediately prompted me where the error was, so I must make full use of it!
Specific use
On Error Resume Next
...program
If Err.Number>0 Then
Response.Write Err.Description
Response.End
End If