Object reference not set to an instance of an object. - at DevExpress.XtraPrinting.PrintingSystemBase.OnCreateDocumentException(ExceptionEventArgs args) at DevExpress.XtraReports.UI.XtraReport.TryCreateDocument(Single progressRange, Boolean buildPagesInBackground) at LDMain.Web.Reports.RptFinLedger.ExportSinglePdf(String FilePath, String DownloadFile, List`1& _client, String& tcPDFFileName) at LDAddonModules.Report.ReportService.MyService.getAdityaFinancialstatementPDF(String tcClientcode, DateTime tdStartdate, DateTime tdEnddate, String p_UserName, String p_Password, String p_DataString, String p_FirmNumber, String p_FinancialYear) Object reference not set to an instance of an object. - at DevExpress.XtraPrinting.PrintingSystemBase.OnCreateDocumentException(ExceptionEventArgs args) at DevExpress.XtraReports.UI.XtraReport.TryCreateDocument(Single progressRange, Boolean buildPagesInBackground) at LDMain.Web.Reports.RptFinLedger.ExportSinglePdf(String FilePath, String DownloadFile, List`1& _client, String& tcPDFFileName) at LDAddonModules.Report.ReportService.MyService.getAdityaFinancialstatementPDF(String tcClientcode, DateTime tdStartdate, DateTime tdEnddate, String p_UserName, String p_Password, String p_DataString, String p_FirmNumber, String p_FinancialYear) 01~Error Description : Index and length must refer to a location within the string. Parameter name: length Method : InitconnectionLine : 0 - at DAL.DBConnection.Initconnection(modUser moduser, ldclasslibrary LDClassLib, String Optionname) at DAL.dalLDClassLibrary..ctor(modUser currUser) at BLL.bllLDClassLibrary.LD_DataTable(String Sql) at LDAddonModules.Report.ReportService.MyService.getAdityaFinancialstatementPDF(String tcClientcode, DateTime tdStartdate, DateTime tdEnddate, String p_UserName, String p_Password, String p_DataString, String p_FirmNumber, String p_FinancialYear) 01~Error Description : Index and length must refer to a location within the string. Parameter name: length Method : InitconnectionLine : 0 - at DAL.DBConnection.Initconnection(modUser moduser, ldclasslibrary LDClassLib, String Optionname) at DAL.dalLDClassLibrary..ctor(modUser currUser) at BLL.bllLDClassLibrary.LD_DataTable(String Sql) at LDAddonModules.Report.ReportService.MyService.getAdityaFinancialstatementPDF(String tcClientcode, DateTime tdStartdate, DateTime tdEnddate, String p_UserName, String p_Password, String p_DataString, String p_FirmNumber, String p_FinancialYear) 01~Error Description : Index and length must refer to a location within the string. Parameter name: length Method : InitconnectionLine : 0 - at DAL.DBConnection.Initconnection(modUser moduser, ldclasslibrary LDClassLib, String Optionname) at DAL.dalLDClassLibrary..ctor(modUser currUser) at BLL.bllLDClassLibrary.LD_DataTable(String Sql) at LDAddonModules.Report.ReportService.MyService.getAdityaFinancialstatementPDF(String tcClientcode, DateTime tdStartdate, DateTime tdEnddate, String p_UserName, String p_Password, String p_DataString, String p_FirmNumber, String p_FinancialYear) Object reference not set to an instance of an object. - at DevExpress.XtraPrinting.PrintingSystemBase.OnCreateDocumentException(ExceptionEventArgs args) at DevExpress.XtraReports.UI.XtraReport.TryCreateDocument(Single progressRange, Boolean buildPagesInBackground) at DevExpress.XtraReports.UI.XtraReport.CreateIfEmpty(Single progressRange, Boolean buildPagesInBackground) at DevExpress.XtraReports.UI.XtraReport.<>c__DisplayClass69.<ExportToPdf>b__68() at DevExpress.XtraReports.UI.XtraReport.PerformWithStreaming(Action action) at LDAddonModules.Report.ReportService.MyService.getAdityaFinancialstatementPDF(String tcClientcode, DateTime tdStartdate, DateTime tdEnddate, String p_UserName, String p_Password, String p_DataString, String p_FirmNumber, String p_FinancialYear) Object reference not set to an instance of an object. - at DevExpress.XtraPrinting.PrintingSystemBase.OnCreateDocumentException(ExceptionEventArgs args) at DevExpress.XtraReports.UI.XtraReport.TryCreateDocument(Single progressRange, Boolean buildPagesInBackground) at DevExpress.XtraReports.UI.XtraReport.CreateIfEmpty(Single progressRange, Boolean buildPagesInBackground) at DevExpress.XtraReports.UI.XtraReport.<>c__DisplayClass69.<ExportToPdf>b__68() at DevExpress.XtraReports.UI.XtraReport.PerformWithStreaming(Action action) at LDAddonModules.Report.ReportService.MyService.getAdityaFinancialstatementPDF(String tcClientcode, DateTime tdStartdate, DateTime tdEnddate, String p_UserName, String p_Password, String p_DataString, String p_FirmNumber, String p_FinancialYear) Object reference not set to an instance of an object. - at DevExpress.XtraPrinting.PrintingSystemBase.OnCreateDocumentException(ExceptionEventArgs args) at DevExpress.XtraReports.UI.XtraReport.TryCreateDocument(Single progressRange, Boolean buildPagesInBackground) at DevExpress.XtraReports.UI.XtraReport.CreateIfEmpty(Single progressRange, Boolean buildPagesInBackground) at DevExpress.XtraReports.UI.XtraReport.<>c__DisplayClass69.<ExportToPdf>b__68() at DevExpress.XtraReports.UI.XtraReport.PerformWithStreaming(Action action) at LDAddonModules.Report.ReportService.MyService.getAdityaFinancialstatementPDF(String tcClientcode, DateTime tdStartdate, DateTime tdEnddate, String p_UserName, String p_Password, String p_DataString, String p_FirmNumber, String p_FinancialYear) Object reference not set to an instance of an object. - at DevExpress.XtraPrinting.PrintingSystemBase.OnCreateDocumentException(ExceptionEventArgs args) at DevExpress.XtraReports.UI.XtraReport.TryCreateDocument(Single progressRange, Boolean buildPagesInBackground) at DevExpress.XtraReports.UI.XtraReport.CreateIfEmpty(Single progressRange, Boolean buildPagesInBackground) at DevExpress.XtraReports.UI.XtraReport.<>c__DisplayClass69.<ExportToPdf>b__68() at DevExpress.XtraReports.UI.XtraReport.PerformWithStreaming(Action action) at LDAddonModules.Report.ReportService.MyService.getAdityaFinancialstatementPDF(String tcClientcode, DateTime tdStartdate, DateTime tdEnddate, String p_UserName, String p_Password, String p_DataString, String p_FirmNumber, String p_FinancialYear) Object reference not set to an instance of an object. - at DevExpress.XtraPrinting.PrintingSystemBase.OnCreateDocumentException(ExceptionEventArgs args) at DevExpress.XtraReports.UI.XtraReport.TryCreateDocument(Single progressRange, Boolean buildPagesInBackground) at DevExpress.XtraReports.UI.XtraReport.CreateIfEmpty(Single progressRange, Boolean buildPagesInBackground) at DevExpress.XtraReports.UI.XtraReport.<>c__DisplayClass69.<ExportToPdf>b__68() at DevExpress.XtraReports.UI.XtraReport.PerformWithStreaming(Action action) at LDAddonModules.Report.ReportService.MyService.getAdityaFinancialstatementPDF(String tcClientcode, DateTime tdStartdate, DateTime tdEnddate, String p_UserName, String p_Password, String p_DataString, String p_FirmNumber, String p_FinancialYear) 01~Error Description : Index and length must refer to a location within the string. Parameter name: length Method : InitconnectionLine : 0 - at DAL.DBConnection.Initconnection(modUser moduser, ldclasslibrary LDClassLib, String Optionname) at DAL.dalLDClassLibrary..ctor(modUser currUser) at BLL.bllLDClassLibrary.LD_DataTable(String Sql) at LDAddonModules.Report.ReportService.MyService.getAdityaFinancialstatementPDF(String tcClientcode, DateTime tdStartdate, DateTime tdEnddate, String p_UserName, String p_Password, String p_DataString, String p_FirmNumber, String p_FinancialYear) 01~Error Description : Index and length must refer to a location within the string. Parameter name: length Method : InitconnectionLine : 0 - at DAL.DBConnection.Initconnection(modUser moduser, ldclasslibrary LDClassLib, String Optionname) at DAL.dalLDClassLibrary..ctor(modUser currUser) at BLL.bllLDClassLibrary.LD_DataTable(String Sql) at LDAddonModules.Report.ReportService.MyService.getAdityaFinancialstatementPDF(String tcClientcode, DateTime tdStartdate, DateTime tdEnddate, String p_UserName, String p_Password, String p_DataString, String p_FirmNumber, String p_FinancialYear) No Data Found - at LDAddonModules.Report.ReportService.MyService.getWACashCumulativeDetails(String tcClientcode, DateTime tdStartdate, DateTime tdEnddate, DateTime tdMarketDate, Int32 tnOptionType, Boolean tnIncludeCharges, String p_UserName, String p_Password, String p_DataString, String p_FirmNumber, String p_FinancialYear, String& tcPDFFileName) 01~Error Description : Index and length must refer to a location within the string. Parameter name: length Method : InitconnectionLine : 0 - at DAL.DBConnection.Initconnection(modUser moduser, ldclasslibrary LDClassLib, String Optionname) at DAL.dalLDClassLibrary..ctor(modUser currUser) at BLL.bllLDClassLibrary.LD_DataTable(String Sql) at LDAddonModules.Report.ReportService.MyService.getAdityaFinancialstatementPDF(String tcClientcode, DateTime tdStartdate, DateTime tdEnddate, String p_UserName, String p_Password, String p_DataString, String p_FirmNumber, String p_FinancialYear) No Data Found - at LDAddonModules.Report.ReportService.MyService.getWACashCumulativeDetails(String tcClientcode, DateTime tdStartdate, DateTime tdEnddate, DateTime tdMarketDate, Int32 tnOptionType, Boolean tnIncludeCharges, String p_UserName, String p_Password, String p_DataString, String p_FirmNumber, String p_FinancialYear, String& tcPDFFileName) 01~Error Description : Index and length must refer to a location within the string. Parameter name: length Method : InitconnectionLine : 0 - at DAL.DBConnection.Initconnection(modUser moduser, ldclasslibrary LDClassLib, String Optionname) at DAL.dalLDClassLibrary..ctor(modUser currUser) at BLL.bllLDClassLibrary.LD_DataTable(String Sql) at LDAddonModules.Report.ReportService.MyService.getAdityaFinancialstatementPDF(String tcClientcode, DateTime tdStartdate, DateTime tdEnddate, String p_UserName, String p_Password, String p_DataString, String p_FirmNumber, String p_FinancialYear) No Data Found - at LDAddonModules.Report.ReportService.MyService.getWACashCumulativeDetails(String tcClientcode, DateTime tdStartdate, DateTime tdEnddate, DateTime tdMarketDate, Int32 tnOptionType, Boolean tnIncludeCharges, String p_UserName, String p_Password, String p_DataString, String p_FirmNumber, String p_FinancialYear, String& tcPDFFileName) No Data Found - at LDAddonModules.Report.ReportService.MyService.getWACashCumulativeDetails(String tcClientcode, DateTime tdStartdate, DateTime tdEnddate, DateTime tdMarketDate, Int32 tnOptionType, Boolean tnIncludeCharges, String p_UserName, String p_Password, String p_DataString, String p_FirmNumber, String p_FinancialYear, String& tcPDFFileName) No Data Found - at LDAddonModules.Report.ReportService.MyService.getWACashCumulativeDetails(String tcClientcode, DateTime tdStartdate, DateTime tdEnddate, DateTime tdMarketDate, Int32 tnOptionType, Boolean tnIncludeCharges, String p_UserName, String p_Password, String p_DataString, String p_FirmNumber, String p_FinancialYear, String& tcPDFFileName) No Data Found - at LDAddonModules.Report.ReportService.MyService.getWACashCumulativeDetails(String tcClientcode, DateTime tdStartdate, DateTime tdEnddate, DateTime tdMarketDate, Int32 tnOptionType, Boolean tnIncludeCharges, String p_UserName, String p_Password, String p_DataString, String p_FirmNumber, String p_FinancialYear, String& tcPDFFileName) No Data Found - at LDAddonModules.Report.ReportService.MyService.getWACashCumulativeDetails(String tcClientcode, DateTime tdStartdate, DateTime tdEnddate, DateTime tdMarketDate, Int32 tnOptionType, Boolean tnIncludeCharges, String p_UserName, String p_Password, String p_DataString, String p_FirmNumber, String p_FinancialYear, String& tcPDFFileName) 01~Error Description : Index and length must refer to a location within the string. Parameter name: length Method : InitconnectionLine : 0 - at DAL.DBConnection.Initconnection(modUser moduser, ldclasslibrary LDClassLib, String Optionname) at DAL.dalLDClassLibrary..ctor(modUser currUser) at BLL.bllLDClassLibrary.LD_DataTable(String Sql) at LDAddonModules.Report.ReportService.MyService.getAdityaFinancialstatementPDF(String tcClientcode, DateTime tdStartdate, DateTime tdEnddate, String p_UserName, String p_Password, String p_DataString, String p_FirmNumber, String p_FinancialYear) No Data Found - at LDAddonModules.Report.ReportService.MyService.getWACashCumulativeDetails(String tcClientcode, DateTime tdStartdate, DateTime tdEnddate, DateTime tdMarketDate, Int32 tnOptionType, Boolean tnIncludeCharges, String p_UserName, String p_Password, String p_DataString, String p_FirmNumber, String p_FinancialYear, String& tcPDFFileName)