Sitecore Stimulsoft Web报表设计器已开发的报表无法呈现

时间:2013-03-27 09:57:45

标签: sitecore stimulsoft

我正在使用stimulsoft网络报告设计器在Sitecore中开发一些报告。在那里我需要访问Sitecore主数据库中的数据。我为master数据库创建了一个sql数据连接,并创建了一个数据源。当我尝试使用互动分析查看我的空白报告时,会给出一个像这样的例外

Report /sitecore/shell/Applications/Analytics/Reports/Scam/ScamReport.mrt cannot be rendered : System.Exception: c:\Windows\Temp\jp1ck2g2.0.cs(319,64) : error CS1026: ) expectedc:\Windows\Temp\jp1ck2g2.0.cs(319,74) : error CS1002: ; expectedc:\Windows\Temp\jp1ck2g2.0.cs(319,84) : error CS1002: ; expectedc:\Windows\Temp\jp1ck2g2.0.cs(319,84) : error CS1525: Invalid expression term ')'c:\Windows\Temp\jp1ck2g2.0.cs(319,141) : error CS1026: ) expectedc:\Windows\Temp\jp1ck2g2.0.cs(319,150) : error CS1002: ; expectedc:\Windows\Temp\jp1ck2g2.0.cs(319,160) : error CS1002: ; expectedc:\Windows\Temp\jp1ck2g2.0.cs(319,176) : error CS1002: ; expectedc:\Windows\Temp\jp1ck2g2.0.cs(319,176) : error CS1525: Invalid expression term ')'
   at Stimulsoft.Report.StiReport.Compile(String path, Stream stream, StiOutputType outputType, Boolean autoCreate, Object standaloneReportType)
   at Stimulsoft.Report.StiReport.Compile(String path, Stream stream, StiOutputType outputType, Boolean autoCreate)
   at Stimulsoft.Report.StiReport.Compile(String path, StiOutputType outputType, Boolean autoCreate)
   at Sitecore.Analytics.Reports.ReportFactory.CompileReport(StiReport report, String reportId)
   at Sitecore.Analytics.Reports.ReportFactory.FillReport(StiReport report, Database database, ID reportItemId, Nullable`1 startDate, Nullable`1 endDate, String email, IEnumerable`1 filters)
   at Sitecore.Shell.Applications.Analytics.ReportRunner.ReportPage.FillReport(StiReport report, IEnumerable`1 filterSelection)
   at Sitecore.Shell.Applications.Analytics.ReportRunner.ReportPage.OnLoad(EventArgs e)

有没有人对此有所了解?任何帮助将不胜感激。

1 个答案:

答案 0 :(得分:3)

自从我与Stimulsoft网站报告设计师合作以来,已经有一段时间了,但我注意到你的例外中有一件事:"Invalid expression term ')'"

看起来你的表达方式不正确,你要么有一个')'太多,要么处于无效位置。