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

Batch file to execute SSIS Package wont run

$
0
0

I know this question has come up often but I have looked through all answers and not found one that worked for me yet. I am simply trying to execute a SSIS Package from a Bat file so I can schedule it to run in the task scheduler. So far the .bat file just opens and immediately closes. I have done this before but it is not working with this package my code is:

"C:\Program Files\Microsoft SQL Server\100\DTS\Binn\dtexec" /FILE "C:\folder where it is saved\Package.dtsx" / MAXCONCURRENT " -1 " /CHECKPOINTING OFF /REPORTING EWCDI

I have tried many variations including:

"C:\Program Files (x86)\Microsoft SQL Server\100\DTS\Binn\dtexec.exe" /FILE "\\server-folder-01\C$\folder where it is saved\Package.dtsx"  /MAXCONCURRENT " -1 " /CHECKPOINTING OFF /REPORTING EWCDI


I have looked at other answers and the file path for the package does have spaces, but I have tried to save the bat file in other locations.

I should also note that I have tried it both with and without a password, as I have a saved password for the package, but it has not actually saved or asked for the password when I open the file, I assume that it not working right now and there is no password protection, but I have also already tried to add the /DECRYPT password but that has not worked either

Any help would be greatly appreciated! Thanks!


Viewing all articles
Browse latest Browse all 24688

Trending Articles



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