DetailPage-MSS-KB

Microsoft small business knowledge base

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

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
Share
Additional support options
Ask The Microsoft Small Business Support Community
Contact Microsoft Small Business Support
Find Microsoft Small Business Support Certified Partner
Find a Microsoft Store For In-Person Small Business Support