Recently I have been doing a lot of playing around with Integration Engine packages and have consequently, unfortunately, found the need to debug them. So I thought I would write a quick post (I know unusual as they are normally somewhat verbose!) describing one method of Debugging Integration Engine Packages. This post doesn’t explain how to fix your packages; simply how to obtain the information that allows you to fix them.
If you haven’t already downloaded DebugView, do so now (there is a link on my blogrole) as you have no idea what you are missing! It is a free tool that was written by SysInternals who were later bought by Microsoft and it is just superb for debugging anything to do with Service Desk Express. Once you have downloaded it, you can run it either from a client pointing at your Service Desk Express application server or actually on the application server itself.
Enabling Trace Package Logging
In order to get this to work and work really well you need to enable the Trace level Package Logging on your faulty package and tell the Integration Engine to output the results to DebugView.
Open your package in the Integration Engine by selecting it and clicking the button. Click the Logging tab.
Specify Trace as the Log level, and select the Both radio button for Package log output. Click Save.
Go back to Package Manager and click the button. Now take a look at the DebugView window you left open.
It captures a whole host of data including the error that occurred.
Fix up the error, execute the package again and take another look at the DebugView window.
Hope it helps. As always all feedback, positive and negative, always welcome.