title: WPF/WCF application cause blue screen when PC is undocked
body: <p>I am trying to solve a blue screen problem.</p>
  
  <p>We have a .Net 4.0 WPF PRISM application. One special  thing about this application is that it hosts a WCF Service, which we use to communicate with the client (Thinkpad PC, Windows XP).</p>
  
  <p>The steps to recreate the problem are:</p>
  
  <ul>
  <li>Open the application</li>
  <li>Close the application</li>
  <li>Undock the PC</li>
  </ul>
  
  <p>The blue screen message is something like "check that there is space on your drive".</p>
  
  <p>The above steps "work" every time, have tested on several PC's. Anyone have any idea what could be causing this?</p>
  
  <p>If I run the app from Visual Studio I do not get this error. I only get the error when I run the installed application.</p>