Author |
Topic |
masterdineen
Aged Yak Warrior
550 Posts |
Posted - 2013-06-27 : 09:50:59
|
HelloI have created a project in SSDT and deployed to SQL Server 2012.next I have created a agent job but it will not execute the packages.can someone tell me when the checklist is when running a package via agent 2012 on SSDT ssis.On each package I have an email task that fires when a package fails. when I try to run the agent job the failure email works, but non of the other tasks work. so the package is running somewhere, but only one task. RegardsRob |
|
visakh16
Very Important crosS Applying yaK Herder
52326 Posts |
Posted - 2013-06-27 : 10:28:49
|
hmm..whats was the failure reason? any error it gave? see All executions standard report in SSMS------------------------------------------------------------------------------------------------------SQL Server MVPhttp://visakhm.blogspot.com/https://www.facebook.com/VmBlogs |
|
|
masterdineen
Aged Yak Warrior
550 Posts |
Posted - 2013-06-27 : 10:44:34
|
in the ssms reports on the first task in the package, which is a script taskCurrent Day File: Error: Exception has been thrown by the target of an invocationThe script task Current Day File: fetches a file via ftp and saves in local folder |
|
|
visakh16
Very Important crosS Applying yaK Herder
52326 Posts |
|
masterdineen
Aged Yak Warrior
550 Posts |
Posted - 2013-06-27 : 10:57:52
|
but it works when I execute in ssis, |
|
|
masterdineen
Aged Yak Warrior
550 Posts |
Posted - 2013-06-27 : 11:49:10
|
I am downloading my files via a secure FTP so the ssis ftp task wont work.my packages work when I execute them in ssis |
|
|
visakh16
Very Important crosS Applying yaK Herder
52326 Posts |
Posted - 2013-06-27 : 12:02:04
|
quote: Originally posted by masterdineen I am downloading my files via a secure FTP so the ssis ftp task wont work.my packages work when I execute them in ssis
are you hardcoding credentials for ftp server inside? also what account is used for running packages from sql agent?------------------------------------------------------------------------------------------------------SQL Server MVPhttp://visakhm.blogspot.com/https://www.facebook.com/VmBlogs |
|
|
visakh16
Very Important crosS Applying yaK Herder
52326 Posts |
Posted - 2013-06-27 : 12:03:32
|
quote: Originally posted by masterdineen I am downloading my files via a secure FTP so the ssis ftp task wont work.my packages work when I execute them in ssis
which exe are you using? did you check link i posted?------------------------------------------------------------------------------------------------------SQL Server MVPhttp://visakhm.blogspot.com/https://www.facebook.com/VmBlogs |
|
|
masterdineen
Aged Yak Warrior
550 Posts |
Posted - 2013-06-27 : 12:35:35
|
im using WINSCP |
|
|
visakh16
Very Important crosS Applying yaK Herder
52326 Posts |
|
masterdineen
Aged Yak Warrior
550 Posts |
Posted - 2013-06-27 : 13:02:58
|
will that work for a sftp with a SshHostKeyFingerprint key |
|
|
visakh16
Very Important crosS Applying yaK Herder
52326 Posts |
Posted - 2013-06-27 : 13:32:48
|
quote: Originally posted by masterdineen will that work for a sftp with a SshHostKeyFingerprint key
it canyou just need to modify the script accordinglyseehttp://winscp.net/eng/docs/guide_ssis#script_file------------------------------------------------------------------------------------------------------SQL Server MVPhttp://visakhm.blogspot.com/https://www.facebook.com/VmBlogs |
|
|
|