Boa tarde,
Desenvolvi uma classe que cria um agendamento no windows, testei no windows forms e funcionou perfeitamente, quando coloquei em ASP.NET apresentou o seguinte erro:
Additional information: Unable to cast COM object of type 'System.__ComObject' to interface type 'TaskScheduler.IDailyTrigger'. This operation failed because the QueryInterface call on the COM component for the interface with IID '{126C5CD8-B288-41D5-8DBF-E491446ADC5C}' failed due to the following error: No such interface supported (Exception from HRESULT: 0x80004002 (E_NOINTERFACE)).
Nessa linha aqui:
IDailyTrigger tDisparador = (IDailyTrigger)tDefinicao.Triggers.Create(_TASK_TRIGGER_TYPE2.TASK_TRIGGER_WEEKLY);
O que pode ser, será que não roda na Plataforma ASP?