Hello support team,
I'm trying to display a SSRS report,
but I get the following exception in the browser (see below).
I can open the report from the
SharePoint server and it works.
I can also call other reports
from my WebApi/JavaScript Solution and they are working also, but this one not.
Technologies:
- MS Web API with .Net Framework 4.7
- JavaScript Essentials 1
- SSRS Reports that are hosted in SharePoint
2013 Server (on prem)
Error message from the browser:
---------------------------
Meldung von Webseite
---------------------------
_reportLoaded:Sf_Exception - System.InvalidOperationException:
Fehler im XML-Dokument (2,3789). ---> System.FormatException: Die
Zeichenfolge '=IIF(ROUND(AVG(IIF(Fields!KPIX_SYSTEM_CODE.Value =
"K003", Fields!KPI_VALUE.Value, Nothing)))>0,True, False)' kein
gültiger Boolean-Wert.
bei
System.Xml.XmlConvert.ToBoolean(String s)
bei
Microsoft.Xml.Serialization.GeneratedAssembly.XmlSerializationReaderReportDefinition.Read126_ChartDataLabel(Boolean
isNullable, Boolean checkType)
bei
Microsoft.Xml.Serialization.GeneratedAssembly.XmlSerializationReaderReportDefinition.Read129_ChartDataPoint(Boolean
isNullable, Boolean checkType)
bei
Microsoft.Xml.Serialization.GeneratedAssembly.XmlSerializationReaderReportDefinition.Read139_ChartSeries(Boolean
isNullable, Boolean checkType)
bei
Microsoft.Xml.Serialization.GeneratedAssembly.XmlSerializationReaderReportDefinition.Read143_ChartData(Boolean
isNullable, Boolean checkType)
bei
Microsoft.Xml.Serialization.GeneratedAssembly.XmlSerializationReaderReportDefinition.Read182_Chart(Boolean
isNullable, Boolean checkType)
bei
Microsoft.Xml.Serialization.GeneratedAssembly.XmlSerializationReaderReportDefinition.Read261_Rectangle(Boolean
isNullable, Boolean checkType)
bei
Microsoft.Xml.Serialization.GeneratedAssembly.XmlSerializationReaderReportDefinition.Read262_Body(Boolean
isNullable, Boolean checkType)
bei
Microsoft.Xml.Serialization.GeneratedAssembly.XmlSerializationReaderReportDefinition.Read267_ReportSection(Boolean
isNullable, Boolean checkType)
bei
Microsoft.Xml.Serialization.GeneratedAssembly.XmlSerializationReaderReportDefinition.Read301_ReportDefinition(Boolean
isNullable, Boolean checkType)
bei
Microsoft.Xml.Serialization.GeneratedAssembly.XmlSerializationReaderReportDefinition.Read302_Report()
---
Ende der internen Ausnahmestapelüberwachung ---
bei
Syncfusion.RDL.Data.ReportModel.ProcessReport()
bei
Syncfusion.EJ.ReportViewer.ReportViewerLayoutModel.LoadReport()
bei
S…
---------------------------
OK
---------------------------
the corresponding section from the report file: