To debug this a little better and get proper information add an eventhandler to the app.xaml like in this example
<application x:class="interMASTER.App" xmlns:x="#unknown">
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
xmlns:vm="clr-namespace:InterstoneViewModel;assembly=InterstoneViewModel"
StartupUri="MainWindow.xaml" DispatcherUnhandledException="Application_DispatcherUnhandledException">
<application.resources>
</application.resources>
</application>
Then in the partial class App.xaml.cs do this :
public partial class App : Application
{
private void Application_DispatcherUnhandledException(object sender, System.Windows.Threading.DispatcherUnhandledExceptionEventArgs e)
{
MessageBox.Show(e.Exception.Message+" "+e.Exception.StackTrace);
}
}
This way a nice dialog will appear when something is wrong and post that informaton iso those nasty bitmaps.