Skip to main content
Planview Customer Success Center

How to prevent detailed server errors from being displayed to users?

You can enable custom errors by configuring the Web.config file as follows:

<configuration>
    ...

    <system.web>
        <customErrors mode="RemoteOnly"
                      defaultRedirect="~/YourOwnCustomErrorPage.aspx" />

        ...
    </system.web>
</configuration>

Search for the keyword "customErrors". The "RemoteOnly" option ensures that the detailed system error is displayed when you connect locally,  so that you can reproduce the error yourself as the admin by connecting to the web server. The remote user only sees the custom error page.