We're getting this error on a SharePoint 2010 web site when inserting a content query web part (CQWP) that uses a custom XSL file:
The web part references an untrusted XSL file. Only XSL files contained in this site's Style Library may be referenced.
We did some content deployment from one server to this one and we're wondering if that could have broken something. What's strange is that the same CQWP appears elsewhere on the site without any issues; the only thing is that SharePoint won't let us add a new one that uses that file.
Any idea why it's throwing this error for a CQWP that works elsewhere on the site pointing to the same XSL file? Thanks.