Skip to main content

Notifications

Announcements

No record found.

Dynamics 365 Community / Forums / Commerce forum / Could not load file or...
Commerce forum
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

Helpful resources

Quick Links

Replay now available! Dynamics 365 Community Call (CRM Edition)

Catch up on the first D365 Community Call held on 7/10

Community Spotlight of the Month

Kudos to Saurav Dhyani!

Congratulations to the June Top 10 community leaders!

These stars go above and beyond . . .

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 287,914 Super User

#2
Martin Dráb Profile Picture

Martin Dráb 225,549 Super User

#3
nmaenpaa Profile Picture

nmaenpaa 101,148

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans