Mystery error running .NET 3.5 program on Windows Server 2008 R2
Because it cannot locate a certain file. Either because the file doesn't exist or because the process does not have access to read the file or execute on the directory. Use ProcMon to determine on what file operation the Exception is thrown
Open up Process Monitor and add a filter to sort out any events that does not have anything to do with your application, like this:
Press OK, minimize ProcMon, and open your application. When the application crashes, go back to procmon, stop the Capture, by pressing the loupe icon or CTRL+E on your keyboard. Make sure the File System Events are shown, by verifying that the file cabinet icon is pressed (on the image it is not):
Scroll down to the last few events you've captured and examine the stack trace of each operation by double-clicking on the event.
Related videos on Youtube
MAW74656
Updated on September 18, 2022Comments
-
MAW74656 almost 2 years
Why can't I run this program? I get error like:
Description: Stopped working Problem signature: Problem Event Name: CLR20r3 Problem Signature 01: generatecodes.exe Problem Signature 02: 1.0.0.0 Problem Signature 03: 4f0b0ab4 Problem Signature 04: GenerateCodes Problem Signature 05: 1.0.0.0 Problem Signature 06: 4f0b0ab4 Problem Signature 07: 4 Problem Signature 08: 10 Problem Signature 09: System.IO.FileNotFoundException OS Version: 6.1.7600.2.0.0.274.10 Locale ID: 1033
-
MAW74656 over 12 years-Ok, I've downloaded, but I'm not sure what I"m looking for?
-
Mathias R. Jessen over 12 yearsUpdated answer, play around with ProcMon, examine the file system events and the errors it might show you.