cancel
Showing results for 
Search instead for 
Did you mean: 

Open unmanaged reports with error "'bobj' is undefined"

Former Member
0 Kudos

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?

Accepted Solutions (1)

Accepted Solutions (1)

ted_ueda
Employee
Employee
0 Kudos

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

Answers (0)