An error has occured while processing Report '':
Exception has been thrown by the target of an invocation.
The only thing in that report is an image!
Telerik.Reporting.
ReportBook masterReport = new Telerik.Reporting.ReportBook();
foreach (string sUrl in MoreUrls)
{
NCATReporting.
CreateReport Myreport = new NCATReporting.CreateReport();
// generate the image and binding it does not work?
WebClient client = new WebClient();
MemoryStream MemStream = new MemoryStream(client.DownloadData(sUrl));
Image image = Image.FromStream(MemStream);
Bitmap imageBitmap = new Bitmap(image);
Myreport.MapReport.Value = imageBitmap;
masterReport.Reports.Add(Myreport);
}
Telerik.Reporting.Processing.
ReportProcessor reportProcessor =
new Telerik.Reporting.Processing.ReportProcessor();
Telerik.Reporting.Processing.
RenderingResult resultPDF = reportProcessor.RenderReport("PDF", masterReport, null);