Skip to main content

Notifications

Supply chain | Supply Chain Management, Commerce
Suggested answer

Could not load file or assembly

Posted on by 2,016

greeting everyon 

i've did some customization and already packaged

and it's works fine on many pcs but some pcs got error when i trying to printing receipt 

errorprint-qr.png

An error occurred during the configuration of IPC Hardware Station request. 'Exception: Microsoft.Dynamics.Commerce.Runtime.ConfigurationException: Initialization of composition loader failed for assembly mscorlib. ---> System.IO.FileNotFoundException: Could not load file or assembly 'zxing, Version=0.16.5.0, Culture=neutral, PublicKeyToken=4e88037ac681fe60' or one of its dependencies. The system cannot find the file specified.

this error keep showing on some of pc how can i solve that?

  • SergeyP Profile Picture
    SergeyP 2,928 on at
    RE: Could not load file or assembly

    In addition to previous replies: make sure you have not just that dll with that name but also that the DLL contains that exact version seen in the error message.

  • Suggested answer
    EeWee Profile Picture
    EeWee on at
    RE: Could not load file or assembly

    Mohammed,

    Per the error message, it seems the zxing.dll is missing and not found in the Client broker folder. zxing.dll is referred by BR-specific localization if Brazil-specific localization assembly was turned on.

    "An error occurred during the configuration of IPC Hardware Station request. 'Exception: Microsoft.Dynamics.Commerce.Runtime.ConfigurationException: Initialization of composition loader failed for assembly mscorlib. ---> System.IO.FileNotFoundException: Could not load file or assembly 'zxing, Version=0.16.5.0, Culture=neutral, PublicKeyToken=4e88037ac681fe60' or one of its dependencies. The system cannot find the file specified."

    You can try to:
    1. Copy the zxing.dll, and maybe zxing.resentation.dll) from here ZXing.Net.
    2. Paste it to MPOS "ClientBroker" folder.
    3. Kill the DLLHOST.exe on those problematic terminals.
    4. Uninstall MPOS.
    5. Reinstall MPOS and verify if this help to resolve the issue.


    Regards,
    EeWee

  • Juliet Zhu Profile Picture
    Juliet Zhu on at
    RE: Could not load file or assembly

    Have you tried uninstall MPOS completely (from Windows Control Panel), and delete MPOS installation folder, then reinstall it?

    Thanks,

    Juliet

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

December Spotlight Star - Muhammad Affan

Congratulations to a top community star!

Top 10 leaders for November!

Congratulations to our November super stars!

Community AMA December 12th

Join us as we continue to demystify the Dynamics 365 Contact Center

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 291,240 Super User 2024 Season 2

#2
Martin Dráb Profile Picture

Martin Dráb 230,149 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans