Symptom
Resolution
protected void Page_Load(object sender, EventArgs e)
{
ServerFileReport sfr = new ServerFileReport();
sfr.WebServiceUrl = "http://localhost/CrystalReportViewers115/ServerFileReportService.asmx";
sfr.ReportPath = "chart.rpt";
sfr.ObjectType = EnumServerFileType.REPORT;
//
newServerFileReport longRPT = new newServerFileReport(sfr);
CrystalReportViewer1.ReportSource = longRPT;
}
public class newServerFileReport : CrystalDecisions.ReportSource.RemoteReportSource{
public newServerFileReport(ServerFileReport report)
: base(report, false)
{
m_proxy.Timeout = 600000;
report.GetExtraData();
report.ObjectType = EnumServerFileType.REPORT;
report.ToUri();
}
}
Keywords
forum thread, server, file , KBA , BI-DEV-NET-SDK , .NET SDK / COM SDK , How To