Not able to generate report in production

Posted by: bpgadi on 19 May 2019, 4:20 pm EST

  • Posted 19 May 2019, 4:20 pm EST

    I’m having an existing project(say project-1) which is having the code related to create reports. Now I created another project(say Project-2) where I have a class which calls method to generate the report and then it exports the pdf. Now I have a WCF service which calls a method from project-2 to generate report and then export.

    Now the problem is that when I debug in my local system it’s working as expected. But when I run the same application in production it’s throwing exception saying that

    “05/17/2019 07:43:41.549 AM - Information WWF Tracking Record

    Record Type : FaultPropagationRecord

    Level : Warning

    Fault : Could not load file or assembly ‘GrapeCity.ActiveReports.Export.Pdf.v11, Version=11.2.10750.0, Culture=neutral, PublicKeyToken=cc4967777c49a3ff’ or one of its dependencies. The system cannot find the file specified.”

    Note: I added grapecity active reports references in project-2.

    Can anyone please help me in this regard?

  • Posted 19 May 2019, 10:50 pm EST

    Hello,

    Please make sure that you have the following dll in your project 2:

    GrapeCity.ActiveReports.Export.Pdf.v11.dll

    GrapeCity.ActiveReports.Document.v11.dll

    GrapeCity.ActiveReports.v11.dll

    GrapeCity.ActiveReports.Extensibility.v11.dll

    GrapeCity.ActiveReports.Chart.v11.dll

    Could you please confirm that are you able to generate a report at the production environment?

    Also, please share the list of AR reference present in project2.

    Thanks.

  • Posted 20 May 2019, 1:13 am EST

    I’m having the following references in project-2

    GrapeCity.ActiveReports.Export.Pdf.v11.dll

    GrapeCity.ActiveReports.Document.v11.dll

    GrapeCity.ActiveReports.v11.dll

    GrapeCity.ActiveReports.Extensibility.v11.dll

    I’m having the following lines of code in Project-2 licence file:

    GrapeCity.ActiveReports.SectionReport, GrapeCity.ActiveReports.v11

    GrapeCity.ActiveReports.Export.Pdf.Section.PdfExport, GrapeCity.ActiveReports.Export.Pdf.v11

  • Posted 20 May 2019, 9:55 pm EST

    I added all the dll/references which you mentioned, but still it’s throwing same exception in production environment.

  • Posted 21 May 2019, 12:10 am EST

    Hello,

    Is it possible to share the stripped down application with us so that I can narrow down the issue?

    Thanks.

Need extra support?

Upgrade your support plan and get personal unlimited phone support with our customer engagement team

Learn More

Forum Channels