Microsoft KB Archive/919550

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

Article ID: 919550

Article Last Modified on 5/14/2007

-

APPLIES TO


 * Microsoft Windows SharePoint Services 3.0
 * Microsoft Office SharePoint Server 2007

-





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 &quot;Applies to&quot; 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

Additional query words: wssv3 wss moss

Keywords: kbprb kberrmsg kbtshoot kbexpertiseinter KB919550

-

[mailto:TECHNET@MICROSOFT.COM Send feedback to Microsoft]

© Microsoft Corporation. All rights reserved.