4 weeks ago
We are 100% sure that we are passing value for the parameter defined in the report.
The empty report is working fine (i.e. no parameter field was defined. Just a hello world report)
We tried installing the following:
CRRuntime_32bit_13_0_12
CRRuntime_32bit_13_0_32
CRRuntime_64bit_13_0_32
Target .Net Framework is 4.5. MVC application
Our Log:
Missing parameter values.
Missing parameter values.
at CrystalDecisions.ReportAppServer.ConvertDotNetToErom.ThrowDotNetException(Exception e)
at CrystalDecisions.ReportSource.EromReportSourceBase.ExportToStream(ExportRequestContext reqContext)
at CrystalDecisions.CrystalReports.Engine.FormatEngine.ExportToStream(ExportRequestContext reqContext)
at CrystalDecisions.CrystalReports.Engine.FormatEngine.Export(ExportRequestContext reqContext)
at CrystalDecisions.CrystalReports.Engine.ReportDocument.ExportToDisk(ExportFormatType formatType, String fileName)
at KWESG.CCI.Web.Client.Helper.CommonModule.ProcessReport(String json, String serverPath) in C:\P
Firstly don't mix versions and always use the latest, see this blog I wrote on upgrading your project:
Note: CR for VS now only supports 4.6, 4.7 or 4.7 framework.
See the platforms support:
SAP Crystal Reports for Visual Studio Supported Platforms
And for all the info go here:
https://help.sap.com/docs/SUPPORT_CONTENT/crystalreports/3354091173.html
I wrote a sample Parameter test app also:
how-to-parameters-in-crystal-reports-for-visual-studio-net
Note, if your data source is a Stored Procedure or Command you need to see the Parameter values before logging onto the DB.
Sample above shows you how I do this.
Export Testing, test it from the Viewer first to confirm what you are setting does work.
If you don't try to set log on info or parameters the Viewer will prompt you for all info, if DB fails then the Client is missing.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
77 | |
9 | |
9 | |
7 | |
7 | |
6 | |
6 | |
6 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.