Quantcast
Channel: SCN : Discussion List - SAP Crystal Reports, version for Visual Studio
Viewing all articles
Browse latest Browse all 3636

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

$
0
0

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();


Viewing all articles
Browse latest Browse all 3636

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>