I used \'Microsoft Visual Studio Installer\' to create a MSI for a legacy c# WPF application.
After I install, I see this error BELOW. Do I have the wrong net framew
Source Code?: I assume you don't have the source code and can't 1)
just step-through the launch sequence or 2)
attach to debug binaries deployed to final installation location? Just checking.
No Source Code: Without source available, I usually use 3)
ProcMon.exe to monitor launch problems (quick sample - and Hanselman has a video on ProcMon.exe) and 4)
I enable any available logging
and / or application.exe debug modes
. 5)
Sometimes I assemble all files in a folder on the desktop and try to run from there (generally no permission or access denied problems).
Common Problems: Very often problems relate to lacking permission or missing runtimes
(for example: .Net
, Java
, VC++ Runtime
, etc...
) and the usual configuration errors
found in config files
(ini
, xml
) and the registry
(wrong paths
, URLs
, settings
, etc...
) - obvious, just mentioning.
"Ideas List": Here is a long "ideas list" of potential culprit causes: Launch Debugging - "torpedos full spread". Please do check this one. Links to older versions of the list can be found below.
Error Code: Looking up the error code ("The Magic Number Database") it seems to be an access violation: https://www.magnumdb.com/search?q=0xc0000005
- Checking Error Codes - several tools and approaches
Here are some resources: