Friday 18 March 2011

Deploying SharePoint 2007 Solutions - Read-Only Attributes

If, for some strange and mystical reason, you have tinkered with the files delivered by a Solution Package to a server and set them to "read-only"​ [gasps with shock and horror] they will cause the Solution Package to fail when it's retracted, leaving artefacts effectively orphaned on the server.

It means you have to reset the files to remove the "read-only" attribute, redeploy the Solution and start again.

Just as a note, even when files are set to "read-only" when you're creating Solution Package (i.e. straight from TFS) the files are delivered with that attribute removed, probably for exactly the reasons above...

No comments:

Post a Comment