Microsoft Knowledge Base Email Alertz

Error message when you view a Web page in Windows SharePoint Services 3.0 or in SharePoint Server 2007: Web Part Error: Access denied. You do not have permission to perform this action or access this resource.

Search KbAlertz

Advanced Search

Receive Microsoft Knowledge Base articles by E-Mail?

Every night we scan the Microsoft Knowledge Base. If technologies you're interested in are updated, we'll send you an e-mail. You only get one e-mail a day, and only when new articles are added.

Click here to create a
FREE account
Already have an account?
[Click here to Login]











Microsoft Knowledge Base Article

This article contents is Microsoft Copyrighted material.
©2005-©2007 Microsoft Corporation. All rights reserved. Terms of Use | Trademarks

Article ID: 919550 - Last Review: May 14, 2007 - Revision: 1.6

Error message when you view a Web page in Windows SharePoint Services 3.0 or in SharePoint Server 2007: "Web Part Error: Access denied. You do not have permission to perform this action or access this resource."

SYMPTOMS

You connect to a Microsoft Windows SharePoint Services 3.0 site or to a Microsoft Office SharePoint Server 2007 site. When you view a Web page in the site, a Web Part is not displayed on the Web page. Instead, the following error message is displayed:
Web Part Error: Access denied. You do not have permission to perform this action or access this resource.

CAUSE

This problem occurs if the following conditions are true:
  • The Web page contains a Web Part for a list view.
  • Unique permissions are set for the list.
  • You do not have permissions to view the list.
This problem occurs regardless of whether the list view contains any items.

WORKAROUND

To work around this problem, use one of the following procedures:
  • Create an audience in SharePoint Server 2007. Then, target the Web Part to the audience. When you do this, only users who are members of the audience can view the Web Part.
  • Use the IRuntimeFilter interface to control whether the Web Part is displayed on the page.

STATUS

Microsoft has confirmed that this is a problem in the Microsoft products that are listed in the "Applies to" section.

MORE INFORMATION

For more information about the IRuntimeFilter interface, visit the following Microsoft Web site:
http://msdn2.microsoft.com/en-us/library/microsoft.sharepoint.webpartpages.iruntimefilter.aspx (http://msdn2.microsoft.com/en-us/library/microsoft.sharepoint.webpartpages.iruntimefilter.aspx)

APPLIES TO
  • Microsoft Windows SharePoint Services 3.0
  • Microsoft Office SharePoint Server 2007
  • Microsoft Office SharePoint Online
Keywords: 
kbprb kberrmsg kbtshoot kbexpertiseinter KB919550
       

Community Feedback System

Very often, it takes hours to solve a problem. Very often, you've looked high and low, and have tried a lot of solutions. When you finally found it, chances are, it was because someone else helped you. Here's your chance to give back. Use our community feedback tool to let others know what worked for you and what didn't.

Please also understand that the community feedback system is not warranted to be correct, it's simply a system that we've built to let people try and help each other. If something in a feedback response doesn't make sense to you, or you're not comfortable making changes that the feedback talks about (like registry edits), please consult a professional.

Thank you for using kbAlertz.com Feedback System.

-- Scott Cate