Created On:  28 November 2012


Customer developed a Windows Presentation Foundation (WPF) application in Visual COBOL.

When they now run the application under the debugger, when it executes the InitializeComponent method for a particular window it takes about 30 seconds before it returns back to the debugger.

What is causing this extreme slow down?


After examination of the .xaml code for the form it was found to contain a button that used an image file that was referenced using a UNC name.

The UNC name that was referenced was not a valid location on the customers computer and so that when the form was being loaded it could not find the location and the network search for the image file was causing the slow down.

When the customer changed the UNC to reference an existing location the performance returned to normal.