SSIS - How To Debug an SSIS Package That Has Failed in Production


You are working an ETL developer in an organization; you are responsible for creating different SSIS Packages for data loads and keep them running smooth in production. In case of failure, figure out the issue and work the team to solve the problem.

So how it starts?

All Lazy:

What do I mean by that?
 I have worked in organizations where people develop SSIS Packages, Deploy SSIS Packages and then forget about them. Nobody noticed that the Job is failing every day till business users stop by to tell you that they are not finding updated data.

Smart DBA:

If your organization has the team of DBAs or a DBA who really take care of things seriously. When the job will be created for your SSIS Package then he will add notification to it on failure.  So if your package failed at night or day, DBA will be the person who will notify you that the job has failed with some basis error information that he received or got from SQL Server Agent Job History.

Smart Me!

As ETL developer if I am smart and follow best practices, when I deploy my SSIS Package, I will add following items to it
  1. ·         On Failure Email Notification
  2. ·         Logging for detail error information

If I have done that then if any of SSIS Package fails, I will get the email. I can add the team members in email so if I am not around then other developers do get the email and start looking into the problem.

From Where to Get Error Information?

Here are the different ways to get error information once your SSIS Package failed.
  • If you have not set up error email notification in your SSIS Package, Then DBA will be sending you the initial information from Job History (SQL Server Agent Job). Your company might be using different scheduler than SQL Server Agent. Most of the scheduler those I have worked with do provide Job History and Error Message Information.
  •  If you have set up the Error Email notification from SSIS Package itself, you will get the email from your SSIS Package with error information. Here is the link how to set up that.
  •  If we want to further look into error details, we need to check the logging file or log records in table. SSIS Provide different type of logging such as text file, SQL server table, xml etc. Here is the link how to set up Logging in SSIS Package.  You should have access to see the information. If your SSIS Package is logging execution information to file system, then you need read permission to the folder where the log files are created. If you are logging information in SQL Server Table then you need read permission on table. When you deploy your Package to Production, Make sure you get the permissions so when your SSIS Package fails, you can go to those locations and look into log files or table to find out error.

What’s next?

Once you have all the error information then you take steps accordingly
Let’s consider few of common issues

1-Connection Failed:

If package was not able to make connection to Database or file due to network issue, you can ask the DBA to rerun the SSIS Package after making sure it is saved to rerun.

2- File is being used by Another Process:

If your SSIS Package is reading some Excel file to load data and that file is opened by another user, you can get this type of error. In those scenarios, you have to find out who has opened the file and then ask them to close the file or make a copy and leave the original for SSIS Package to use.

3-Row yielded no match during lookup:

Your incoming data could not find the matching record from lookup and you have configured the lookup to fail in case data does not match. In this case you can make sure the lookup table (reference Table) has the required data for match.

These were few of the examples just to start debugging. There could be problems in which you have to take your SSIS Package from Production and run with same data in UAT/QA to further debug issue. You can use Break Points, Data Viewer etc. to further look into the issue by debugging your SSIS Package in BIDS or SSDT.

To summarize this topic, I will suggest my fellow ETL developers to implement Error Notification in SSIS Package and ask the DBA to add notification to Job on failure. Always have Logging setup for your SSIS Package. If you have above in your SSIS Package, Finding Error will be much easier and less time consuming.


  1. this is just the info I am finding everywhere. but thanks for the nice blog.
    Best Aviation Training Institute in Chennai

  2. I never comment on blogs but your article is so best that I never stop myself to say something about it. You’re amazing Man, I like it Database Errors... Keep it up

  3. Great post with exclusive information. This blog will really helpful for me to develop my skills in a right way. Thanks for sharing, keep update with your blogs.
    how to store multiple select values in database using php

  4. Through this post, I know that your good knowledge in playing with all the pieces was very helpful. I notify that this is the first place where I find issues I've been searching for. You have a clever yet attractive way of writing on Msbi online training
    Msbi online training Hyderabad
    Msbi online training India
    Msbi online course
    Msbi course
    Msbi training
    Msbi certification training

  5. Nice Post...I have learn some new information.thanks for sharing. oracle training in chennai

  6. The languages which are used in this field are Python, Java, SQL, etc. Before you step into a world of data science, it is important that you have a good amount of knowledge of mathematics and computer science along with these languages. Both can be considered as the basic requirement of this subject. data science course in hyderabad

  7. This comment has been removed by the author.

  8. This comment has been removed by the author.

  9. Nicely written-This post is equally informative as well as interesting. Thanks for nice information you have shared. Get the Web Design Services for Small Businesses in New Jersey at an affordable price. for more information visit our site. We provide Responsive Web Design Services in New Jersey at an affordable price, for more information, visit our site.

  10. Too Good article ,Thank You For Sharing.
    Keep Updating...

    MSBI Training

  11. Excellent information, I am heartily thankful to you that you have shared this information with us. I got some different kind of knowledge from your article, and it is helpful for everyone. Thanks for share it. creative agency jakarta

  12. This comment has been removed by the author.

  13. Learn Oracle DBA for making your career towards a sky-high with Infycle Technologies. Infycle Technologies provides the top Oracle DBA Training in Chennai and offering programs in Oracle such as Oracle PL/SQL, Oracle Programming, etc., in the 200% hands-on practical training with professional specialists in the field. In addition to that, the interviews will be arranged for the candidates to set their careers without any struggle. Of all that, Cen percent placement assurance will be given here. To have the best job for your life, call 7502633633 to Infycle Technologies and grab a free demo to know more.
    Infycle Technologies
    #85, Medavakkam Main Rd, Rajendra Nagar, Keelkattalai, Chennai, Tamil Nadu 600091.
    No.1 Oracle DBA Training in Chennai | Infycle Technologies

  14. Worth reading! Our experts also have given detailed inputs about these trainings & courses! Presenting here for your reference. Do checkout
    Aws training in chennai & enjoy learning more about it.

  15. Packaging refers to the product of the container or the external shell and dressings and other protective substances, is an important aspect of product management. A fine jewelry packaging can give guests a bright spot effect, so that customers leave the impression of the product, thereby increasing its sales. Creative Safety Supply

  16. This post is really awesome. Genuinely i like this blog. It gives me more useful information. I hope you share lots of things with us .victoria website design

  17. Finish the Selenium Training in ChennaiM from Infycle Technologies, the best software training institute in Chennai which is providing professional software courses such as Data Science, Artificial Intelligence, Java, Hadoop, Big Data, Android, and iOS Development, Oracle, etc with 100% hands-on practical training. Dial 7502633633 to get more info and a free demo and to grab the certification for having a peak rise in your career.

  18. I prefer high-quality content, which I discovered in your article about web designers and developers australia. The information you've provided is useful and important to us. Continue to post articles like these. Thank you very much.

  19. Thanks for giving so much of Information. There are many Students looking for online teaching jobs in india from home

  20. Much obliged for sharing this brilliant substance. its extremely fascinating. Numerous web journals I see these days don't actually give whatever pulls in others however the manner in which you have plainly clarified everything it's truly awesome. There are loads of posts But your method of Writing is so Good and Knowledgeable. continue to post such helpful data and view my site too...
    Fold n fly | Classic dart paper airplane | how to make a paper airplane that flies far and straight step by step | windfin | stable paper airplane | nakamura paper airplane | paper airplane templates for distance

  21. Nice blog post so thanks a lot for sharing this great blog post.. keep more post for sharing.. have a nice day.
    Notary Public Lawyer in Cambridge

  22. Very nice post, impressive. its quite different from other posts. Thanks for sharing.
    Landlord Tenant Dispute Lawyer in Ontario

  23. I have joined your rss feed and look forward to seeking more of your magnificent post. Also, I have shared your site in my social networks! Body building Product Review

  24. Good Post! Thank you so much for sharing this pretty post, it was so good to read and useful to improve my knowledge as updated one, keep blogging.
    Notary Public Lawyer in Cambridge

  25. This comment has been removed by the author.

  26. This comment has been removed by the author.

  27. This comment has been removed by the author.

  28. The first-time home buyer’s tax credit allows you to claim back $750 on your tax return after buying your first home in Canada. what you need to know. Tax Credit For First Time Home Buyers

  29. If you live in Prince Edward Island, British Columbia or Ontario then you might qualify for the land transfer tax rebate. what you need to know.Land transfer tax rebate calculator

  30. A home buying guide for first-time buyers with current information and calculators and every step of the buying process. Home Buying Process in Canada

  31. Beli Like Instagram jasa dan layanan like untuk Instagram Rp.5000 murah berkualitas (non-drop) - Jasa Like Instagram Tanpa Username dan Password, Jual Likes ig