re: SSIS: Custom Logging Using Event Handlers
Did it Jamie.around the same question, the fact that the container ID is not unique on a project scope due to code reuse such as template and copy & paste.dtsutil.exe is great on a package level...
View Articlere: SSIS: Custom Logging Using Event Handlers
Hi Franck,No, there isn't. I would love this functionality though so I'm delighted to see someone else asking for it. I've asked for it here:SSIS: Make container stack...
View Articlere: SSIS: Custom Logging Using Event Handlers
Hi Jamie,Great job that you've done! Many Thanx.Is there a way at run time in a script to get the container parent id in order to log the container hierarchy ?Regrds,Franck
View Articlere: SSIS: Custom Logging Using Event Handlers
Hi Jamie,Thanks for the great article. I notice that my event handlers fire when I execute the package (right click the package in Solution Explorer) but not if I only execute the task (right-click the...
View ArticleBlog stats
I've been blogging on this site for just over 2 and a half years now and thought now would be a good
View Articlere: SSIS: Custom Logging Using Event Handlers
David,Believe it or not this is actually by design. Eventhandlers are, themselves, containers and thus produce events. The difference is that the events that they throw up are not caught by...
View Articlere: SSIS: Custom Logging Using Event Handlers
I think I stumbled over something odd in SSIS using custom logging in the way as described above:When packages are run, they log perfectly into a preset table, and everything turns up as expected in...
View Articlere: SSIS: Custom Logging Using Event Handlers
Hi Paul,I completely agree. If asked, I always advocate doing some logging to text files alongside any custom logging that you may be doing.-Jamie
View Articlere: SSIS: Custom Logging Using Event Handlers
Me Again! I have found another situation which is also troublesome. I suppose it's obvious really but if the indirect configuration can't connect, then the logging will fail, but therefore the failure...
View Articlere: SSIS: Custom Logging Using Event Handlers
Hi Jamie,- just a heads-up. I'm using these event handlers for all my logging and noticed that sometimes the error event handler doesn't fire, even though there was an error. This has happened when...
View Articlere: SSIS: Custom Logging Using Event Handlers
Robert,You know the list of log providers that you get when you set up logging in your package(s)? i.e. Text File, SQL Server, Event log etc...A custom log provider will show up in there.The benefit of...
View Articlere: SSIS: Custom Logging Using Event Handlers
Jamie,Thanks for the great blogs...In a previous run you mentioned building your own custom log provider. I am interested in what exactly this means. For example, do you no longer want to utlize the...
View Articlere: SSIS: Custom Logging Using Event Handlers
Paul,Spot on mate :) I've encountered that many a time myself.The other way around this is to not use expressions and use parameters to inject the values instead - let the OLE DB Provider do the work...
View Articlere: SSIS: Custom Logging Using Event Handlers
Jamie - you'll need to escape single quotes in the event description or the TSQL may fail. Probably quite rare, but I have : "SELECT permission denied on object 'tblEmployee', database 'CRMCOMMON',...
View Articlere: SSIS: Custom Logging Using Event Handlers
A small update: I replaced the script task with a dataflow that uses a database connection and query (select 1 as dummy where 1=0) to produce 0 rows, which are then run through 3 rowcounters for the...
View Articlere: SSIS: Custom Logging Using Event Handlers
Thumbs up for the quick reply!I thought about setting the PreCompiled option to false, but the task will not run since you must have this option set to True on 64 bit machines. And the server the...
View Articlere: SSIS: Custom Logging Using Event Handlers
David,What is the PreCompile property of the script task set to?Note that its a script TASK, not a script COMPONENT.-Jamie
View Articlere: SSIS: Custom Logging Using Event Handlers
I used this approach to create a template for all packages, and while I am really chuffed with the capabilities I am getting an error when I copy the template to a new package.The last step in the...
View Articlere: SSIS: Custom Logging Using Event Handlers
I have an FTP task and am considering using the option "do not overwrite file". The FTP task transfers a file to the "Processing" folder and after the data flow task is complete the same file is then...
View Article