Ashwini  Soni

Ashwini Soni

  • NA
  • 3
  • 1k

I am facing a problem during making of crystal report

Jul 14 2014 1:44 PM
During the execution of crystal report in Visual Studio 10, i am facing a problem which tells that a dll file is missing or any dependencies of it is missing.
i have already tried all alternative solutions for this.but the problem is not solved.
if is there any permanent solution for this then please help me......

here is the error message

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.

and this the code that i am using 
        SqlDataAdapter RiicoDa;
        DataSet RiicoDs;
        CrystalReport2 obj = new CrystalReport2();
        private void Form1_Load(object sender, EventArgs e)
        {
            RiicoDa = new SqlDataAdapter("select * from info", @"Database=ashvini;data Source=ASHWINI-PC\SQLEXPRESS;integrated security=true");
            RiicoDs = new DataSet();
            RiicoDa.Fill(RiicoDs);
            obj.SetDataSource(RiicoDs.Tables[0]);
            crystalReportViewer1.ReportSource = obj;
        }

Answers (1)