Dear All,
I am facing an error while migrating My code from VB.Net 1.1 to 4.0 and Crystal reports 9.0.2 to 13.0.2000
The strange thing is, whenever I try to export the data in run mode, I am getting error with HasRecords
Failed to retrieve data from the database.
Details: [Database Vendor Code: 6550 ]
Failed to retrieve data from the database.
Details: [Database Vendor Code: 6550 ]
Failed to retrieve data from the database.
Error in File ECARD-LATEST 2420_180_{3FCF39B7-2D8C-4C8E-8408-436F54225B10}.rpt:
Failed to retrieve data from the database.
Details: [Database Vendor Code: 6550 ]
Where,
ECARD-LATEST is the name of RPT file.
_HResult -2147221760 Integer
HasSavedData is False
Source : CrystalDecisions.ReportAppServer.DataSetConversion
StackTrace : at CrystalDecisions.ReportAppServer.ConvertDotNetToErom.ThrowDotNetException(Exception e)
at CrystalDecisions.CrystalReports.Engine.ReportDocument.hasRecords()
at CrystalDecisions.CrystalReports.Engine.ReportDocument.get_HasRecords()
IF I try to export the same record in DEBUG mode, records were successfully exported to PDF format.
Since there were so many records in each run, and every time pressing F11 is not at all a good Idea.
Can anyone tell me the reason behind this.
I am working under 2008 R2 server.
Using Crystal reports 13.0.2000 runtime.
Microsoft VS 2010 environment.
Using Oracle 10g Client.
Using Stored Procedure to Retrieve data.
Please let me know anything more required.
Thanks.