If you find out what application it is from the event viewer, you can look it up in your registry editor under:
HKLM\Software\Microsoft\Windows\Current Version\Run
Or, if it only affects your profile,
HKCU\Software\Microsoft\Windows\Current Version\Run
If the application is listed there, you can remove it from the registry, and it won't start anymore.
It could also be in your startup folder.
This doesn't really fix the problem with the software though, it just prevents it from starting up. Find out what application is causing it, then do a google search with your error code and the application name to see if it's a known or common problem, and hopefully there's a fix!