I got an Error to try run a scheduled task in asp.net. ...
but its working in my pc ,... when i try to run it another server ... an error was happened...
my code... is ...
ScheduledTasks st = new ScheduledTasks(@"mechine name");
string[] taskNames = st.GetTaskNames();
Task t = st.OpenTask("Sheduled task name");
t.Run();
error is...........................
Server Error in '/' Application.
--------------------------------------------------------------------------------
Access is denied. (Exception from HRESULT: 0x80070005 (E_ACCESSDENIED))
Description: An unha ...
Go to the complete details ...