I have some code here that works as expected when I install it / run it on my own computer, Windows 7, but when I run it on other servers (2003 and 2008) it does not. The co
Do any log messages get printed in the log? Do you see "MonitorMainQueue called"
get printed? How do you know the second Task is started but not the first? Could it be a permission issue with creating/writing to the log file?
Edit: Additionally, in response to what @spender said about long running tasks, there is an overload to start the task with that option.
Task.Factory.StartNew(MonitorMainQueue, TaskCreationOptions.LongRunning);