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 use Mapped Sharepoint Folder, to add a Sharepoint file (versions.aspx) into my solution ( to do a customization ).

If I deactivate the feature, file "versions.aspx" is deleted from Sharepoint (The resource cannot be found. ) ... how can i prevent this situation?


share|improve this question

That is the expected behavior for feature deactivation. When you deactivate, SharePoint is cleaning up after itself. If you need to deactivate, and you want the file to remain, then you may want to consider other ways to provision that page.

share|improve this answer

Your Answer


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