Report veiwer Error in Server RRS feed

  • Question

  • Hi guys,

    I have a question. 

    I have researched about `Could not load file or assembly 'Microsoft.ReportViewer.ProcessingObjectModel, Version=, Culture=neutral, PublicKeyToken=89845dcd8080cc91'` and I have found a lots of answers that fix this problem but I have not found why it is happen.

    My system is composed by:

     - Business Layer 
     - Data Layer
     - Service Layer
     - Web Layer
     - Api Layer

    Only Service and Web Layers are using Microsoft.ReportViewer. Web and Api have reference to Business, Data and Service Layers.

    When I publish the Web on Azure, it works fine but there is this error when I publish the Api on Azure. They are published in different cloud service.

    My API do not uses Microsoft.ReportViewer, so why `Microsoft.ReportViewer.ProcessingObjectModel` is requested when I hit any endpoint?
    Tuesday, May 15, 2018 2:03 PM

All replies

  • Hi Rodrigo_Vedovato,

    Thank you for posting here.

    Normally, if you do not use this assembly, the app would not load the assembly. If your code use the method or other property of this assembly, when you run it, it will load this assembly. In your description, Service and Web Layers use the Microsoft.ReportViewer.

    Best Regards,


    MSDN Community Support
    Please remember to click "Mark as Answer" the responses that resolved your issue, and to click "Unmark as Answer" if not. This can be beneficial to other community members reading this thread. If you have any compliments or complaints to MSDN Support, feel free to contact MSDNFSF@microsoft.com.

    Wednesday, May 16, 2018 6:33 AM