When I should activate Content Deployment on our Sharepoint server I got the following error message:
"Value does not fall within the expected range"
Oh I just love the error messages in Sharepoint, they are so informative 🙂
Ran the following commands instead:
Stsadm -o deactivatefeature -name deployment -url
Stsadm -o deactivatefeature -name migration -url
Stsadm -o activatefeature -name deployment -url
Stsadm -o activatefeature -name migration -url
Got the message
"Failed to find the XML file at location '12TemplateFeaturesmigrationfeature.
xml"
Opened the folder and saw that the folders "migration" and "deployment" were missing, but there was another called "Deployment Links" and "Migration Links". Copied those and renamed them to only "Deployment" and "Migration". Success! I was able to activate the new feature!