Debugging Integration Engine Packages

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.

DebugView

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.

Debugging IE Packages 01

Debugging IE Packages 01

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.

Debugging IE Packages 02

Debugging IE Packages 02

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.

Debugging IE Packages 03

Debugging IE Packages 03

Debugging IE Packages 04

Debugging IE Packages 04

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.

Debugging IE Packages 05

Debugging IE Packages 05

Hope it helps. As always all feedback, positive and negative, always welcome.

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s