tags:

views:

29

answers:

1

I have a .Net 3.5 WPF application that works fine on many windows 7 computers but on a few it hangs directly on startup before the window is displayed.

The machines are running 64-bit win 7 and .Net 4 is installed. There are other machines with the same configuration that works.

No error message is displayed and nothing is written in the event log. I have ran process monitor and fuslogw and all dependencies are loaded.

Task Manager shows 0% Cpu usage

The Application constructor runs (opening a splash screen) but the Startup event is never called.

Any ideas what to look for.

Edit:

Today I removed the splash screen and the application worked fine. Restored previous version with the splash screen and it worked as well. Have no idea what caused it. The only part of my code that executed was

public App() {
    SplashScreen splashScreen = new SplashScreen("Logo.png");
    splashScreen.Show(true);
}
A: 

Must have been something temporary

adrianm