Trying to create\instantiate a TaskService object but not able to without providing a user id and password, I should mention also that a web application is pulling the task scheduler data via a WCF Service. Both the web application and the WCF service are
hosted on the same server within IIS. I guess my question is can I instantiate the object in this scenario without providing a user id and password? The web service provides interface\contract to retrieve the data from the task scheduler.
using (TaskService ts = new TaskService())
for (int i = 0; i < ts.RootFolder.Tasks.Count; i++)
// do somthing....
Web App <--> WCF Service <--> Task Scheduler