microsoft / RdlMigration

Tool that converts RDL from a SQL Server Reporting Services Server or Power BI Report server and published to a Power BI premium workspace
MIT License
110 stars 44 forks source link

Client found response content type of 'text/html; charset=UTF-8', but expected 'text/xml'. #44

Open LouisAgra opened 2 years ago

LouisAgra commented 2 years ago

Having this issue when running the code.

Specifically: server.GetItemType(itemPath) == SoapApiConstants.Report

Also see that rdlFileIO returns mostly nulls, I am able to connect to the SSRS Repository from the link defined on the App.Config:

  <setting name="RdlMigration_IReportingService2010" serializeAs="String">
    <value>http://localhost:80/ReportServer/ReportService2016.asmx</value>

Any help would be appreciated, Thanks

LouisAgra commented 2 years ago

It seems it is not detecting the Paginated reports inside the folder but it is trying to convert the html page entirely.

Client found response content type of 'text/html; charset=UTF-8', but expected 'text/xml'. The request failed with the error message:

<!DOCTYPE html>

Exact same code for the HTML of the folder