I\'m running an SSIS package using dtexec. The package runs fine in BIDS on my system. When I create an SQL server agent job to run the package on a schedule. The package ru
Here is the solution if you are trying to run a SSIS package with dtexec
from transact SQL that contains an excel import.
Create a batch file that contains the following code.
cd C:\Program Files (x86)\Microsoft SQL Server\100\DTS\Binn\ DTEXEC.exe /DE "password" /F "C:\mySSISfolder\package.dtsx"
Create a shortcut pointing at your batch file, set the properties\advanced
on the shortcut to run as an administrator.
from your transact sql procedure run the following command
exec xp_cmdshell 'C:\myfolder\runssis_sc.lnk'