سلام
من از کد ساده زیر برای گزارش گیری توسط کرستال ریپورت استفاده کردم وپیغام خطای زیر رو داد
public Form1( string name,string family){InitializeComponent();DataSet1 ds = new DataSet1();DataRow br = ds.Tables[0].NewRow();br["name"]=name;br["family"]=family;ds.Tables[0].Rows.Add(br);ReportDocument rd = new ReportDocument();rd.Load(@"c:\users\maniya\documents\visual studio 2010\Projects\cr2\cr2\CrystalReport1.rpt");rd.SetDataSource(ds);crystalReportViewer1.ReportSource = rd;}public Form2(){InitializeComponent();}private void button1_Click(object sender, EventArgs e){Form1 fr = new Form1(textBox1.Text, textBox2.Text);fr.ShowDialog();}پیغام خطا :
Could not load file or assembly 'file:///C:\Program Files (x86)\SAP BusinessObjects\Crystal Reports for .NET Framework 4.0\Common\SAP BusinessObjects Enterprise XI 4.0\win32_x86\dotnet1\crdb_adoplus.dll' or one of its dependencies. The system cannot find the file specified
و زمانی که فایل کریستال ریپورت برنامه رو در bin->debug گذاشتم باز پیغام load report failed داد
شما فکر میکنید اشکال این خطا از کجاست؟
با تشکر



جواب بصورت نقل قول