The following error was repeated many times in a client’s event log:
- The COM+ Event System attempted to fire the EventObjectChange::ChangedSubscription event but received a bad return code. HRESULT was 80040201.
After some research the solution was:
- Delete the following registry key: _HKEY_LOCAL_MACHINE\Software\Microsoft\COM3_
- Delete all the directory and all files in: C:\WINDOWS\Registration
- If you cannot delete a file use , browse to the file/directory that could not be deleted and select the option to delete on next boot. Reboot.
- Control Panel / Add Remove Programs / Add/Remove Windows Components.
- Next (no changes to default options are needed)
- COM code will be re-installed. I did not need my Windows XP CD for this.
- Reboot
- WARNING You may need to re-register some DLLs, namely IIS. I do not use IIS so you will need to search for solutions via the net (Google, AltaVista, Yahoo, etc.).
I have not yet determined what caused the COM+ database to be scrambled. No virus or spyware was found.