title: Could not load Microsoft.SqlServer.BatchParser or one of its dependencies
body: <p>I know this question was asked for many times and I found a lot of information on Google regarding this problem, but I still can't solve the problem that exists on my DEV PC :(<br>
  <img src="https://i.stack.imgur.com/yG4NW.png" alt="I have that ugly error message on every page"> </p>
  
  <blockquote>
    <p>Could not load file or assembly Microsoft.SqlServer.BatchParser</p>
  </blockquote>
  
  <p>I installed <a href="http://www.microsoft.com/en-us/download/details.aspx?id=24793" rel="nofollow noreferrer">Microsoft SQL Server 2005 Management Objects Collection</a> as advised in many internet resources, but it did not help. </p>
  
  <p>Then I tried to install <a href="http://www.microsoft.com/en-us/download/details.aspx?id=16177" rel="nofollow noreferrer">Microsoft SQL Server 2008 Management Objects</a>, but it says it can not be installed since newer version exists already (I have SQL Server 2008 installed).  </p>
  
  <p>Then I went to GAC, and found following lines:  </p>
  
  <blockquote>
    <p>Microsoft.SqlServer.BatchParser, Version=10.0.0.0, Culture=neutral, PublicKeyToken=89845dcd8080cc91, processorArchitecture=AMD64  </p>
    
    <p>Microsoft.SqlServer.BatchParser, Version=9.0.242.0, Culture=neutral, PublicKeyToken=89845dcd8080cc91, processorArchitecture=AMD64  </p>
    
    <p>Microsoft.SqlServer.BatchParser, Version=10.0.0.0, Culture=neutral, PublicKeyToken=89845dcd8080cc91, processorArchitecture=x86  </p>
    
    <p>Microsoft.SqlServer.BatchParser, Version=9.0.242.0, Culture=neutral, PublicKeyToken=89845dcd8080cc91, processorArchitecture=x86  </p>
    
    <p><strong>Microsoft.SqlServer.BatchParserClient, Version=10.0.0.0, Culture=neutral, PublicKeyToken=89845dcd8080cc91, processorArchitecture=MSIL</strong> &lt;-- Should version 9.0.242.0 exist?</p>
  </blockquote>
  
  <p>I already spent about half a day to find a solution without success, and it's very crappy to work with VS when IntelliSense does not work because of that error.  </p>
  
  <p>I have VS 2010 SQL Express 2005 and SQL Server 2008 installed (see configuration screenshot) 
  <img src="https://i.stack.imgur.com/548oD.png" alt="enter image description here">  </p>
  
  <p>How can this dependency problem be solved?</p>