SharePoint Stack Exchange is a question and answer site for SharePoint enthusiasts. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I'm working on a Sharepoint farm has been stuffed and is missing the Style Library from the Site Collection. I've tried deactivating/activating the Site Collection & Site features Server Publishing Infrastructure & Server Publishing but it makes no difference.

I can access the Style Library by browsing directly through the file structure, but it's missing ContentQueryMain.xsl from the XSL Style Sheets directory - which is caused content query web parts to crash.

Can anyone suggest a method of repair to get this stuff working properly??

Thanks very much

share|improve this question
up vote 0 down vote accepted

I managed to shoe-horn a fix for this by creating a new site collection, and turning on Server Publishing Infrastructure.

Then I saved the Style Library from the new site collection as a template including content, and downloaded it. Then I uploaded this to my stuffed site collection and created the Style Library from it.

This seems to have fixed my problems for the moment... Hope this helps someone else.

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

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