Connect Remote Task scheduler using c# throws error


An unhandled exception of type 'System.Runtime.InteropServices.COMException' occurred in Microsoft.Win32.TaskScheduler.dll

Additional information:

The request is not supported. (Exception from HRESULT: 0x80070032)

My Code:

using (TaskService tasksrvc = new TaskService(@"\\hqbusa1057", "muthuusername", "igatate", "pwd"))
    Task task = tasksrvc.FindTask("POC", true); task.Run();
asked on Stack Overflow Sep 27, 2017 by muthukumar Durai • edited Sep 27, 2017 by Petaflop

0 Answers

Nobody has answered this question yet.

User contributions licensed under CC BY-SA 3.0