title: After a computer crash my Visual Studio 2010 will not load an assembly
body: <p>My computer blue screened.  After my computer restarted, I ran my Silverlight application and got this error:</p>
  
  <blockquote>
    <p>Could not load file or assembly 'AsyncCtpLibrary' or one of its dependencies. The parameter is incorrect. (Exception from HRESULT: 0x80070057 (E_INVALIDARG))</p>
  </blockquote>
  
  <p>I actually got a couple of errors regarding RIA services not being able to generate code because a directory name had invalid characters.  I cleared that up by deleting everything in the bin and obj directories.  Clearly there is something corrupt.</p>
  
  <p>I've pulled the DLL back down and set it to copy local and I still get that error, only after I run the program.  I'm not sure if it's something where the DLL is corrupt in the GAC or something like that.</p>
  
  <p>EDIT:  After reinstalling the Async CTP DLL and checking the GAC, I decided to turn on Assembly Binding logging which gave me this information (along with a lot more).</p>
  
  <blockquote>
    <p>ERR: Failed to complete setup of
    assembly (hr = 0x80070057). Probing
    terminated.</p>
  </blockquote>