19th Ave New York, NY 95822, USA

Microsoft.CRM.Reporting.RdlHelper Error in SSRS Report

Error while loading code module ‘Microsoft.CRM.Reporting.RdlHelper’. Could not load file or assembly error in report inside Dynamics 365

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:
  1. Click on Report rdl file in solution explorer.
  2. Go to the Report section in the header in visual studio.
  3. 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 7.0.0.0 so we need to update it to 9.0.0.0 in my case.

In our case it was located here C:\Windows\Microsoft.NET\assembly\GAC_MSIL\Microsoft.Crm.Reporting.RdlHelper\v4.0_9.0.0.0__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!

 

Related Posts

Leave a comment