While i was developing a feature receiver in SharePoint 2010, I was trying to deploy my solution using VS 2010 and i was getting this error:
Error occurred in deployment step ‘Activate Features': 0x800700570 0
And this happens actually when VS 2010 was trying to activate the feature, So i expected the problem from the Feature receiver i have that has code in “FeatureActivated” method. so, to be able to debug your feature receiver and exactly point the problem which throws the error while activating your feature, Do the following:
On your SharePoint Project, From Solution Explorer, Open project properties and change the following:
Active Deployment Configuration from Default to No Activation.
The point behind this, the feature will be deployed but not activated. So, you will be able to deploy and the debugger process is attached in VS then when you start activating the feature you will start debugging your feature receiver and fix the issue that you have in your code.
Hope this helps.