Solved

SSIS Job - Unexpected Termination - SQL Server 2012

Posted on 2014-10-21
2
459 Views
Last Modified: 2016-02-11
We had an SSIS package Terminate Unexpectedly which was probably due to a unplanned server restart. The issue here is that even though the package history shows that it terminated unexpectedly the SQL Server job did not fail. Why would the SQL Server job not fail in this case and are there any basic configuration settings which can be changed to make sure that any SSIS failure or termination will immediately fail the SQL Sever job.
0
Comment
Question by:VitaminD
2 Comments
 
LVL 39

Accepted Solution

by:
lcohan earned 500 total points
ID: 40394861
Please have a look at details from link below (not sure about your SQL Version/Edition but it should be the same) and note that you should also use SSIS Logging to address any failures or other issues within your SSIS Packages.

http://dba.stackexchange.com/questions/66405/sql-server-2012-agent-job-not-providing-full-failure-message-for-ssis-packages
0
 
LVL 14

Expert Comment

by:nishant joshi
ID: 40628058
Hey Sun Ray (Vitamin D) :),

Use below property of SSIS to cause job immediate fail in case of any task or any container fail.

FailPackageonFailure
FailParentonFailure

Make both property to true,this will send error to job.

FailPackageOnFailure.JPG
0

Featured Post

Comprehensive Backup Solutions for Microsoft

Acronis protects the complete Microsoft technology stack: Windows Server, Windows PC, laptop and Surface data; Microsoft business applications; Microsoft Hyper-V; Azure VMs; Microsoft Windows Server 2016; Microsoft Exchange 2016 and SQL Server 2016.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
Sql Join Problem 2 32
SQL Field Length for Email Address 3 17
Error running stored procedure 11 18
Need SQL that flips  value 5 10
My client has a dictionary table. They're defining a list of standard naming convention. Now, they are requiring my team to provide us a mechanism how to match new incoming data with existing data in their system.
JSON is being used more and more, besides XML, and you surely wanted to parse the data out into SQL instead of doing it in some Javascript. The below function in SQL Server can do the job for you, returning a quick table with the parsed data.
This video shows how to set up a shell script to accept a positional parameter when called, pass that to a SQL script, accept the output from the statement back and then manipulate it in the Shell.
Via a live example, show how to set up a backup for SQL Server using a Maintenance Plan and how to schedule the job into SQL Server Agent.

895 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

16 Experts available now in Live!

Get 1:1 Help Now