I have a .NET 3.5 (C#) application, but interestingly it does not run on Windows XP. I have checked .NET Framework 2.0 SP2, 3.0 SP2, 3.5 SP1 are installed. When I run the application, no error message pops up. It just does not run. What could I try out?
4
votes
Have you checked the Application Event Log?
– Alex Filipovici
Could you paste your code if it is short or Main method?
– Jacek
Try to run it from command line. It might display some errors on the console.
– Grzegorz Sławecki
if the application Event log wont show you anything you can remote debug
– makc
what kind of project do you want to run in window xp?
– spajce
5 Answers
1
votes
1
votes
You could install WinDbg (it has the advantage of being quite light, not too invasive, not like a full Visual Studio install), and run your .EXE from its console. WinDbg will break on the first exception. You will be then able to dig out further using something like SOS (WinDbg extension for managed .NET programs).
1
votes
0
votes
0
votes
Have you copied all necessary DLL files with the EXE file? Except those already included in the .NET framework, of course. If so, you should check the event log to see If you can find any hints. You can also use the PDB files in a test period bexcause this will provide more info to the exception and event log.