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

Newtonsoft.Json #63

Open sharmadeepak011987 opened 2 years ago

sharmadeepak011987 commented 2 years ago

Hi Team, I am getting the below-mentioned error. Error Message-Could not load file or assembly 'Newtonsoft.Json, Version=12.0.0.0, Culture=neutral, PublicKeyToken=30ad4fe6b2a6aeed' or one of its dependencies. The located assembly's manifest definition does not match the assembly reference. (Exception from HRESULT: 0x801 31040)

mc-cp commented 2 years ago

I am receiving the same error using the latest release. Please let me know if there is a solution or workaround!

Jachap commented 2 years ago

I worked around this problem (at least for my use case) by editing RdlMigration.exe.config Change the tag: <bindingRedirect oldVersion="0.0.0.0-12.0.0.0" newVersion="12.0.0.0" /> to: <bindingRedirect oldVersion="0.0.0.0-13.0.0.0" newVersion="13.0.0.0" />