COMException Issue

Topics: Errors
Jun 15, 2015 at 5:41 PM
I have a user of my program that contains this library and he's getting COMException exceptions along with the error message "The task image is damaged or tampered with". Has anyone else been seeing a lot of these lately?
Jun 17, 2015 at 4:48 PM
Jun 17, 2015 at 5:15 PM
Edited Jun 17, 2015 at 5:15 PM
That's the funny thing, I rolled back to version 2.0 of the DLL and it instantly fixed it for the people who were having issues. I was using version 2.32 and that was causing issues for some people. Something changed between version 2.0 and version 2.32 that broke something but I have no idea what.
Jun 23, 2015 at 2:42 AM
Between those versions, I added support for the new interfaces introduced in Windows 8. Other than bug fixes and task validation, only minor edits have been made since. In which version(s) of Windows are you seeing the error?
Jun 23, 2015 at 1:34 PM
Some users reported the issue on Windows 7 and Windows 8.x.
Jun 23, 2015 at 1:56 PM
Can you tell me which line of code causes the exception? If not, can you tell me what activities the users are performing relating to tasks when the exception occurs?
Jun 28, 2015 at 2:19 AM
The only thing I can tell you is this...
The exception occurred at Microsoft.Win32.TaskScheduler.V2Interop.IRegisteredTask.get_Xml()

I don't include the debugging symbols file for the task scheduler DLL with my program.