title: System.Exception: Error HRESULT E_FAIL after migrating from Silverlight 3 to 4
body: <p>Following is the statement where I am getting the error :</p>
  
  <pre><code>var query = from c in objSearchedData.ToList() select c;
  q = query;  
  </code></pre>
  
  <p>Error:</p>
  
  <blockquote>
    <p>_COMPlusExceptionCode = -532462766
    {System.Exception: Error HRESULT E_FAIL has been returned from a call to a COM component.}</p>
  </blockquote>
  
  <p>I am using DBML and wcf service for the Silverlight 4. I have just migrated from Silverlight 3 the project. In old application its working fine. But after migration I am getting the error above.</p>
  
  <p>Any ideas on how to fix the problem?</p>