ssis job fails with "package execution failed"

vsmural

ssis job fails with "package execution failed"

by vsmural » Fri, 09 Nov 2007 06:52:14

Hi,

I have a dts package migrated from sql server 2000 to sql server 2005 clustered server using migration wizard without any problem.

I have created a new job on sql server 2005 and one of the steps involves executing the SSIS package. It keeps failing with the error message "package execution failed". I have logged in here as a domain administrator (as also a local administrator).

I followed Article ID: 918760 but did not help.

I need this to be resolved asap.

Any quick help, much appreciated.

Thx

Murali




Jamie Thomso

ssis job fails with "package execution failed"

by Jamie Thomso » Sun, 11 Nov 2007 07:53:15

Hi,

I have a dts package migrated from sql server 2000 to sql server 2005 clustered server using migration wizard without any problem.

I have created a new job on sql server 2005 and one of the steps involves executing the SSIS package. It keeps failing with the error message "package execution failed". I have logged in here as a domain administrator (as also a local administrator).

I followed Article ID: 918760 but did not help.

I need this to be resolved asap.

Any quick help, much appreciated.

Thx

Murali

I recommend you read this:

http://wiki.sqlis.com/default.aspx/SQLISWiki/ScheduledPackages.html

-Jamie



Rafael Sala

ssis job fails with "package execution failed"

by Rafael Sala » Mon, 12 Nov 2007 09:55:17

Are you sure you follow the sugestions on that article The error you received makes me think you are usen a SSIS step type; by using CmdExec you will see more descriptive errors:

Make sure that you have detailed error information about the SSIS package failure

Instead of relying on the limited details in the SQL Server Agent Job History, you can use SSIS logging to make sure that you have error information about the SSIS package failure. You can also run the package by using the exec subsystem command instead of the SSIS subsystem command.

About SSIS logging

SSIS logging and log providers let you capture details about the package execution and failures. By default, the package does not log information. You must configure the package to log information. When you configure the package to log information, you will see detailed information that resembles the following. In this case, you will know that it is a permissions issue:

OnError,DOMAINNAME,DOMAINNAME\USERNAME,FTP Task,{C73DE41C-D0A6-450A-BB94-DF6D913797A1},{2F0AF5AF-2FFD-4928-88EE-1B58EB431D74},4/28/2006 1:51:59 PM,4/28/2006 1:51:59 PM,-1073573489,0x,Unable to connect to FTP server using "FTP Connection Manager".

OnError,DOMAINNAME,DOMAINNAME\USERNAME,Execute SQL Task,{C6C7286D-57D4-4490-B12D-AC9867AE5762},{F5761A49-F2F9-4575-9E2B-B3D381D6E1F3},4/28/2006 4:07:00 PM,4/28/2006 4:07:00 PM,-1073573396,0x,Failed to acquire connection "user01.msdb". Connection may not be configured correctly or you may not have the right permissions on this connection.

About the exec subsystem command and output information

By using the exec subsystem command approach, you add verbose console logging switches to the SSIS command line to call the Dtexec.exe SSIS command-line executable file. Additionally, you use the Advanced job feature of the output file. You can also use the Include Step Output in the history option to redirect the logging information to a file or to the SQL Server Agent Job History.




vsmural

ssis job fails with "package execution failed"

by vsmural » Tue, 13 Nov 2007 08:54:16

Thanks for the tip.

I have the problem resolved.

The SSIS works when you set the copy over from oracle sql wherein the objects are dropped and recreated in the package itself. If you do not select this option and do this using a job step of dropping the objects using job step, it would fail.

Also, the domain id used to run the job should be added to the local administrator and it started working.

Thanks

Murali