on 12-09-2008 10:18 AM
I use the method below to open report from CReports server:
privatevoid OpenSampleReport_unmanagedRAS()
{
ISCDReportClientDocument rcd = new ReportClientDocumentClass();
// Set the file path of the sample report.
string sampleReportPath = @"C:\Program Files\Business Objects\BusinessObjects Enterprise 12.0\Samples\en\Reports\Demonstration\World Sales Report.rpt";
object path = (object)sampleReportPath;
// Set the name of the RAS server and open the report.
rcd.ReportAppServer = "be-avis2008:1566";
rcd.Open(ref path, (int)CdReportClientDocumentOpenOptionsEnum.cdReportClientDocumentOpenAsReadOnly);
// Set the report source of the Crystal Report viewer to the instance of the report.
crystalReportViewer.ReportSource = rcd;
}
However it throws error "Microsoft JScript runtime error: 'bobj' is undefined" and then show "Culture ID 1024 (0x0400) is not a supported culture. Parameter name: culture " on the page, also
anyone know why?
I recommend running [Fiddler|http://www.fiddlertool.com/fiddler/] to see if postback to retrieve a JavaScript file from the server is failing.
Likely the crystalreportviewer12 viewer component folder is misplaced on IIS.
If not in Default Web App, then define it where your app is looking for it.
Sincerely,
Ted Ueda
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
78 | |
10 | |
9 | |
7 | |
6 | |
6 | |
5 | |
5 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.