G
Guest
in my application error event i'd like to log errors to the evnt log which is
easy enough but i don't want to log every 404 in fact i'd like to skip them
althogether so how do i test the expetion to see if its a 404
this
Dim ex As Exception = Server.GetLastError.GetBaseException
If ex.GetType.Equals(System.IO.FileNotFoundException) Then
End If
doesn't seem to work
any ideas?
easy enough but i don't want to log every 404 in fact i'd like to skip them
althogether so how do i test the expetion to see if its a 404
this
Dim ex As Exception = Server.GetLastError.GetBaseException
If ex.GetType.Equals(System.IO.FileNotFoundException) Then
End If
doesn't seem to work
any ideas?