Sharepoint 2013 Custom Error page RRS feed

  • Question

  • In Sharepoint 2010, we have created an customerror page to replace the default error.aspx page.  Below is the example of the design used for our implementation.

    Currently, we are trying to incorporate the same in Sharepoint 2013. But Sharepoint never redirects to customerror page and uses its default error.aspx. We have also tried the alternate approach to set the customerror page using powershell scripts, but nothing works.

    We have our SharePoint farm with the latest July Cumulative updates. Can someone please help on this.

    Parthiban Kothandan

    Wednesday, August 27, 2014 4:36 PM

All replies

  • SP2013 provide OTB 404 error page and unfortunately does not support PS or custom error pages with my exploring. Some other workaround options and tips can be found here


    Wednesday, August 27, 2014 7:18 PM
  • The above proposed solution are specific to PageNotfound error alone. The Customerror page solution that am requesting would replace all the scenarios, wherein the Error.aspx is displayed today.

    Parthiban Kothandan

    Wednesday, August 27, 2014 9:19 PM
  • Hi,

    According to your post, my understanding is that you want to custom the error page in SharePoint 2013.

    Per my knowledge, the CU from Microsoft released on May 7th has fixed this issue.

    As the Paul Ewert has said in the comment of the article below.

    Just be sure to give the correct path for the correct hive/UI: The path must start with “/_layouts/15/” for the 2013 UI (CompatibilityLevel = 15, or omitted), and must start with “/_layouts/” for the 2010 UI (CompatibilityLevel = 14).

    You can check whether your deploy your custom pages to the correct hives.

    Thanks & Regards,


    Jason Guo
    TechNet Community Support

    Thursday, August 28, 2014 11:28 AM
  • Thanks Jason for your reply.

    I have the latest Cumulative update and my custom error page are in the correct layouts folder. The Custom access denied page works fine, the issue is only with the custom error page.

    Parthiban Kothandan

    Friday, August 29, 2014 3:33 PM
  • If you navigate to <yoursite>/_layouts\/15/error.aspx do you get the OOTB or your custom page error page??

    if not then - to see if it's really been mapped.

    get-SPCustomlayoutsPage -webapplication <yourwebappgoeshere>

    If you figure out how to get the error.aspx page to be invoked from your exception handler code --  your're on your own -- I've been trying to figure that out for two days.

    All science is either physics or stamp collecting

    Friday, March 31, 2017 1:07 PM