I have a c # Windows aplication that I am trying to schedule to run every 2 hours but when I run it fron the Scheduled task it gives the following error inm the Event Log
Event Type: Error
Event Source: .NET Runtime
Event Category: None
Event ID: 0
Time: 9:32:34 AM
The description for Event ID ( 0 ) in Source ( .NET Runtime ) cannot be found. The local computer may not have the necessary registry information or message DLL files to display messages from a remote computer. The following information is part of the event: .NET Runtime version 1.0.3705.209- Badmail.exe - Common Language Runtime Debugging Services: Application has generated an exception that could not be handled.
Process id=0xa44 (2628), Thread id=0xab8 (2744).
Click OK to terminate the application.
Click CANCEL to debug the application
But when I double click on it , it works with no problems why ???/ Please help