Custom error form in asp.net web app

G

Guest

Is it possible to show the text that would appear in the default IIS error
page, but have that text appear on the custom form when using the

<customErrors mode="RemoteOnly" defaultRedirect="error.aspx" />

What do I need to put in error.aspx (and error.cs) to obtain the error text
and display it within a label on the error.aspx page?
 
J

Joyjit Mukherjee

Hi,

try to see the source code of the file, say
C:\WINNT\Help\iisHelp\common\404b.htm, and write code accrodingly.

HTH

Regards

Joyjit
 
G

Guest

Thanks for the help, but I do not know what to do based on your response. If
possible, please elaborate.
Thanks
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Similar Threads


Top