yasuru
04-05-2004, 01:15 AM
Hi!
I have put the following code in my asp to check error. Now I want to test this by delibrately generating some error, so that it should show me the err.description also. Can somebody please help me how to do this. Thanks
Herez the code I am using:
<%
If(err.number <> 0) Then
Response.write("<strong>" & "Error:" & err.description & "</strong>")
end if
%>
I have put the following code in my asp to check error. Now I want to test this by delibrately generating some error, so that it should show me the err.description also. Can somebody please help me how to do this. Thanks
Herez the code I am using:
<%
If(err.number <> 0) Then
Response.write("<strong>" & "Error:" & err.description & "</strong>")
end if
%>