customErrors Not Working

Discussion in 'General troubleshooting' started by kiewic, Aug 25, 2012.

  1. Hi, I have the following configuration in my web.config and I cannot make it work in my website.

    Code:
    <configuration>
      <system.web>
        <customErrors mode="On" defaultRedirect="/Error" />
      </system.web>
    </configuration>
    This should hide the detailed error information from the visitors and show a custom error page. Am I missing something?
     
  2. Elshadriel

    Elshadriel Winhost Staff

    It looks like you may be redirecting to a directory and not a page.
     

Share This Page