Skip to main content
Notice removed Canonical answer required by CommunityBot
Bounty Ended with no winning answer by CommunityBot
Tweeted twitter.com/#!/StackSharePoint/status/233610288723787777
Notice added Canonical answer required by Nicholas King
Bounty Started worth 100 reputation by Nicholas King
Updated with links to people who have a similar problem.
Source Link
Nicholas King
  • 337
  • 1
  • 4
  • 23

Update 5

Right I have carried on googling and cannot find a solution to this, I am however pretty confident that the collective mind of SO can. I am also convinced seeing the number of posts on various forums around the web that I am not the only person that has this issue.

http://www.google.co.uk/webhp?sourceid=chrome-instant&ie=UTF-8#hl=en&sclient=psy-ab&q=sharepoint+2010+xsltlistviewwebpart+access+denied&oq=sharepoint+2010+xsltlistviewwebpart+access+denied

So I am going to put this up for bounty as soon as I am aloud as I feel that the solution to this can benefit the sharepoint community.

Update 5

Right I have carried on googling and cannot find a solution to this, I am however pretty confident that the collective mind of SO can. I am also convinced seeing the number of posts on various forums around the web that I am not the only person that has this issue.

http://www.google.co.uk/webhp?sourceid=chrome-instant&ie=UTF-8#hl=en&sclient=psy-ab&q=sharepoint+2010+xsltlistviewwebpart+access+denied&oq=sharepoint+2010+xsltlistviewwebpart+access+denied

So I am going to put this up for bounty as soon as I am aloud as I feel that the solution to this can benefit the sharepoint community.

Update 4
Source Link
Nicholas King
  • 337
  • 1
  • 4
  • 23

Update 4

A bit more googling has yeilded the fact that there is indeed a "feature" in sharepoint 2010 xslt list view webpart in that an anon user cannot set the xsl or xsllink property.

http://stefan-stanev-sharepoint-blog.blogspot.co.uk/2010/08/xsltlistviewwebpart-several-xslt-tips.html

This has now brought me back full circle in that I need to provide a styled list view to users and also a traditional allItems.aspx view to editors where they can update the content of their list any suggestions greatly welcome as I am running out of ideas on this one :-S

Thanks

Nicholas

Update 4

A bit more googling has yeilded the fact that there is indeed a "feature" in sharepoint 2010 xslt list view webpart in that an anon user cannot set the xsl or xsllink property.

http://stefan-stanev-sharepoint-blog.blogspot.co.uk/2010/08/xsltlistviewwebpart-several-xslt-tips.html

This has now brought me back full circle in that I need to provide a styled list view to users and also a traditional allItems.aspx view to editors where they can update the content of their list any suggestions greatly welcome as I am running out of ideas on this one :-S

Thanks

Nicholas

added an update
Source Link
Nicholas King
  • 337
  • 1
  • 4
  • 23

UPDATE:UPDATE:

UPDATE 2UPDATE 2

Could this be what the webpart is complaining about? and if so how can i give the webpart access to the xslt?

Thanks

Nicholas

Update 3

I have tried using mapped folders to provision my XSL

and I can view the XSL through the browser ie browsing to the mapped folder.

<XslLink>/_layouts/xsl/newsportal.xsl</XslLink>

but the webpart generates this error in the browser

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

I have done a bit of reading around and found that webpart security has been enhanced in sharepoint 2010 and have found the following link which are suggesting that the way forward is to edit the web.config.

http://msdn.microsoft.com/en-us/library/cc768613.aspx

however I struggle to believe this is the truly the case that I need to lower the security levels to just set a predefined property of the webpart (XslLink) can someone please confirm or deny that this is the case.

UPDATE:

UPDATE 2

Could this be what the webpart is complaining about? and if so how can i give the webpart access to the xslt?

UPDATE:

UPDATE 2

Could this be what the webpart is complaining about? and if so how can i give the webpart access to the xslt?

Thanks

Nicholas

Update 3

I have tried using mapped folders to provision my XSL

and I can view the XSL through the browser ie browsing to the mapped folder.

<XslLink>/_layouts/xsl/newsportal.xsl</XslLink>

but the webpart generates this error in the browser

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

I have done a bit of reading around and found that webpart security has been enhanced in sharepoint 2010 and have found the following link which are suggesting that the way forward is to edit the web.config.

http://msdn.microsoft.com/en-us/library/cc768613.aspx

however I struggle to believe this is the truly the case that I need to lower the security levels to just set a predefined property of the webpart (XslLink) can someone please confirm or deny that this is the case.

Updated with more information that has been garnered
Source Link
Nicholas King
  • 337
  • 1
  • 4
  • 23
Loading
added 890 characters in body
Source Link
Nicholas King
  • 337
  • 1
  • 4
  • 23
Loading
Source Link
Nicholas King
  • 337
  • 1
  • 4
  • 23
Loading