Take the 2-minute tour ×
SharePoint Stack Exchange is a question and answer site for SharePoint enthusiasts. It's 100% free, no registration required.

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?

share|improve this question
add comment

1 Answer

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.

share|improve this answer
    
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. –  Arthurdent510 Oct 11 '12 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? –  Arthurdent510 Oct 11 '12 at 22:13
add comment

Your Answer

 
discard

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.