Question

I have a XSLTListViewWebPart on a page and it is linked to an XSL stylesheet located in the Style Library. Anonymous users have read access to the Style Library. When a logged in user views the page, the XSLTListViewWebPart works fine. However, when an anonymous user views the page the XSLTListViewWebPart gives the following error message:

Access denied. You do not have permission to perform this action or access this resource.

This seems to be a permission issue, but anonymous users should already be able to access the XSL stylesheet.

Was it helpful?

OTHER TIPS

Try the DataFormWebpart, can do the same, and works fine for anonymous users. In Sharepoint Designer insert empty data view, choose data source ...

One Possible option is to add xsl inline in xsltListViewWebPart. See this blog here -

http://www.manvir.net/how-to-add-xsltlistview-webpart-to-sharepoint-publishing-page

I had this same issue and managed to resolve it using this solution

I hope this helps someone

Sharepoint 2010 XsltListViewWebPart on site definition template

Thanks

Nicholas

Licensed under: CC-BY-SA with attribution
Not affiliated with sharepoint.stackexchange
scroll top