我正在尝试使用桌面版 Stimulsoft 工具设置报告,以从头开始创建新报告。在按照说明书进行设置后,我去查看 Web 界面的参与分析部分中的报告,我看到了这个错误:
报告 /sitecore/shell/Applications/Analytics/Reports/NewReport.mrt 无法呈现:System.Exception:c:\Windows\Temp\t55vr4jf.0.cs(113,40):错误 CS0246:类型或命名空间名称'找不到 Sitecore'(您是否缺少 using 指令或程序集引用?)
在 Stimulsoft.Report.StiReport.Compile(String path, Stream stream, StiOutputType outputType, Boolean autoCreate) 在 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,在 Sitecore.Shell.Applications.Analytics.ReportRunner.ReportPage.FillReport(StiReport report, IEnumerable1 filterSelection) 在 Sitecore.Shell.Applications.Analytics.ReportRunner.ReportPage 中的 Nullable1 startDate、Nullable1 endDate、字符串电子邮件、IEnumerable1 过滤器。OnLoad(EventArgs e)
我尝试使用 Windows 界面添加对我的报告的更多引用,但我尝试过的一些没有进行任何更改,而其他人只是添加了更多相同的错误。
当我在设计器中预览报告时,我得到了不同的错误:
错误!编译错误在“Report”报告中发现编译错误:“Reports.Report.PagesDataSoure”不包含“AddRange”的定义,并且没有接受“Reports.Report”类型的第一个参数的扩展方法“AddRange” .PagesDataSource' 可以找到(您是否缺少 using 指令或程序集引用?)
错误!编译错误在“Report”报告中发现编译错误:“Reports.Report.PagesDataSoure”不包含“Clear”的定义,并且没有扩展方法“Clear”接受“Reports.Report”类型的第一个参数.PagesDataSource' 可以找到(您是否缺少 using 指令或程序集引用?)
任何想法都将受到欢迎!谢谢!