Skip to main content

Notifications

Announcements

No record found.

Community site session details

Community site session details

Session Id :
Microsoft Dynamics AX (Archived)

Communcation with Hardware Station from MPOS fails

(0) ShareShare
ReportReport
Posted on by 260

Hi,

I am using MPOS with retail proxy which uses its own built-in hardware station using hardware station URL as "ipc://localhost". Out of box it works well, but as soon as I build the hardware station solution and replaces the dll's in retail proxy it stops working.

*This post is locked for comments

  • Dhanyatha P Profile Picture
    Dhanyatha P 10 on at
    RE: Communcation with Hardware Station from MPOS fails

    So how do we resolve the issue? should we change the code on our end?

  • Suggested answer
    amitkumar Profile Picture
    amitkumar 260 on at
    RE: Communcation with Hardware Station from MPOS fails

    Hi, the source code is not exposed by Microsoft

  • Community Member Profile Picture
    Community Member Microsoft Employee on at
    RE: Communcation with Hardware Station from MPOS fails

    Hi,

    do you have any sollution to this problem? I am facing the same issue and till now I have not found, what to change to make it working.

    Regards

    Tomas

  • Verified answer
    amitkumar Profile Picture
    amitkumar 260 on at
    RE: Communcation with Hardware Station from MPOS fails

    Finally i have fount the issue, hardware station assembly has a hard reference to the client broker

  • amitkumar Profile Picture
    amitkumar 260 on at
    RE: Communcation with Hardware Station from MPOS fails

    After doing some R&D i am able to get some error

    “System.IO.FileLoadException: Could not load file or assembly 'Microsoft.Dynamics.Commerce.HardwareStation, Version=6.3.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35' or one of its dependencies. The located assembly's manifest definition does not match the assembly reference. (Exception from HRESULT: 0x80131040)”

  • amitkumar Profile Picture
    amitkumar 260 on at
    RE: Communcation with Hardware Station from MPOS fails

    Hi, this is not the issue i am facing, because i do not use Hardware station as a website. My mpos uses Client Broker present at default location "C:\Program Files (x86)\Microsoft Dynamics AX\60\Retail Modern POS\ClientBroker". In this case client broker creates a local httpserver to host Hardware station and do all the post request to it.

  • Oksana Kovaliova Profile Picture
    Oksana Kovaliova 3,597 on at
    RE: Communcation with Hardware Station from MPOS fails

    Hi,

    I would recommend to set breakpoint in hardware station controller in MPOS Client and debug. You will receive extended error description and will be able to fix issues.

    2016_2D00_06_2D00_26_5F00_21_2D00_56_2D00_28.png
    In my case I needed to fix the following after deployment of Hardware Station from SDK (I didn't only change DLLs but made 'Publish'):

    1) Change Retail Server URL in Hardware station web.config to point to correct server;
    2) Sign projects in Visual Studio with a key;
    3) Change assembly version + public key for DLLs in web.config to be equal to built DLLs;
    4) Change user for Hardware Station application pool to have access to required folders.

    Regards,
    Oksana

  • Hitesh Manglani Profile Picture
    Hitesh Manglani 312 on at
    RE: Communcation with Hardware Station from MPOS fails

    Check your dlls version and make sure it matches the one specified in the Retail Server's web.config

  • amitkumar Profile Picture
    amitkumar 260 on at
    RE: Communcation with Hardware Station from MPOS fails

    There is no log in event viewer

  • Oksana Kovaliova Profile Picture
    Oksana Kovaliova 3,597 on at
    RE: Communcation with Hardware Station from MPOS fails

    Hi Amit,

    Do you have any errors in Event Viewer?

    Regards,

    Oksana

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

Announcing Our 2025 Season 1 Super Users!

A new season of Super Users has arrived, and we are so grateful for the daily…

Vahid Ghafarpour – Community Spotlight

We are excited to recognize Vahid Ghafarpour as our February 2025 Community…

Tip: Become a User Group leader!

Join the ranks of valued community UG leaders

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 292,494 Super User 2025 Season 1

#2
Martin Dráb Profile Picture

Martin Dráb 231,305 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans