Avatar of piemckay
 asked on

Changing SharePoint 2010 Access Denied Page

I'm looking at the best method for changing the Access Denied (and possibly other error message screens)  for SharePoint 2010.
I've done some reading up and many have talked about changing the _layout/AccessDenied.aspx however being a novice at SharePoint I am unable to locate such file, furthermore many have mentioned its not recommended to change this file. I am wondering then whether its possible to insert maybe JavaScript to catch the error and redirect it to my custom page.

Here is the issue I am having it shows a iframe that is on an open page however the sharepoint calendar is locked down, but I dont want the access denied page to be shown to unauthorised users.

access denied
Any help will be great :)
Microsoft SharePointJavaScriptASP.NET

Avatar of undefined
Last Comment
Rainer Jeschor

8/22/2022 - Mon
Rainer Jeschor

Log in or sign up to see answer
Become an EE member today7-DAY FREE TRIAL
Members can start a 7-Day Free trial then enjoy unlimited access to the platform
Sign up - Free for 7 days
Learn why we charge membership fees
We get it - no one likes a content blocker. Take one extra minute and find out why we block content.
Not exactly the question you had in mind?
Sign up for an EE membership and get your own personalized solution. With an EE membership, you can ask unlimited troubleshooting, research, or opinion questions.
ask a question
All of life is about relationships, and EE has made a viirtual community a real community. It lifts everyone's boat
William Peck