I see that someone else had the same problem long time ago (https://taskscheduler.codeplex.com/workitem/8839). But I don't find a solution for it? Any help please?
p.s.
I noticed that this error happens when "Credentials.ServerName" is the local machine. When I test the case (i.e., providing wrong password) on a remote server I got always "Access Denied" (which is what I expect also on the local machine). The question is: why there is a difference between executing it on local vs. remote machine?
p.s.
I noticed that this error happens when "Credentials.ServerName" is the local machine. When I test the case (i.e., providing wrong password) on a remote server I got always "Access Denied" (which is what I expect also on the local machine). The question is: why there is a difference between executing it on local vs. remote machine?