Pages

Friday, August 3, 2012

Content Query Web Part - The web part references an untrusted XSL file. Only XSL files contained in this site's Style Library may be referenced


Content Query Web Part stop working after migration of SharePoint 2010. I have found same issues into other sites in which I have used content query web part. Error seems to be useful which means I need to upload my custom style sheet XSL file into site collection’s style library only.

In SharePoint 2007 - I have uploaded XSL file into different location, so to resolve this error we have to refer custom style sheet from site collection’s style library. After uploading XSL into correct folder, I am able to see the results for content query web part into SharePoint 2010.

No comments:

Post a Comment