Today I found this issue when trying to compile a FetchXML-based report in Visual Studio 2015 I got an error. So this story starts when I downloaded a working rdl file from MS CRM D365 and made some minor changes in it inside the visual studio. I was trying to preview this existing report in Visual Studio 2015 I got this following error:
After banging my head for some time, I found that this issue occurred due to the Assembly version of Microsoft.Crm.Reporting.RdlHelper,
to fix this issue follow the below steps:
- Click on Report rdl file in solution explorer.
- Go to the Report section in the header in visual studio.
- Click on Report Properties, It will open property section.
Now go to References Tab and browse to the correct version of the assembly in the BidExtensions folder, even if the Microsoft.Crm.Reporting.RdlHelper is listed, it may be that this is the wrong version…
The earlier version of Microsoft.Crm.Reporting.RdlHelper was 18.104.22.168 so we need to update it to 22.214.171.124 in my case.
In our case it was located here C:\Windows\Microsoft.NET\assembly\GAC_MSIL\Microsoft.Crm.Reporting.RdlHelper\v4.0_126.96.36.199__31bf3856ad364e35
although the exact location will depend on which version of the helper you have installed.
Remove any pre-existing references (which are not necessary or maybe different version of the dll).
I hope this will help you in solving your issue, signing off!