Solved

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

Posted on 2013-12-30
2
168 Views
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" />

By

<customErrors mode="On">
      <error statusCode="401"
             redirect="AccessDenied.html"/>
</customErrors>

I had AccessDenied.html in the current folder

But, I have always the default Access denied pag

Please help me

Thanks,

Regards,

Simlip
0
Comment
Question by:simlip
2 Comments
 
LVL 44

Accepted Solution

by:
Rainer Jeschor earned 500 total points
ID: 39745821
Hi,
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:
http://sharepointkings.blogspot.de/2013/07/customize-access-denied-page.html

HTH
Rainer
0
 

Author Comment

by:simlip
ID: 39746103
Hi there,
The version of sharepoint is foundation 2010
I am following your link
Thanks,
Regards,
Simlip
0

Featured Post

PRTG Network Monitor: Intuitive Network Monitoring

Network Monitoring is essential to ensure that computer systems and network devices are running. Use PRTG to monitor LANs, servers, websites, applications and devices, bandwidth, virtual environments, remote systems, IoT, and many more. PRTG is easy to set up & use.

Question has a verified solution.

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

Last week I faced a strange issue recently, i have deployed SharePoint 2003 servers for one project and one of the requirements was to open SharePoint site from same server. when i was trying to open site from the same server i was getting authentic…
Microsoft SharePoint Foundation 2010 and Microsoft SharePoint Server 2010 do not offer the option to configure the location of the SharePoint diagnostic trace log files during installation.  This can, however, be configured through Central Administr…
This tutorial gives a high-level tour of the interface of Marketo (a marketing automation tool to help businesses track and engage prospective customers and drive them to purchase). You will see the main areas including Marketing Activities, Design …
Internet Business Fax to Email Made Easy - With  eFax Corporate (http://www.enterprise.efax.com), you'll receive a dedicated online fax number, which is used the same way as a typical analog fax number. You'll receive secure faxes in your email, f…

911 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

Need Help in Real-Time?

Connect with top rated Experts

25 Experts available now in Live!

Get 1:1 Help Now