1st is
Codecould not load file or assembly 'microsoft.sqlserver.connectioninfo version=10.0.0.0........
i am using following namespace
Codeusing Microsoft.SqlServer.Management.Common;
using Microsoft.SqlServer.Management.Smo;
and second is
"Load Report failed" during crystal report load.
how to solve this.
Aman Gandhi

SenthilkumarRank #387 · 6.5K reputationPosted Apr 26, 2012, 8:09 PM EDT
These are the assemblies needs to added into your application. It may be available in your local machine but the same time when you install into other machine, you make sure it is available there too.
Because it clearly says, the referenced assembly in your application could not load the assembly. Because whatever you mentioned dll needs to loaded at the run time for the execution.
You need to have these assemblies in the installed machine to avoid the run time error.