I have a standard winforms application that works on most machines. On a 2003 server with .Net 4 (full) installed, it does not start.
Event Viewer Shows:
Event Type: Error Event Source: .NET Runtime Event Category: None Event ID: 1026 Date: 4/01/2012 Time: 10:07:37 AM User: N/A Computer: DRACO Description: Application: start.exe Framework Version: v4.0.30319 Description: The process was terminated due to an unhandled exception. Exception Info: System.TypeInitializationException Stack: at BootStrap.Program.Main(System.String[]) Event Type: Error Event Source: .NET Runtime 4.0 Error Reporting Event Category: None Event ID: 1000 Date: 4/01/2012 Time: 10:07:34 AM User: N/A Computer: DRACO Description: Faulting application start.exe, version 1.0.4386.17553, stamp 4f0384f3, faulting module kernel32.dll, version 5.2.3790.4480, stamp 49c51f0a, debug? 0, fault address 0x0000bef7.
It does not work when calling Main (), so I can not catch the errors. How to find out what the problem is?
source share