I wrote an asp.net web app which uses SMO against SQL Server 2008 to be able to run some DB scripts. It references these assemblies (in the C:\\Program Files\\Microsoft SQL
I resolve this only Just Right Click on Project navigate to Properties and Change Platform Target from 'Any' to 'x86'