how to disable error messages

  • Thread starter Thread starter brennan green
  • Start date Start date
B

brennan green

Hello,

How can I disable all error messages (yellow screens) sent
to user.

Those pages which throws exception can be caught easily, but
what about those which aspnet isapi handles itself and shows the
error?

thank you
brennan
 
use something like this in your web.config

<customErrors defaultRedirect="error.aspx" mode="RemoteOnly">
<error statusCode="500" redirect="InternalError.htm"/>
</customErrors>

--

Regards,

Hermit Dave
(http://hdave.blogspot.com)
 
if you want to anything other than alphanumeric values always urlencode the
values before passing them around. plus | was probably handled by IIS...
wouldnt have managed it further (not too good at IIS config... though IIS 6
isnt too bad... for others you might want your hands on lockdown or urlscan
etc to see whats happening... IIS logs are also a good place to look at)

--

Regards,

Hermit Dave
(http://hdave.blogspot.com)
 
Back
Top