المساعد الشخصي الرقمي

مشاهدة النسخة كاملة : Interop call fails when ran from Scheduled tasks



C# Programming
07-06-2009, 01:30 PM
I have a simple C# exe. It internally has some calls to custom interop. I dont have any problem in executing it manually by either double clicking the exe or thru command prompt, everything works as expected. But the moment i launch it using windows scheduled task it always fails.

Is this a know problem with interop calls, when an executable runs thru scheduled task? it fails at the point where i make a method call on the interop object. BTW i am using W2K.

Any suggestion/solution?

Thanks in advance.... http://www.barakasoft.com/script/Forums/Images/smiley_smile.gif

Hariharan.T