I am running it on my development machine. If I schedule the package from the package manager it runs fine. It's when I script the job to run the package that it fails.This is the error I get:Date 9/16/2014 9:00:00 AMLog Job History (FloorPlanServerSQLXLogBackupSetupTest.Subplan_1)Step ID 1Server FBBIDEV-WKSTNJob Name FloorPlanServerSQLXLogBackupSetupTest.Subplan_1Step Name Subplan_1Duration 00:00:02Sql Severity 0Sql Message ID 0Operator Emailed Operator Net sent Operator Paged Retries Attempted 0MessageExecuted as user: NT Service\SQLSERVERAGENT. Started: 9:00:00 AM Finished: 9:00:01 AM Elapsed: 0.874 seconds. The package execution failed. The step failed.It's kinda hard to google that.Here's my script:USE [msdb]GO/****** Object: Job [FloorPlanServerSQLXLogBackupSetupTest.Subplan_1] Script Date: 9/16/2014 8:54:52 AM ******/BEGIN TRANSACTIONDECLARE @ReturnCode INTSELECT @ReturnCode = 0/****** Object: JobCategory [Database Maintenance] Script Date: 9/16/2014 8:54:52 AM ******/IF NOT EXISTS (SELECT name FROM msdb.dbo.syscategories WHERE name=N'Database Maintenance' AND category_class=1)BEGINEXEC @ReturnCode = msdb.dbo.sp_add_category @class=N'JOB', @type=N'LOCAL', @name=N'Database Maintenance'IF (@@ERROR <> 0 OR @ReturnCode <> 0) GOTO QuitWithRollbackENDDECLARE @jobId BINARY(16)EXEC @ReturnCode = msdb.dbo.sp_add_job @job_name=N'FloorPlanServerSQLXLogBackupSetupTest.Subplan_1', @enabled=1, @notify_level_eventlog=2, @notify_level_email=0, @notify_level_netsend=0, @notify_level_page=0, @delete_level=0, @description=N'No description available.', @category_name=N'Database Maintenance', @owner_login_name=N'DOMAIN\REDACTED', @job_id = @jobId OUTPUTIF (@@ERROR <> 0 OR @ReturnCode <> 0) GOTO QuitWithRollback/****** Object: Step [Subplan_1] Script Date: 9/16/2014 8:54:52 AM ******/EXEC @ReturnCode = msdb.dbo.sp_add_jobstep @job_id=@jobId, @step_name=N'Subplan_1', @step_id=1, @cmdexec_success_code=0, @on_success_action=1, @on_success_step_id=0, @on_fail_action=2, @on_fail_step_id=0, @retry_attempts=0, @retry_interval=0, @os_run_priority=0, @subsystem=N'SSIS', @command=N'/Server "$(ESCAPE_NONE(SRVR))" /SQL "Maintenance Plans\FloorPlanServerSQLXLogBackupSetupTest" /set "\Package\Subplan_1.Disable;false"', @flags=0IF (@@ERROR <> 0 OR @ReturnCode <> 0) GOTO QuitWithRollbackEXEC @ReturnCode = msdb.dbo.sp_update_job @job_id = @jobId, @start_step_id = 1IF (@@ERROR <> 0 OR @ReturnCode <> 0) GOTO QuitWithRollbackEXEC @ReturnCode = msdb.dbo.sp_add_jobschedule @job_id=@jobId, @name=N'FloorPlanServerSQLXLogBackupSetupTest.Subplan_1', @enabled=1, @freq_type=4, @freq_interval=1, @freq_subday_type=8, @freq_subday_interval=1, @freq_relative_interval=0, @freq_recurrence_factor=0, @active_start_date=20140915, @active_end_date=99991231, @active_start_time=0, @active_end_time=235959, @schedule_uid=N'dc1827e1-2b54-4922-8899-31bc7b414103'IF (@@ERROR <> 0 OR @ReturnCode <> 0) GOTO QuitWithRollbackEXEC @ReturnCode = msdb.dbo.sp_add_jobserver @job_id = @jobId, @server_name = N'(local)'IF (@@ERROR <> 0 OR @ReturnCode <> 0) GOTO QuitWithRollbackCOMMIT TRANSACTIONGOTO EndSaveQuitWithRollback: IF (@@TRANCOUNT > 0) ROLLBACK TRANSACTIONEndSave:GO
And the other partinsert into dbo.sysmaintplan_subplans ( plan_id, subplan_name, job_id, schedule_id, subplan_id, subplan_description ) values ( N'E908079A-8AF2-4413-81F5-7F05C7F56275', N'Subplan_1', (select top(1) job_id from dbo.sysjobs where name = N'FloorPlanServerSQLXLogBackupSetupTest.Subplan_1'), (select top(1) schedule_id from dbo.sysschedules where schedule_uid = N'dc1827e1-2b54-4922-8899-31bc7b414103'), NEWID(), N'' )