SSIS Tutorial Part 85-Send Error Email with Error Code, Error Description by using Send Mail Task

Поділитися
Вставка
  • Опубліковано 17 лис 2024
  • SSIS Video Scenario:
    We have created an SSIS Package, that fails sometime. The only way to find out if the Package is failed to check SQL Server Job history or alerts generated by SQL Server Agent Job. We want to include components in SSIS Package so we can send an Email from SSIS Package with Error Information when the Package fail.
    Solution:
    In this video we will find out the solution for above scenario, we will learn below items in this Video
    How to create SSIS Package Parameters
    How to use Event Handlers in SSIS Package for OnError Events
    How to Create error in SSIS Package for Test Purpose
    How to use Send Mail Task in Event Handler to send email with Error Code, Error Description etc.
    Link to the script used in the video " How to send Error email from SSIS Package"
    sqlage.blogspot...
    To follow Step by Step SQL Server Integration Services(SSIS) Video Tutorial By TechBrothers, please open below link.
    www.techbrother...

КОМЕНТАРІ • 41

  • @tomasdale5306
    @tomasdale5306 2 роки тому +1

    THank you so much, Dhanyavaad, from EL Salvador, between Mexico and Colombia

  • @jasonbwilliamson
    @jasonbwilliamson 7 років тому +1

    Thank you for taking the time to do these videos. While they may not be perfect, they help others to learn and server as a good reference. Let those that have only negative things to say create and post videos if they see something they can improve.

    • @TechBrothersIT
      @TechBrothersIT  7 років тому +1

      Thanks dear.

    • @nishatparveen5820
      @nishatparveen5820 7 років тому +1

      I agree...the resource you are providing is invaluable.....kuddos to you and ignore the haters, they are just that haters!

  • @adamsanderson6483
    @adamsanderson6483 3 роки тому +1

    Great explanation, thank you very much. Exactly what I was after!

  • @bouchrab5434
    @bouchrab5434 4 роки тому

    thank you so much , first time I see someone so disappointed that his task has suceeded ! :D
    Great job

  • @SAAZIZ-tr2wt
    @SAAZIZ-tr2wt 5 років тому +2

    Hi AAmir.. thanks for making all this knowledgable videos..
    but couldn't find the link for Creating "SMPT SERVER".

    • @TechBrothersIT
      @TechBrothersIT  5 років тому

      You are very welcome. please check this link. www.techbrothersit.com/2015/03/how-to-configure-dbmail-in-sql-server.html

  • @jooststolk5671
    @jooststolk5671 7 років тому +1

    Great, you just saved me many hours of trial and error.

    • @TechBrothersIT
      @TechBrothersIT  7 років тому +1

      Glad to hear that my effort was useful.

  • @letiziaesterconti7320
    @letiziaesterconti7320 7 років тому +1

    That's what I was looking for, I'm going to use this solution with Visual Studio 2015 and hope it's gonna work. Really THANK U for your time and job :)

    • @TechBrothersIT
      @TechBrothersIT  7 років тому +1

      You are welcome. hopefully will work for you. Thanks for watching.

  • @romeror1945
    @romeror1945 5 років тому

    Thank you for the video. Can to just create variables instead of parameters, if so then which is preferable

  • @echezonaazubike8054
    @echezonaazubike8054 3 роки тому +1

    thank you so much well taught

  • @anandreddy9591
    @anandreddy9591 Рік тому

    Great Sir,I had One Querry Is it possible to download files from unread mails using script task,If yes please help me with the code sir

  • @emreagatay8645
    @emreagatay8645 Рік тому

    Thanks for the video. Does anyone know how to trigger error handling after an error on validation phase? Because on error, an email is sent but if it is a validation error, there is no email.

  • @willydonkeng339
    @willydonkeng339 8 місяців тому +1

    Great job

  • @subbuasup5680
    @subbuasup5680 Рік тому

    I configured this set up in my package but it triggered multiple mail when Data flow task fail
    Please let me know Do I need any other configuration to avoid

  • @ansariakhtar8185
    @ansariakhtar8185 7 років тому

    very great and detail explanation, thank you so much.

  • @rakeshnsw
    @rakeshnsw 7 років тому +1

    Awesome. Thanks for the detailed explanation.

  • @thiagonunescosta9086
    @thiagonunescosta9086 4 роки тому

    Thanks a lot from Brazil!

  • @deepanshuchauhan2973
    @deepanshuchauhan2973 3 роки тому

    Mail Configure in DB but not working in SSIS send mail task

  • @brennermonteiro
    @brennermonteiro 6 років тому +1

    Thank you so much! It help me a lot!

  • @Ali-us2yf
    @Ali-us2yf 3 роки тому +1

    you are the best!

  • @darpandesai6054
    @darpandesai6054 6 років тому

    Hi Aamir,
    I saw two emails were sent out. one with row skipping and another with actual error message. So my question is how can we avoid multiple email not being sent out.

    • @TechBrothersIT
      @TechBrothersIT  6 років тому

      Hi Darpan,
      please check this link www.techbrothersit.com/2014/09/ssis-how-to-handle-multiple-emails-from.html
      sorry for late reply.

    • @gayathricyanam6570
      @gayathricyanam6570 5 років тому

      @@TechBrothersIT Can you please upload images to the link you shared above. Thank you.

  • @chaudhryalisalam3668
    @chaudhryalisalam3668 8 років тому +1

    sir how to use smtp in ssis , i managed to send email through ssms but in ssis it is kept failing , I supplied "smtp.gmail.com" as server name in mail task smtp connection but still failing with error "Error: 0xC00291C4 at Send Mail Task, Send Mail Task: The Simple Mail Transfer Protocol (SMTP) server is not specified. Provide a valid name or IP address of the SMTP server." any suggestions ???

    • @MrBryantdavis
      @MrBryantdavis 8 років тому

      I have the same problem. Can you include your link on how to configure the SMTP server? Thanks

    • @chaudhryalisalam3668
      @chaudhryalisalam3668 8 років тому

      sir jee two votes for the same video , please kindly add this video to your portal.

    • @TechBrothersIT
      @TechBrothersIT  8 років тому

      Hi guys, I see that we missed that video, we will add the video how to setup SMTP. We are really busy now a days and can't promise when. will do our best. In real time scenarios, you guys will not be setting up the SMTP by using google or hotmail, it will be already setup. You can skip the setup and just get the idea how Send Mail task works. Thanks for leaving the comments, will try!

    • @chaudhryalisalam3668
      @chaudhryalisalam3668 8 років тому

      thank you for reply sir

    • @MrBryantdavis
      @MrBryantdavis 8 років тому

      I would be grateful. Thank you for the response.

  • @evashah5032
    @evashah5032 6 років тому

    Gr8 video

  • @vishwaskanakatti8363
    @vishwaskanakatti8363 6 років тому

    funny! I like it!

  • @810karan
    @810karan 8 років тому

    and stop saying "a" after every word :D

  • @810karan
    @810karan 8 років тому

    If you do not have any idea what is going on when you are making a video, stop wasting others time

    • @TechBrothersIT
      @TechBrothersIT  8 років тому +6

      +Karan Salekar you need to build a learning attitude brother, these tutorials are doing a great deal of help to others.

    • @srdasara1
      @srdasara1 7 років тому +1

      Karan why are you posting these messages , what is that u r getting

    • @kiranjeetsingh4802
      @kiranjeetsingh4802 7 років тому +3

      +Karan Salekar .....Dude are you for real. Instead of thanking TechbrothersIT for valuable information , you are criticizing him ....If you don't like it...don't watch...simple. No need to bring other person down with your attitude.