title: System.Data Assembly Not found
body: <p>I have a reference to <code>System.Data</code> in my windows service project. I keep getting the <code>Exception</code> :</p>
  
  <blockquote>
    <p>Could not load file or assembly 'System.Data, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089' or one of its dependencies. The system cannot find the file specified.</p>
  </blockquote>
  
  <p>I attach the <code>FusionLog</code> to my code and found out the following. For <code>System.Data</code> only visual studio is looking here:</p>
  
  <blockquote>
    <p>Assembly manager loaded from:  C:\windows\Microsoft.NET\Framework\v2.0.50727\mscorwks.dll</p>
  </blockquote>
  
  <p>And it should be looking here (all the other assemblies are but System.Data)</p>
  
  <blockquote>
    <p>Assembly manager loaded from:  C:\windows\Microsoft.NET\Framework\v4.0.30319\clr.dll</p>
  </blockquote>
  
  <p>How can I do point my <code>System.Data</code> file to look in the right place?</p>
  
  <p>My guess is <code>Microsoft Commerce Server</code> dlls are referenceing the 2.0 folder maybe.</p>