Go Premium for a chance to win a PS4. Enter to Win

x
?
Solved

SSIS Job - Unexpected Termination - SQL Server 2012

Posted on 2014-10-21
2
Medium Priority
?
850 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 40

Accepted Solution

by:
lcohan earned 2000 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

Free Tool: Site Down Detector

Helpful to verify reports of your own downtime, or to double check a downed website you are trying to access.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

In this article we will learn how to fix  “Cannot install SQL Server 2014 Service Pack 2: Unable to install windows installer msi file” error ?
When trying to connect from SSMS v17.x to a SQL Server Integration Services 2016 instance or previous version, you get the error “Connecting to the Integration Services service on the computer failed with the following error: 'The specified service …
Viewers will learn how to use the INSERT statement to insert data into their tables. It will also introduce the NULL statement, to show them what happens when no value is giving for any given column.
Viewers will learn how to use the UPDATE and DELETE statements to change or remove existing data from their tables. Make a table: Update a specific column given a specific row using the UPDATE statement: Remove a set of values using the DELETE s…

971 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