To enable the details of this specific error message to be viewable on remote machine

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • hbbauer2
    New Member
    • Jul 2014
    • 2

    To enable the details of this specific error message to be viewable on remote machine

    The current error page you are seeing can be replaced by a custom error page by modifying the "defaultRedirec t" attribute of the application's <customErrors > configuration tag to point to a custom error page URL.

    <!-- Web.Config Configuration File -->

    <configuratio n>
    <system.web>
    <customErrors mode="RemoteOnl y" defaultRedirect ="mycustompage. htm"/>
    </system.web>
    </configuration>

    How do I do this?
  • Brilstern
    New Member
    • Dec 2011
    • 208

    #2
    hbbauer2,

    Without more information I can only guess.

    The line
    Code:
    <customErrors mode="RemoteOnly" defaultRedirect="mycustompage.htm"/>
    is pointing to the custom error page.

    You can either edit this page (mycustompage.h tm) or create your own and change the redirect.

    Comment

    Working...