Forum Discussion

Suhas's avatar
Suhas
Creator III
3 years ago

ClosedXml.dll is not working in Aras12Sp22

Hello All,

To perform excel file operations I'm using ClosedXML.dll file. It is working fine in Aras12SP9 but same dll is not working Aras12Sp22.

I'm getting below error

Could not load file or assembly 'System.IO.Packaging, Version=0.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a'. The system cannot find the file specified.

Regards,

Suhas

10 Replies

  • Hi Suhas,

    happy new year! You probably already solved the issue, but I want to answer anyway. The problem can be solved by adding a assembly binding in one of the web.config files.

    Angela

    • Suhas's avatar
      Suhas
      Creator III

      Hello Angelalp,

      In which web.config i need to add assembly binding? & how to add it? 

      Regards,

      Suhas

      • angela's avatar
        angela
        Catalyst II

        Hi Suhas,

        I probably  was wrong. Your PublicKeyToken doesn´t match the error message you typically get when assembly binding is missing.

        You have to add assembly binding in Innovator/Server/web.config when you use DLLs that use the IOM.dll. This file is typically overwritten when using a update patch. But your dll doesn´t use IOM.dll.

        How did you add your dll? Have you modified method-config.xml?

        Edit: Do you have a backup of you previous codetree? Maybe check if the various web.config already contains something for the dll.