I recently encountered the following error when attempting to activate Windows 8. In my case, I knew the issue was due to a missing product key. Below is the workaround.
1. Press the Windows+R keys, and you’ll got the Run dialog box OR open the Command Prompt with administrative privileges.
2. Type slui 3, which will open the Windows Activation interface.
3. Enter your product key and click Activate.