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
Post a Comment