﻿<?xml version='1.0' encoding='UTF-8'?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/"><channel><title>SQLServerCentral / SQL Server 2005 / SQL Server 2005 Integration Services  / Error description not shown in Event Viewer / Latest Posts</title><generator>InstantForum.NET v2.9.0</generator><description>SQLServerCentral</description><link>http://www.sqlservercentral.com/Forums/</link><webMaster>notifications@sqlservercentral.com</webMaster><lastBuildDate>Fri, 24 May 2013 23:32:18 GMT</lastBuildDate><ttl>20</ttl><item><title>RE: Error description not shown in Event Viewer</title><link>http://www.sqlservercentral.com/Forums/Topic959828-148-1.aspx</link><description>Catch ex As ExceptionDts.Events.FireError(1, ex.TargetSite.ToString(), ex.Message.ToString(), String.Empty, 0)Dts.TaskResult = Dts.Results.Failuremeans, move failure line to end of statement i.e before end catch...</description><pubDate>Wed, 28 Jul 2010 12:09:24 GMT</pubDate><dc:creator>PaVeRa22</dc:creator></item><item><title>RE: Error description not shown in Event Viewer</title><link>http://www.sqlservercentral.com/Forums/Topic959828-148-1.aspx</link><description>You may find [url=http://msdn.microsoft.com/en-us/library/ms186244.aspx]this post[/url] useful.</description><pubDate>Wed, 28 Jul 2010 02:35:50 GMT</pubDate><dc:creator>Adiga</dc:creator></item><item><title>Error description not shown in Event Viewer</title><link>http://www.sqlservercentral.com/Forums/Topic959828-148-1.aspx</link><description>Hi All,I'm stuck on this issue for the one day.In my ssis package if any error occurs i'm using try and catch block.In the catch block i'm failing the SSISCatch ex As Exception            Dts.TaskResult = Dts.Results.Failure            Dts.Events.FireError(1, ex.TargetSite.ToString(), ex.Message.ToString(), String.Empty, 0)In the Event Viewer Error is shown for the application.But i'm not able to get the respective error description.It always shows description as "Package failed".Is there anyway where in i can get the error description in Event Viewer using the above statement.Please help it's urgent.Thanks,Vibindas</description><pubDate>Tue, 27 Jul 2010 23:13:50 GMT</pubDate><dc:creator>vibin.das</dc:creator></item></channel></rss>