Skip to main content

Notifications

Announcements

No record found.

Supply chain | Supply Chain Management, Commerce
Answered

MPOS Extension package cannot be loaded

Posted on by 28

Hi all,

I want to install a MPOS extension package. When I run a deploy via the ModernPos project everything works. But when I try to install the extension manually via PowerShell using the ModernPos.Installer the installation runs without errors but the Modern POS says that the extension package cannot be loaded. Does anyone have a solution?

Thank you very much.

  • SergeyP Profile Picture
    SergeyP 2,928 on at
    RE: MPOS Extension package cannot be loaded

    Which SDK version did you use?

  • JoshuaRamaditya Profile Picture
    JoshuaRamaditya 135 on at
    RE: MPOS Extension package cannot be loaded

    Hi,

    i have same problem here, but with Store Commerce app

    do you have any idea ? or solutions?

  • chbtn Profile Picture
    chbtn 28 on at
    RE: MPOS Extension package cannot be loaded

    Hi, normally the certificate is automatically generated in the development environment during the build. If you don't have a certificate that matches the settings in your MPOS project, an error should occur during the build.

    If you don't find the certificate and have the same problem as I had, you can try to install the ModernPos.cer. You can find it under PosSample\ModernPos\AppPackage\ModernPos_Test

  • AR01 Profile Picture
    AR01 126 on at
    RE: MPOS Extension package cannot be loaded

    for me was to install the certificate (ModernPos/bld/x86/debug/<MPOS_Certificate>.pfx)

    I don't see any certificate for my customization in the above mentioned folder. Do I need to change/add anything in my project?

  • Verified answer
    SergeyP Profile Picture
    SergeyP 2,928 on at
    RE: MPOS Extension package cannot be loaded

    Glad you are unblocked, just in case want to share the information on how to deal with that case is outlined under bullet #3 of the section Troubleshooting:

    pastedimage1647472062301v1.png

  • Suggested answer
    chbtn Profile Picture
    chbtn 28 on at
    RE: MPOS Extension package cannot be loaded

    Hi all,

    Thank you very much for your help. I was able to solve the problem.

    I should have mentioned that the desktop tool 'Install or update Retail Modern POS' no longer worked after running the ModernPos.Installer.
    The solution for me was to install the certificate (ModernPos/bld/x86/debug/<MPOS_Certificate>.pfx) under Certificates (Local Computer) > Trusted Root Certification Authorities.
    After that I could run the 'Install or update Retail Modern POS' tool without any problems and the extension was recognized correctly.

  • SergeyP Profile Picture
    SergeyP 2,928 on at
    RE: MPOS Extension package cannot be loaded

    >... the Modern POS says that the extension package cannot be loaded. ...

    Which version of SDK you use? 

    >... When I run a deploy via the ModernPos project everything works. But when I try to install the extension manually via PowerShell using the ModernPos.Installer ...

    What does this mean exactly - are you initiating the deployment from within PowerShell? If so - can you run the installer directly without PowerShell and see if you have the same issue?

    Can re-run the deployment with --Verbosity Trace and see if there will be additional logs pointing to the failure?

    >...  also checked the suggestions from community.dynamics.com/.../introducing-sealed-installers. I could not see any incompatibility between Retail Server's part of the extension and MPOS. ...

    Please share more details as it is not currently clear what exactly the differences are between your environment and that case outlined in the above link.

  • Community Member Profile Picture
    Community Member Microsoft Employee on at
    RE: MPOS Extension package cannot be loaded

    Hi chbtn did you get any solution from Microsoft that you can share?

    I currently have the following issue when trying to launch the MPOS after installing the extensions. And I'm wondering if it is the same problem you had.

    The package full name returned from the AppxManifest (Commerce_9.34.1.256_x86__ww0vcv2v6zyfe) does not match the name generated from the AppInstaller (Commerce_9.34.1.256_x86__d333bm6bd465r).

    (The above issue I had was a result of a difference in repo.props Publisher value (CN=....) and the value of the publisher in the certificate. Basically there was a spelling error in the repo.props file)

  • chbtn Profile Picture
    chbtn 28 on at
    RE: MPOS Extension package cannot be loaded

    Hi brynnwilder,

    Unfortunately, I could not solve the problem. I will contact the Microsoft support.

  • chbtn Profile Picture
    chbtn 28 on at
    RE: MPOS Extension package cannot be loaded

    Hi Diogo,

    thank you very much for your help. I did everything exactly as you described. But it still does not work. I will have to contact the Microsoft Support.

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!

Tips for Writing Effective Suggested Answers

Best practices for providing successful forum answers ✍️

Leaderboard

#1
André Arnaud de Calavon Profile Picture

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

#2
Martin Dráb Profile Picture

Martin Dráb 230,188 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans