Click to See Complete Forum and Search --> : IIS Error messages


alcOrtholite
December 4th, 2003, 09:25 AM
I am trying to find out why an ASP page is not working. However, my browser does not seem to present any error message apart from the http 500 Internal Server Error message. Does anyone know how to force IIS or my browser to return the technical error information regarding an ASP error e.g.


Technical Information
===============

set test1 =
^

Error: Object Expected

/test.asp line 52

There must be a way to force this option on all of the time

Thankyou in anticipation

Alc

fmalatsi
January 16th, 2004, 03:48 AM
What you need to do is tell your ISS to proceed when error encountered then post to you browser error description below is your code modified
Technical Information
===============

On Error Resume Next
Set test1 =

If Err.number <> 0 then
Response.Write (Err.Description) 'If you like you can put this into a variable
End If


=============================
Good Luck I hope it helps
Shout if not