Logo 
Search:

Asp.net Answers

Ask Question   UnAnswered
Home » Forum » Asp.net       RSS Feeds
  Question Asked By: Jason Perry   on Jul 14 In Asp.net Category.

  
Question Answered By: Kristin Johnston   on Jul 14

Don't know, all I can say is that when I must have had some problem  at some time
at here what my web  config looks like::


<!-- CUSTOM error  MESSAGES
Set mode="on" or "remoteonly" to enable  custom error messages, "off"
to disable. Add
<error> tags for each of the errors  you want to handle. -->
<customErrors defaultRedirect="genericerror.htm" mode="RemoteOnly">
<!-- using mode="RemoteOnly" dishes out its own stuff -->
<error statusCode="404"
redirect="PageNotFound.htm"/>
<error statusCode="500"
redirect="InternalError.htm"/>
</customErrors>

Try it , see what happens ?

Share: 

 

This Question has 1 more answer(s). View Complete Question Thread

 
Didn't find what you were looking for? Find more on Errors Or get search suggestion and latest updates.


Tagged: