I have an application I am trying to deploy to several client computers. The deployment went well to the primary computers. But when I went to run the application on the secondary computers I the application crashed. The computers are all Windows XP SP2 or SP3 VMs running inside VMWare. When I first ran the application I got the message that the application required the .NET v4.0 framework. I installed: http://www.microsoft.com/en-us/download/details.aspx?id=24872
After installation the application crashes as soon as it starts with the send error report dialog. I tried making a blank WPF project in Visual studio 2012 - that crashes too. I have tested both the blank application and the real application in other XP and win 7 VMs without an issue. When I try to run Windows forms applications they run fine - so it only effects WPF applications.
When I check the even viewer I get 2 errors per startup crash:
Faulting application remoteclientapp.exe, version 1.0.0.0, stamp 532bee4b, faulting module kernel32.dll, version 5.1.2600.6293, stamp 506bc5e5, debug? 0, fault address 0x00012fd3.
And
Application: RemoteClientApp.exe
Framework Version: v4.0.30319
Description: The process was terminated due to an unhandled exception.
Exception Info: System.IO.FileNotFoundException
Stack:
I have spent quite a lot of time repairing / installing .net frameworks. I also did a virus scan with AVG on the target machine. Does anyone have any leads for what the issue could be related to?
UPDATE
I used process monitor. I have found a few things like :
42:39.4 test.exe 3048 QueryOpen C:\Documents and Settings\Administrator\Desktop\rsaenh.dll NAME NOT FOUND
Is this related? It seems like this dll would not be located here. I have run the test app in both the working and not working environment here is the log comparison: