Logon failed. Error in File C:\windows\TEMP\Reportname{F8EE4295-91EE-476B-95A7-E950D05B41FD}.rpt: Unable to connect: incorrect log on parameters.
protected void Page_Load(object sender, EventArgs e) { this.CrvSingleGTINReport.SeparatePages = true; Data(); reportDoc.Load(reportFilePath); ReportdataLoad (reportDoc); CrvSingleGTINReport.ShowFirstPage(); } catch (Exception ex) { } } public void ReportdataLoad(ReportDocument reportDocument) { DataTable Data; try { if (Session["Data"] != null)// Data tables loaded previously { Data = new DataTable(); Data = (DataTable)Session["Data"]; reportDocument.SetDataSource(Data); reportDoc.PrintOptions.PaperOrientation = PaperOrientation.Landscape; CrvSingleGTINReport.ReportSource = reportDoc; } } catch (Exception ex) { }
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)