D
dev
Hi all,
Win2k IIS5
I am trying to capture some information about 404 errors occurring on our
website. I have defined a custom error page in IIS5 using the properties of
the site. I am creating a 404 error by mistyping an address. The custom
404 page is called, but there is no data in Server.GetLastError.
Code:
Dim objError
Set objError = Server.GetLastError()
strNumber = objError.AspCode
strSource = objError.Category
strPage = objError.File
strDesc = objError.Description
What have I missed?
TIA,
Steve
Win2k IIS5
I am trying to capture some information about 404 errors occurring on our
website. I have defined a custom error page in IIS5 using the properties of
the site. I am creating a 404 error by mistyping an address. The custom
404 page is called, but there is no data in Server.GetLastError.
Code:
Dim objError
Set objError = Server.GetLastError()
strNumber = objError.AspCode
strSource = objError.Category
strPage = objError.File
strDesc = objError.Description
What have I missed?
TIA,
Steve