Hello kevokiran,
Do you have access to the server ? If yes, you can do the following.
Create a custom error page for the site. You can copy the basic template of the site and include error information into it to create one such page.
Here is a sample page.
Code:
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<title>Error reported</title>
</head>
<body>
<h3>This page has produced an error</h3>
<p>The description of the error is given below.</p>
<%
Dim objASPError
Set objASPError=Server.GetLastError
Response.Write("<strong>Error number</strong> = " & objASPError.Number & "<br>")
Response.Write("<strong>File</strong> = " & objASPError.File & "<br>")
Response.Write("<strong>Line number</strong> = " & objASPError.Line & "<br>")
Response.Write("<strong>Column</strong> = " & objASPError.Column & "<br>")
Response.Write("<strong>Description:</strong><br>" & Server.HTMLEncode(objASPError.Description) & "<br>")
%>
</body>
</html>
This is a bare minimum report. You can take a look at /iishelp/custom/500-100.asp to get all the properties of error object. You may mail this error to an address if you prefer.
Now, you have to configure IIS to use this file.
First upload the custom error page to a folder.
Open IIS Manager.
Rightclick the virtual directory corresponding to the site. Open properties.
Open the tab - custom errors.
Scroll down to the error 500;100. Edit it.
Choose the type as URL. Give the URL of your custom error page for that error. User the above file you created.
Now you can see, it shows the page you have created whenever an error happens.
If server is not in your control, you can create the file and upload it to a folder and request these configuration changes to server admin. (Best of luck !)
Hope this helps.
Madhu.