Still celebrating National IT Professionals Day with 3 months of free Premium Membership. Use Code ITDAY17


Modify webconf file in order to modify deniedaccess page: it is not working

Posted on 2013-12-30
Medium Priority
Last Modified: 2014-02-05
Hi there,

I modify the web.conf of sharepoint website in order to take a new page

I remplaced

<customErrors mode="On" />


<customErrors mode="On">
      <error statusCode="401"

I had AccessDenied.html in the current folder

But, I have always the default Access denied pag

Please help me



Question by:simlip
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
LVL 44

Accepted Solution

Rainer Jeschor earned 1500 total points
ID: 39745821
which SharePoint version / edition?

The access denied page in SharePoint is handled differently than in a "normal" ASP.NET web application.

You can set a custom access denied page using Powershell. This blog article explains how to create a custom access denied page as well as the Powershell script to set it:


Author Comment

ID: 39746103
Hi there,
The version of sharepoint is foundation 2010
I am following your link

Featured Post

Does Your Cloud Backup Use Blockchain Technology?

Blockchain technology has already revolutionized finance thanks to Bitcoin. Now it's disrupting other areas, including the realm of data protection. Learn how blockchain is now being used to authenticate backup files and keep them safe from hackers.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

The vision: A MegaMenu for a SharePoint portal home page The mission: Make it easy to maintain. Allow rich content and sub headers as well as standard links. Factor in frequent changes without involving developers or a lengthy Dev/Test/Prod rel…
I thought I'd write this up for anyone who has a request to create an anonymous whistle-blower-type submission form created using SharePoint 2010 (this would probably work the same for 2013). It's not 100% fool-proof but it's as close as you can get…
In this video, Percona Director of Solution Engineering Jon Tobin discusses the function and features of Percona Server for MongoDB. How Percona can help Percona can help you determine if Percona Server for MongoDB is the right solution for …
Want to learn how to record your desktop screen without having to use an outside camera. Click on this video and learn how to use the cool google extension called "Screencastify"! Step 1: Open a new google tab Step 2: Go to the left hand upper corn…

688 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question