web
You’re offline. This is a read only version of the page.
close
Skip to main content

Notifications

Announcements

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

I have the same question (0)
  • Oksana Kovaliova Profile Picture
    3,597 on at

    Hi Amit,

    Do you have any errors in Event Viewer?

    Regards,

    Oksana

  • amitkumar Profile Picture
    260 on at

    There is no log in event viewer

  • Hitesh Manglani Profile Picture
    312 on at

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

  • Oksana Kovaliova Profile Picture
    3,597 on at

    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

  • amitkumar Profile Picture
    260 on at

    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.

  • amitkumar Profile Picture
    260 on at

    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)”

  • Verified answer
    amitkumar Profile Picture
    260 on at

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

  • Community Member Profile Picture
    on at

    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

  • Suggested answer
    amitkumar Profile Picture
    260 on at

    Hi, the source code is not exposed by Microsoft

  • Dhanyatha P Profile Picture
    10 on at

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

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

News and Announcements

Season of Giving Solutions is Here!

Quick Links

Responsible AI policies

As AI tools become more common, we’re introducing a Responsible AI Use…

Neeraj Kumar – Community Spotlight

We are honored to recognize Neeraj Kumar as our Community Spotlight honoree for…

Leaderboard > 🔒一 Microsoft Dynamics AX (Archived)

#1
Martin Dráb Profile Picture

Martin Dráb 4 Most Valuable Professional

#2
TAHER Mehdi Profile Picture

TAHER Mehdi 3

#3
Nakul Profile Picture

Nakul 2

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans