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 :(
Could not load file or assembly Microsoft.SqlServer.BatchParser
I installed Microsoft SQL Server 2005 Management Objects Collection as advised in many internet resources, but it did not help.
Then I tried to install Microsoft SQL Server 2008 Management Objects, but it says it can not be installed since newer version exists already (I have SQL Server 2008 installed).
Then I went to GAC, and found following lines:
Microsoft.SqlServer.BatchParser, Version=10.0.0.0, Culture=neutral, PublicKeyToken=89845dcd8080cc91, processorArchitecture=AMD64
Microsoft.SqlServer.BatchParser, Version=9.0.242.0, Culture=neutral, PublicKeyToken=89845dcd8080cc91, processorArchitecture=AMD64
Microsoft.SqlServer.BatchParser, Version=10.0.0.0, Culture=neutral, PublicKeyToken=89845dcd8080cc91, processorArchitecture=x86
Microsoft.SqlServer.BatchParser, Version=9.0.242.0, Culture=neutral, PublicKeyToken=89845dcd8080cc91, processorArchitecture=x86
Microsoft.SqlServer.BatchParserClient, Version=10.0.0.0, Culture=neutral, PublicKeyToken=89845dcd8080cc91, processorArchitecture=MSIL <-- Should version 9.0.242.0 exist?
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.
I have VS 2010 SQL Express 2005 and SQL Server 2008 installed (see configuration screenshot)
How can this dependency problem be solved?