Follow these steps in order, from easiest to most advanced.
The CBS_E_NO_ACTIVE_EDITION is almost always a registry identity issue.
Disclaimer: Editing the registry can be risky. Always back up your registry or create a system restore point before making changes.