I have a site collection that is having issues with its style library library. I had 2 css sheets stored in there that mysteriously disappeared. No matter what I do, I can't list the files - powershell and the om both are unable to find it. However, when you try to upload a document with that name it errors out and tells you it can't rename to that because that file name already exists. Is there any way to remove this entry? Or is the best route to just recreate the site collection?

1 Answer 1


What happens when you view the document library using the Open with Explorer functionality? Do you see the files there?

You need to make sure you file's type attribute is set to GhostableInLibrary

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

This article provides a good walk-through for deploying branding solutions even if you do not use Sandbox solutions.

  • No, you get the same result - it won't show the two css files that we are having issues with. If I try to browse directly to the css files, I get a server 500 error. Oct 11, 2012 at 21:55
  • Ok, so will redeploying the solution with the GhostableInLibrary attribute possibly solve my issue? Or will I still have problems since something is wrong now? Oct 11, 2012 at 22:13

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.