First do not use a registry program... that's asking for disaster.
This may help,
Is this error a one off, or has it been occuring for a while ?
Is it worth trying system restore ?
Do you run or use 3rd party software that supposedly "tweaks" and cleans the operating system... even such things as CCleaner to "clean" the registry.