This project has moved and is read-only. For the latest updates, please go here.

HRESULT: 0x8007007E

Topics: Errors
Aug 26, 2016 at 3:37 PM
Edited Aug 26, 2016 at 3:38 PM
Retrieving the COM class factory for component with CLSID {0F87369F-A4E5-4CFC-BD3E-73E6154572DD} failed due to the following error: 8007007e The specified module could not be found. (Exception from HRESULT: 0x8007007E).

The exception occurred at Microsoft.Win32.TaskScheduler.TaskService.Connect() in C:\Users\dahall\Documents\Visual Studio 2010\Projects\TaskService\TaskService.cs:line 802
Any idea what could be happening here? I'm assuming that the Task Service is broken on that system but in what way? Is there a way to repair it?
Aug 27, 2016 at 6:26 PM
That's a strange one. My only guess is that the registration of the COM server that host the native scheduler somehow broke. I have no idea on how to correct that other than rebuilding the system.
Aug 27, 2016 at 10:49 PM
Edited Aug 27, 2016 at 10:52 PM
Just a wild guess, run this in PowerShell(as admin):
mofcomp ([Environment]::GetFolderPath("System") + "\wbem\SchedProv.mof")
you may need to run this first:

set-executionpolicy remotesigned