title: Test run errors with MSTest in VS2010
body: <p>When I run my Unit Tests, all tests pass, but instead of "Test run succeeded" or whatever the success message is, I get "Test run error" in the little bar that tells me how many of my tests pass, even though all my tests passed.</p>
  
  <p>When i click the text, I'm taken to a page that tells me the following two things happened:</p>
  
  <blockquote>
    <p>Warning: conflict during test run deployment: deployment item '[...]\Booking.Web.dll' directly or indirectly referenced by the test container [...]\Booking.Web.Tests.dll cannot be deployed to 'Booking.Web.dll' because otherwise the file '[...]\Booking.Web.dll' would override deployment item '[...]\Booking.Web.dll' directly or indirectly referenced by '[...]\Booking.Web.Tests.dll'</p>
    
    <p>Error: Cannot initialize the ASP.NET project 'Booking.Web'
    Exception was thrown: The website could not be configured correctly; getting ASP.NET proccess information failed. Requesting '<a href="http://localhost:54131/VSEnterpriseHelper.axd" rel="noreferrer">http://localhost:54131/VSEnterpriseHelper.axd</a>' returned an error: The remote server returned an error: (500) Internal Server Error.</p>
  </blockquote>
  
  <p>I don't understand half of what it's complaining about. How do I get rid of these errors?</p>
  
  <p>(And for reference: Booking.Web is an ASP.NET MVC 2 project, Booking.Web.Tests is a Test project, [...] is the full local path to the projects in my environment, in most of the cases above to the /bin/debug/ folder inside the Booking.Web project)</p>
  
  <p><strong>Update:</strong> As instructed, I looked for more info in Event Viewer. Here's what I found:</p>
  
  <blockquote>
    <p>3008 
      A configuration error has occurred.<br>
      5/8/2010 2:26:15 AM<br>
      5/8/2010 12:26:15 AM<br>
      4ffbe9180c3d4c02adb9ac4d61dd0928<br>
      1<br>
      1<br>
      0<br>
      4484bbf4-1-129177519750954331<br>
      Full<br>
      /<br>
      D:\...\Booking.Web\<br>
      AASLOEG  </p>
    
    <p>1876<br>
      WebDev.WebServer40.EXE<br>
      Aasloeg\Tomas<br>
      ConfigurationErrorsException<br>
      Could not load file or assembly 'Ninject.Web.Mvc, Version=2.0.0.0, Culture=neutral, PublicKeyToken=79764a4ef1548af1' or one of its dependencies. Strong name signature could not be verified. The assembly may have been tampered with, or it was delay signed but not fully signed with the correct private key. (Exception from HRESULT: 0x80131045) at<br>
    System.Web.Configuration.CompilationSection.LoadAssemblyHelper(String assemblyName, Boolean starDirective) at<br>
    System.Web.Configuration.CompilationSection.LoadAllAssembliesFromAppDomainBinDirectory() at<br>
    System.Web.Configuration.CompilationSection.LoadAssembly(AssemblyInfo ai) at<br>
    System.Web.Compilation.BuildManager.GetReferencedAssemblies(CompilationSection compConfig) at<br>
    ...stack trace in absurdum.</p>
  </blockquote>