标签: reporting-services-2016

什么是报表服务器?它与本地报表有何不同以及何时使用它?

我对像 ssrs、水晶报表服务器这样的报表服务器感到困惑...
为什么当我可以连接到 sql 并获取数据然后将其绑定到本地报表并在报表查看器中查看它时我需要报表服务器
什么是报表服务器以及它与本地报表有何不同?
使用报表服务器有什么好处?
在什么情况下使用报表服务器会有用?

reportserver crystal-reports reporting-services ssrs-2012 reporting-services-2016

1
推荐指数
1
解决办法
2006
查看次数

如何为 LocalReport 设置 `EnableExternalImages = true`

我正在使用报告包 - AspNetCore.Reporting -2.1.0。我想打印带有外部图像的 RDLC 报告。渲染为 pdf 期间发生错误。

An error occurred during local report processing.;Report 'Payslip' contains external images. The EnableExternalImages property has not been set for this report.
Run Code Online (Sandbox Code Playgroud)

渲染我的代码的一部分:

string reportFileName = "Payslip.rdlc";
if (paySlip.IsHourlySalary)
    reportFileName = "Payslip.rdlc";
else
{
    reportFileName = "PaySlipForAnnual.rdlc";
}
string ReportPath;
if (_webHostEnvironment != null)
    ReportPath = Path.Combine(_webHostEnvironment.ContentRootPath + "\\TMReports", reportFileName);
else
{
    ReportPath = Path.Combine(Path.GetDirectoryName(System.Reflection.Assembly.GetEntryAssembly().Location) + "/TMReports", reportFileName);
}
LocalReport localReport = new LocalReport(ReportPath);

message += " Before localReport.SetParameters(param);";
message += " Before …
Run Code Online (Sandbox Code Playgroud)

rdlc asp.net-core reporting-services-2016

1
推荐指数
1
解决办法
1073
查看次数