Quantcast
Channel: Server Manager forum
Viewing all articles
Browse latest Browse all 1903

Scheduled task not running on Windows Server 2008 but working on Windows XP

$
0
0

Hi,

I have created a console application using .NET 3.5 framework for fetching data from the oracle database and sending it as an attachment via email.

Using the task scheduler I have scheduled a task to run the console application's .exe file at 9 AM every day.

The task is scheduled properly and works fine on a Windows XP machine and doesn't work on windows 2008 server.

When the task is run for the first time on XP and installation prompt is displayed. Once the installation is done from the next time onwards the task is getting executed as scheduled without any issues.

In case of windows server 2008, I did not get any installation prompt, so I went ahead and double clicked the .exe file to install it on the server and scheduled it. I am getting a 'success' message every time it executes, but the data is not being sent as a mail which means the .exe program is not executed. I have used domain credentials as well as the machine's administrator credentials to verify this.

I have also checked the firewall settings and there is no issue with it as it is turned off.

I have checked the logs in event viewer, but no error messages have been logged.

Please let me know if there is a solution to this issue.

Thank you.

 

Regards,

Badarinath Pennati.


Viewing all articles
Browse latest Browse all 1903

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>