rptdoc = new ReportDocument(); rptdoc.Load(Server.MapPath("LedgerReport.rpt")); rptdoc.SetDataSource(ds.Tables[0]) rptdoc.ExportToHttpResponse(ExportFormatType.PortableDocFormat, this.Response, false, "LedgerReport.pdf"); CrTables = rptdoc.Database.Tables connectdatabase1(); CrystalReportViewer1.ReportSource = rptdoc;
Error in File c:\temp\LedgerReport {345EA6B4-A400-4A75-A28B-9CBC0715C631}.rpt: Operation not yet implemented. Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code. Exception Details: System.Runtime.InteropServices.COMException: Error in File c:\temp\LedgerReport {345EA6B4-A400-4A75-A28B-9CBC0715C631}.rpt: Operation not yet implemented. Line 141: rptdoc.ExportToHttpResponse(ExportFormatType.PortableDocFormat, this.Response, false, "LedgerReport.pdf");
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)