0

我有一个包含多个值的报告。带有 [Allow multiple values] = "True" 的参数 {?names} 如果我尝试包含超过 5000 个名称,则报告会出错。

:%20request%20could%20not%20be%20submitted%20for%20background%20processing.%20%20%20at%20CrystalDecisions.ReportAppServer.Controllers.ReportSourceClass.Export(ExportOptions%20pExportOptions,%20RequestContext%20pRequestContext)%20%20% 20at%20CrystalDecisions.ReportSource.EromReportSourceBase.ExportToStream(ExportRequestContext%20reqContext)%20%20%20---%20End%20of%20inner%20exception%20stack%20trace%20---%20%20%20at%20CrystalDecisions.ReportAppServer .ConvertDotNetToErom.ThrowDotNetException(Exception%20e)%20%20%20at%20CrystalDecisions.ReportSource.EromReportSourceBase.ExportToStream(ExportRequestContext%20reqContext)%20%20%20at%20CrystalDecisions.CrystalReports.Engine.FormatEngine.ExportToStream(ExportRequestContext%20reqContext)% 20%20%20at%20CrystalDecisions.CrystalReports.Engine.FormatEngine。导出(ExportRequestContext%20reqContext)%20%20%20at%20CrystalDecisions.CrystalReports.Engine.FormatEngine.Export()%20%20%20at%20CrystalDecisions.CrystalReports.Engine.ReportDocument.Export()%20%20%20at%20Web .WCF.MatrixReports.GenerateReport(String%20reportName,%20ObservableCollection%601%20reportParameters)%20in%20D:

该应用程序是银光。奇怪的是,如果我在本地机器上使用本地 ASP.net 开发服务器运行此应用程序,我可以生成超过 5000 个,但如果我在服务器上尝试相同,我会收到错误。

4

1 回答 1

1

我的猜测是服务器上的注册表项设置为默认值 1000。

在服务器上: - 创建注册表项:HKEY_LOCAL_MACHINE\SOFTWARE\Business Objects\Suite 11.5\Crystal Reports\DatabaseOptions\LOV - 添加名为“MaxRowsetRecords”的字符串值 - 设置为 50000 - 重新启动服务

您必须确保版本(“Suite 11.5”位)与您的版本一致。

于 2011-05-04T03:23:16.337 回答