Click here to Skip to main content
14,425,522 members
Rate this:
Please Sign up or sign in to vote.
See more:
I have an .net application built with .net framework 3.5. While trying to run the application in Windows 2008R2 OS, it failed to start and ended up throwing error. Same exe works perfectly with all other Windows flavors from Windows 7 to Windows 12R2. The application is strongly named and signed with certificate.

note: The feature .net framework 3.5.1 is enabled in the system.

Kindly help me to diagnose the issue.

Thanks in advance.

The following is the detail of the error message which appeared during failure.

MyApp has stopped working
Windows can check online for a solution to the problem.
Check online for a solution and close the program
Close the program

Stopped working

Problem signature:
Problem Event Name: CLR20r3
Problem Signature 01: setup.exe
Problem Signature 02:
Problem Signature 03: 57bega8a
Problem Signature 04: PresentationFramework
Problem Signature 05:
Problem Signature 06: 4a174fbc
Problem Signature 07: 624f
Problem Signature 08: e1
Problem Signature 09: System.Windows.Markup.XamIParse
OS Version: 6.1.7600.
Locale ID: 1033

Read our privacy statement online:

If the online privacy statement IS not available, please read our privacy

What I have tried:

The same application works if not signed with the certificate.

I also tried to run the application in compatibility mode of other OS. But it increased the memory used by the application and finally ended up with the same error.
Updated 25-Aug-16 22:34pm
ZurdoDev 26-Aug-16 8:03am
Google the error. Lots of possible causes.
Richard Deeming 26-Aug-16 9:42am
That looks like a XamlParseException, but unfortunately the event doesn't include enough information to diagnose the problem.

If you can't run the debugger on server, try wrapping your InitializeComponent(); call in a try..catch block, and logging the full details of the exception. That should give you a better clue as to what the problem is.

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)

CodeProject, 503-250 Ferrand Drive Toronto Ontario, M3C 3G8 Canada +1 416-849-8900 x 100