Schedule task fails to execute export to excel application which uses Microsoft.Interop.Excel every day for 1st time


hi,

have create windows application using c# code uses microsoft.interop.excel create export data database excel. have created schedule task in windows server 2008 r2 execute same every morning @ 6:30 am.

when run task manually, works fine , creates excel file, task fails @ 6:30 every morning. 

seems like, have manually execute task every day, after manually execute task, works fine day, either run manually or set other time in schedule task.

please let me know if have came across such issue.



abhijit sil

which user account have specified run task ? did select appropriate os versions ? , did try selecting run highest privileges setting enabled ?

e.g. 


also, make sure account used running task has been granted log on batch job permissions on server in question. 



regards, santosh

i not represent organisation work for, opinions expressed here, own.

posting provided as is no warranties or guarantees , confers no rights.

blog | wiki



Windows Server  >  Windows Server General Forum



Comments

Popular posts from this blog

Error: 0x80073701 when trying to add Print Services Role in Windows 2012 Standard

Disconnecting from a Windows Server 2012 R2 file sharing session on a Windows 7,8,10 machine

Event ID 64,77,1008 Certificates Events Windows Server 2008, 2008R2