我有一个带有多个值的报告。 带有[允许多个值] =“真”的参数{?names} 问题是,如果我尝试包含超过5000个名称,则报告会出错..:
:该%20request%20could%20not%20be%20submitted%20for%20background%20processing%20%20%20原子%20CrystalDecisions.ReportAppServer.Controllers.ReportSourceClass.Export(ExportOptions%20pExportOptions,%20RequestContext%20pRequestContext )%20%20%20原子%20CrystalDecisions.ReportSource.EromReportSourceBase.ExportToStream(ExportRequestContext%20reqContext)%20%20%20%---%20End%20of%20inner%20exception%20stack%20trace 20 ---%20%20 %20AT%20CrystalDecisions.ReportAppServer.ConvertDotNetToErom.ThrowDotNetException(异常%20E)%20%20%20原子%20CrystalDecisions.ReportSource.EromReportSourceBase.ExportToStream(ExportRequestContext%20reqContext)%20%20%20原子%20CrystalDecisions.CrystalReports.Engine.FormatEngine.ExportToStream (ExportRequestContext%20reqContext)%20%20%20原子%20CrystalDecisions.CrystalReports.Engine.FormatEngine.Export(ExportRequestContext%20reqContext)%20%20%20原子%20CrystalDecisions.CrystalReports.Engine.FormatEngine.Export()%20%20%20原子%20CrystalDecisions.CrystalReports.Engine.ReportDocument.E XPORT()%20%20%20原子%20Web.WCF.MatrixReports.GenerateReport(字符串%20reportName,%20ObservableCollection%601个%20reportParameters)%20英寸%20D:
该应用程序是silverlight。 奇怪的是,如果我在本地机器上使用本地ASP.net开发服务器运行此应用程序,我可以生成超过5000,但如果我在服务器上尝试相同,我会收到错误..
答案 0 :(得分:1)
我的猜测是服务器上的注册表项设置为默认值1000。
在服务器上: - 创建注册表项:HKEY_LOCAL_MACHINE \ SOFTWARE \ Business Objects \ Suite 11.5 \ Crystal Reports \ DatabaseOptions \ LOV - 添加名为“MaxRowsetRecords”的字符串值 - 设置为50000 - 重启服务
您必须确保版本('Suite 11.5'位)与您的版本保持一致。