Quantcast
Channel: SQL Server Integration Services forum
Viewing all articles
Browse latest Browse all 24688

sqlagent task with interop excel

$
0
0

Hi,

I created a task with visual studio 2010 shell that performs the following steps:
-creation of an excel file
-import data using 'data flow task'
-protect the file with a password using 'script task', using c # and Microsoft.Office.Interop.Excel;
running the task from visual studio, all the steps are performed correctly;

performing the task with sqlagent does not run the script protection (returning this exception: the excel file is not found or is opened by an 'other program)
sqlagent runs as 'sa'

Any tips!!!

Thankss!!


Viewing all articles
Browse latest Browse all 24688

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>