title: wpf application crashes when accessed from RDP session without showing any ERROR messages
body: <p>I have been working on this issue from the past 7 days but could not figure out the actual reason. I have created an MSI for WPF application and installed it in windows 7 machine. IF i physically log into that machine and access the application everything works fine. </p>
  
  <p>But when I access the application using Remote Desktop Session, the application crashes without showing me any error. I checked in the application logs in event viewer and found the following Errors</p>
  
  <p><strong>1. .Net RunTime Error:</strong></p>
  
  <p><strong>Application : Myapplication.exe</strong></p>
  
  <p><strong>Framework Version: v4.0.30319</strong></p>
  
  <p><strong>Description: The process was terminated due to an internal error in the .NET Runtime at IP732E1F88 (732B0000) with exit code 80131506</strong></p>
  
  <p><strong>2. Application Error :</strong></p>
  
  <p>Description:
  Faulting application name: , version: , time stamp: 0x4e11b8da</p>
  
  <p>Faulting module name: KERNELBASE.dll, version: 6.1.7601.17651, time stamp: 0x4e211319</p>
  
  <p>Exception code: 0xc0000005</p>
  
  <p>Fault offset: 0x0000b9bc</p>
  
  <p>Faulting process id: 0xd44</p>
  
  <p>Faulting application start time: 0x01ce40fa0f61d32c</p>
  
  <p>Faulting application path: </p>
  
  <p>Faulting module path: C:\Windows\syswow64\KERNELBASE.dll</p>
  
  <p>Report Id: </p>
  
  <p>Could someone please help me out where I am going wrong or do i need to change any settings</p>
  
  <p>Thanks</p>