rainforestnet / CrystalReportsNinja

A small Windows Console App that loads external Crystal Reports file, takes parameter inputs and export to various format or even print to printer
http://www.rainforestnet.com
96 stars 78 forks source link

Missing Parameter #50

Open KurtJankowskiTepe opened 4 years ago

KurtJankowskiTepe commented 4 years ago

Hello,

I like to generate a report with 2 subreports where parameters are passed from the main report. Unfortunatelly I 've got an error "Missing Parameter". Please see the log.

Kind regards Kurt

03-02-2020 22:37:00
03-02-2020 22:37:00 ================== LoadReport, Output File and DB logion =========== 03-02-2020 22:37:02 Report PMJahresAuswertung.rpt loaded successfully 03-02-2020 22:37:02 Output Filename : Strom_2019 03-02-2020 22:37:02 Output Format : pdf 03-02-2020 22:37:02 Number of Parameters detected in the report = 14 03-02-2020 22:37:02 Number of Parameters passed by the users script = 6 03-02-2020 22:37:02
03-02-2020 22:37:02 Applied Parameter 'p_EnergyType' as MultiValue 'False' 03-02-2020 22:37:02 Discrete Parameter : p_EnergyType = 0 03-02-2020 22:37:02 Single Value Parameter p_EnergyType = 0 03-02-2020 22:37:02
03-02-2020 22:37:02 Applied Parameter 'p_Product' as MultiValue 'False' 03-02-2020 22:37:02 Discrete Parameter : p_Product = 'Alle' 03-02-2020 22:37:02 Single Value Parameter p_Product = 'Alle' 03-02-2020 22:37:02
03-02-2020 22:37:02 Applied Parameter 'p_Year' as MultiValue 'False' 03-02-2020 22:37:02 Discrete Parameter : p_Year = '2019' 03-02-2020 22:37:02 Single Value Parameter p_Year = '2019' 03-02-2020 22:37:02
03-02-2020 22:37:02 Applied Parameter 'p_Baseload' as MultiValue 'False' 03-02-2020 22:37:02 Discrete Parameter : p_Baseload = '1' 03-02-2020 22:37:02 Single Value Parameter p_Baseload = '1' 03-02-2020 22:37:02
03-02-2020 22:37:02 Applied Parameter 'p_OutlierRemove' as MultiValue 'False' 03-02-2020 22:37:02 Discrete Parameter : p_OutlierRemove = '1' 03-02-2020 22:37:02 Single Value Parameter p_OutlierRemove = '1' 03-02-2020 22:37:02
03-02-2020 22:37:03 Applied Parameter 'p_OutlierVisible' as MultiValue 'False' 03-02-2020 22:37:03
03-02-2020 22:37:03 Skipped 'Pm-@User' as MultiValue 'False' Parameter in SubReport = 'ValuesAB' as its Linked to Main Report 03-02-2020 22:37:03
03-02-2020 22:37:03 Skipped 'Pm-@f_Product' as MultiValue 'False' Parameter in SubReport = 'ValuesAB' as its Linked to Main Report 03-02-2020 22:37:03
03-02-2020 22:37:03 Skipped 'Pm-@f_Year' as MultiValue 'False' Parameter in SubReport = 'ValuesAB' as its Linked to Main Report 03-02-2020 22:37:03
03-02-2020 22:37:03 Skipped 'Pm-@f_OutlierRemove' as MultiValue 'False' Parameter in SubReport = 'ValuesAB' as its Linked to Main Report 03-02-2020 22:37:03
03-02-2020 22:37:03 Skipped 'Pm-@f_OutlierVisible' as MultiValue 'False' Parameter in SubReport = 'ValuesAB' as its Linked to Main Report 03-02-2020 22:37:03
03-02-2020 22:37:03 Skipped 'Pm-@f_EnergyType' as MultiValue 'False' Parameter in SubReport = 'ValuesAB' as its Linked to Main Report 03-02-2020 22:37:03
03-02-2020 22:37:03 Skipped 'Pm-@User' as MultiValue 'False' Parameter in SubReport = 'ValuesC' as its Linked to Main Report 03-02-2020 22:37:03
03-02-2020 22:37:03 Skipped 'Pm-@f_OutlierVisible' as MultiValue 'False' Parameter in SubReport = 'ValuesC' as its Linked to Main Report 03-02-2020 22:37:03
03-02-2020 22:37:03
03-02-2020 22:37:03 ================== STEP = PerformOutput ============================ 03-02-2020 22:37:03
03-02-2020 22:37:03 ===================Logs and Errors ================================= 03-02-2020 22:37:03 Message: Fehlende Parameterwerte. 03-02-2020 22:37:03 HResult: -2147215870 03-02-2020 22:37:03 Data: System.Collections.ListDictionaryInternal 03-02-2020 22:37:03 Inner Exception: System.Runtime.InteropServices.COMException (0x8004100E): Fehlende Parameterwerte. bei CrystalDecisions.ReportAppServer.Controllers.ReportSourceClass.Export(ExportOptions pExportOptions, RequestContext pRequestContext) bei CrystalDecisions.ReportSource.EromReportSourceBase.ExportToStream(ExportRequestContext reqContext) 03-02-2020 22:37:03 StackTrace: bei CrystalDecisions.ReportAppServer.ConvertDotNetToErom.ThrowDotNetException(Exception e) bei CrystalDecisions.ReportSource.EromReportSourceBase.ExportToStream(ExportRequestContext reqContext) bei CrystalDecisions.CrystalReports.Engine.FormatEngine.ExportToStream(ExportRequestContext reqContext) bei CrystalDecisions.CrystalReports.Engine.FormatEngine.Export(ExportRequestContext reqContext) bei CrystalDecisions.CrystalReports.Engine.FormatEngine.Export() bei CrystalDecisions.CrystalReports.Engine.ReportDocument.Export() bei CrystalReportsNinja.ReportProcessor.PerformOutput() bei CrystalReportsNinja.ReportProcessor.Run() 03-02-2020 22:37:03 ====================================================================