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
    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
    260 on at
    RE: Communcation with Hardware Station from MPOS fails

    Hi, the source code is not exposed by Microsoft

  • Community Member Profile Picture
    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
    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
    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
    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
    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
    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
    260 on at
    RE: Communcation with Hardware Station from MPOS fails

    There is no log in event viewer

  • Oksana Kovaliova Profile Picture
    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

🌸 Community Spring Festival 2025 Challenge Winners! 🌸

Congratulations to all our community participants!

Adis Hodzic – Community Spotlight

We are honored to recognize Adis Hodzic as our May 2025 Community…

Kudos to the April Top 10 Community Stars!

Thanks for all your good work in the Community!

Leaderboard > Microsoft Dynamics AX (Archived)

#1
Mohamed Amine Mahmoudi Profile Picture

Mohamed Amine Mahmoudi 100 Super User 2025 Season 1

#2
Community Member Profile Picture

Community Member 48

#3
shanawaz davood basha Profile Picture

shanawaz davood basha 6

Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans