Skip to Content
0
Former Member
May 28, 2014 at 04:22 AM

Failed to load database information.Error in File BillReport {Some numbers}.rpt

417 Views

Hi Team I am having problm with Crystal Report for Visual Studio 2013.

I have developed windows application with Crystal Report and Visual Studio 2010.

Now when i try to run same code in VS 2013 with Crystal report for VS 2013. i am getting following error.

Failed to load database information.

Error in File BillReport {A677B982-B8FC-4349-8BE6-9D1DA6B33521}.rpt:

Failed to load database information.

Source : "CrystalDecisions.ReportAppServer.DataSetConversion"

I have used oledb connection to fill XML dataset.

That dataset is binded to Crystal report at run time..

Here is my code.

string sqlstr = "";

sqlstr = "select * from billMaster where billid = " + billId + " and merchantName = '"+merchantName+"' ";

cmd = new OleDbCommand(sqlstr, m1.ccon);

if (m1.ccon.State == ConnectionState.Closed)

{

m1.ccon.Open();

}

OleDbDataAdapter da = new OleDbDataAdapter(sqlstr, m1.ccon);

BillPrint bp = new BillPrint();