Angular BoldReport无法从SSRS报表服务器加载RDL报表

Angular BoldReport无法从SSRS报表服务器加载RDL报表,angular,asp.net-core,reporting-services,ssrs-2008,syncfusion,Angular,Asp.net Core,Reporting Services,Ssrs 2008,Syncfusion,我在angular项目中使用syncfusion粗体报告,并使用SQL Server 2017创建RDL报告。我想做的是在BoldReportViewer上查看SSRS报告,方法如下。但不幸的是,它面临着某种错误,并且报告无法在客户端查看 以下是错误: 细节 <bold-reportviewer id="reportViewer_Control" [reportServiceUrl]="serviceUrl" [processingMode]=&q

我在angular项目中使用syncfusion粗体报告,并使用SQL Server 2017创建RDL报告。我想做的是在BoldReportViewer上查看SSRS报告,方法如下。但不幸的是,它面临着某种错误,并且报告无法在客户端查看

以下是错误:

细节

<bold-reportviewer id="reportViewer_Control" [reportServiceUrl]="serviceUrl" [processingMode]="Remote" [reportServerUrl]="serverUrl" [reportPath]="reportPath">
</bold-reportviewer>
提供有效的报表服务器信息(ReportServerURL、ReportServerCredential、ReportPath)以从服务器检索报表流。无法连接报表服务器服务。位于Syncfusion.Report.Core.Intenal.Server.SqlReportingServer2017.GetReportDefinition(字符串和异常)位于BoldReports.Intenal.Server.ServerReportProcessor.GetReportDefinition(字符串和异常)位于BoldReports.RDL.Data.ReportModel.ProcessServerReport()

通过理解上述错误,我认为存在一些凭证、服务器URL问题。但在代码中更改这些参数似乎并不能解决这个错误

代码

    public void OnInitReportOptions(ReportViewerOptions reportOption)
    {
        //Add SSRS Report Server and data source credentials
        reportOption.ReportModel.ReportServerCredential = new System.Net.NetworkCredential("sa", "123");

        reportOption.ReportModel.DataSourceCredentials.Add(new BoldReports.Web.DataSourceCredentials("ReportServer", "sa", "123"));
    }
报表服务器配置管理器:

应用程序组件.ts

export class AppComponent {
  public serviceUrl: string;
  public serverUrl: string;
  public reportPath: string;

  constructor() {
    this.serviceUrl = 'https://localhost:44304/api/ReportViewer';
    this.serverUrl = 'https://desktop-dfe3e8t/ReportServer';
    this.reportPath = '/PurchaseRequests';
  }
}
app.component.html

<bold-reportviewer id="reportViewer_Control" [reportServiceUrl]="serviceUrl" [processingMode]="Remote" [reportServerUrl]="serverUrl" [reportPath]="reportPath">
</bold-reportviewer>

如果我点击带有服务器URL的浏览器,它会显示我的SSRS报告

但当我运行我的angular应用程序时,我的查看器正在加载,它会显示上面的错误


请指导我在上述代码或步骤中的错误,以角度查看粗体报告。

如果您正在使用ASP.NET核心服务进行报表查看器,那么您应该使用Web门户URL进行报表服务器URL,而不是使用报表服务URL进行SSR。此外,请确保您已启用用户从SSRS获取报告以进行报告处理所需的功能。

此处的Syncfusion说明()表示使用Web服务URL,但是我已经在使用Web门户URL了,请在这个.serverurl中查看我上面的代码。另一方面,我在这个.serviceurl.Hi Ahsan中使用Web api URL,我也面临同样的问题,你找到解决方案了吗?如果是,请分享解决方案。