Friday, November 2, 2018

D365 Modern POS DLLHost.exe file detailed description

Everyone knows that Modern POS is being running by application that will be Windows, Android or IOS. Means that it will be install with Operating System.
But the question is how MPOS will read its configuration like:

1) On which terminal and device it is running.
2) Where Retail Server URL will be stored.
3) From where MPOS will be reading proxy dll or extension for offline mode.
4) From where MPOS will be reading config files and dll paths.
5) From where MPOS will be loading its all required configurations.

Now the Answer is "DLLHost.exe.config" which will be placed in below path when you install Modern POS:

"C:\Program Files (x86)\Microsoft Dynamics 365\70\Retail Modern POS\ClientBroker"



If you will open this file in any text file tool then you can see all Modern POS configurations. The main configurations are:

1) Terminal Id
2) Device Id
3) Retail Server URL
4) Installed App Version
5) Retail Proxy Assembly


Remember that above diagram has empty fields just for understanding otherwise all fields data will be automatically filled during Activation Process. If any field (mentioned above) data is missed then MPOS will not work correctly. It means that you missed some steps in configuration or MPOS not installed correctly or someone upgrade MPOS incorrectly.  

When you will do development then you can also change data in "DLLHost.exe.config" file fir testing. But if you want to apply new changes in development environment then follow below steps:

1) Close Modern POS
2) Go to Task Manager > Details. Now search for "dllhost.exe" process and stop it. If you see multiple "dllhost.exe" processes then kill all.
3) Now Start MPOS. Now your latest changes will be affecting in MPOS.



No comments:

Post a Comment

D365 Modern POS DLLHost.exe file detailed description

Everyone knows that Modern POS is being running by application that will be Windows, Android or IOS. Means that it will be install with Ope...