.rpt files version:
.Net VS2010
Current Development Environment:
Windows 2008 (Operating System)
Visual Studio 2010
SAP Crystal Report Runtime for .Net Framework 4
Crystal Report addin for Visual Studio 2010
Problem Statement:
webservice migrated to VS 2010, While running the code getting "Missing Parameter Values". Service under VS 2008 it is working fine, but once migrated its not working.
Code Segment:
ReportDocument cryRpt = new ReportDocument();
cryRpt.PrintToPrinter(piCopiesToPrinter, true, iNewStartPg, iNewEndPg);
at CrystalDecisions.ReportAppServer.ConvertDotNetToErom.ThrowDotNetException(Exception e)
at CrystalDecisions.ReportSource.EromReportSourceBase.HandleException(Exception exception)
at CrystalDecisions.ReportSource.EromReportSourceBase.GetLastPageNumber(ReportPageRequestContext reqContext)
at CrystalDecisions.CrystalReports.Engine.FormatEngine.PrintToPrinter(Int32 nCopies, Boolean collated, Int32 startPageN, Int32 endPageN)
at CrystalDecisions.CrystalReports.Engine.ReportDocument.PrintToPrinter(Int32 nCopies, Boolean collated, Int32 startPageN, Int32 endPageN)
Other Observation:
Crystal Dll Details for VS 2010:
CrystalDecisions.CrystalReports.Engine
Runtime Version :v2.0.50727
Version : 13.0.2000.0
------------
Crystal Dll Details for VS 2008:
CrystalDecisions.CrystalReports.Engine
Runtime Version :v1.0.3705
Version : 10.0.3300.0
Note:
ADAPT01648035 | Error; "Missing Parameter Values" when running a parameterized report using Crystal Reports | 461315 |
as SAP adviced, installed SP 5 but still getting the same error.