I have Developed program for capture data from database and send it via Email.Program executing without any errors while run by manually.when i schedule that on task scheduler its throws an error
Could not find file 'C:\Windows\system32\EmailTemplateMini.html'.
at System.Net.WebClient.DownloadDataInternal(Uri address, WebRequest& request) at System.Net.WebClient.DownloadString(Uri address) at System.Net.WebClient.DownloadString(String address) at DataEditMailSvc.MailSvc.GenerateEmployeeStatusListMail(DateTime executeDateTime, Int32 isActive, String status, String headerStatus, String connectionString, String locationName) in d:\Work\Projects\Logiwiz\DataEditMailSvc\DataEditMailSvc\MailSvc.cs:line 123
Can any one tell me what is the Reason for this