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.

  • Can you access the site as the anonymous user and try putting the path to the style sheet in the browser address bar? Then, you can verify if the xslt file is the problem or if it is some other resource.
    – Laurie
    Jul 7, 2011 at 23:22
  • @Laurie When I tried that as anonymous user, I was able to download the actual xsl file. Jul 7, 2011 at 23:40
  • I should add, the XSLTListViewWebPart works fine with anonymous users when I use the OOB stylesheet. When I link the stylesheet in the style library it breaks. The one in the style library is just slightly tweaked version of the OOB stylesheet. Jul 7, 2011 at 23:45
  • Can you use FireBug and take a look at the Net tab? You may see a GET that causes the error.
    – Laurie
    Jul 8, 2011 at 0:04
  • If I recall it correctly, inside the xslt there are references to other xslt file. You may have a permission issue with those?!
    – Bas Lijten
    Jul 10, 2011 at 15:54

4 Answers 4


@Matt This issue seems to be a Sharepoint bug. Look at this:



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 -



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



Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.