MPOS Package failed to deploy – Windows cannot install package because this package depends on a framework that could not be found

So recently I successfully build my Retail SDK and uploaded the installer to one of my D365FO environment, but when trying to install the package faced the below issue.

“Windows cannot install package because this package depends on a framework that could not be found”

Here is an extract of the MPOS installation error logs.

System.IO.IOException: Deployment failed with HRESULT: 0x80073CF3, Package failed updates, dependency or conflict validation.

Windows cannot install package xxx because this package depends on a framework that could not be found. Provide the framework “Microsoft.NET.CoreRuntime.1.0” published by “CN=Microsoft Corporation, O=Microsoft Corporation, L=Redmond, S=Washington, C=US”, with neutral or x64 processor architecture and minimum version 1.0.23819.0, along with this package to install

The solution was to run run msbuild on a Windows 10 machine instead of building it on my Dev machine (which was on Windows Server 2012 R2) on which I usually build it. (This was based on Microsoft suggestion on a support ticket I logged)

I must say I am surprised since this issue was intermittent for me. Hope this helps.

 

<Update>

As per below extract from Retail handbook, building from Windows Server 2012 should not be an issue. So not sure why I got different results, if you have faced above issue I would be glad to know if you could share more.

For ModernPOS debugging/installation (universal app) either Windows 10 or Windows Server 2016 is required
Note: For a limited time, LCS-hosted development topologies will continue to use Windows Server 2012 R2. What that means is that ModernPOS universal app cannot be installed or run in the debugger on these machines. However, it can be built correctly. Alternatives for ModernPOS development are:
o A separate Windows 10 development machine
o A downloadable Windows Server 2016 based VM from LCS.

</Update>

<Final Update 18 Apr 2018>

The solution is to build the package with configuration=release,

thanks to MVP Kurt Hatlevik  

</Final Update>

 

-Hitesh Manglani

Update SQL Server Management Studio

If you get the following prompt while trying to Browse properties of your Database in SQL Server management studio, its time for an update.

SQL Server Properties Error

Next step would be to  click on Tools-> check for Updates and you would most likely have an update waiting to be installed.

SSMS Update 

Click on Update in the above screen to be redirected to the link to download latest version of SQL Server Management Studio. (17.6 at the time of this writing).

Once the update is completed you would need to restart the machine.

 

-Hitesh Manglani

Setting up a personal Dynamics 365 For Operations, Enterprise Edition, development environment

Learning Dynamics 365 for Operations / X++

(last updated 2018-02-08)

Microsoft expects all Dynamics 365 / X++ development to be done in a preconfigured virtual machine (sometimes called a “onebox”) that has local installs of Visual Studio, Dynamics, and SQL Server; these are integrated in a way to ease development. They would prefer that you rented these VMs from them, which has some integration advantages; but it is possible to set up your own, which is probably less expensive in the long run, and might be more convenient. These instructions will help you set up that development environment on a personal machine; although there are a few wiki pages on it, there does not seem to be any complete information gathered in one place.

As with all my blog posts, if you have comments or additional information, I will endeavor to update what I have written here. I have noticed that this is by far my most…

View original post 2,615 more words

MPOS randomly switching from online mode to offline

In my recent Dynamics 365 for Operations implementation on 7.1, we encountered an issue with MPOS switching to offline randomly . MPOS as we know switches to offline either when triggered manually or when the switch is seamless (automatically) when there is any issue in the communication between MPOS and D365 Retail Server, an example is a network interruption (for more information on the overall Retail Topology do refer this link MPOS Technical Architecture)

In a usual scenario, when an interruption occurs in between a transaction, cashier would get an error message the Cart State has changed. The cashier would need to void the transaction and then start all over again and end with creating an offline transaction (Not the kind of experience you want when you have a queue of customers at the billing).  Another issue that coupled with this was that the MPOS logo would not switch from offline to online when the MPOS mode switched.

 

Bottomline –

Make sure you uptake following binary hotfixes as soon as you can if you have enabled MPOS in offline mode

KB 4049328 – MPOS offline logo issue

KB 4058723- Set of reliability fixes for POS Offline

Also include the following X++ hotfix which complements the above binary fix

KB4058724 – Set of reliability fixes for POS Offline

 

 

-Hitesh Manglani

 

 

 

Some important resources on Dynamics 365 for Operations – Retail

This post is meant for anyone starting to explore Dynamics 365 for Operations Retail. I have included some of the resources that I have found very useful. In this video I will take a quick look at the following resources

1. The first link is the landing page on Retail on the Microsoft documentation portal docs.microsoft.com

https://docs.microsoft.com/en-us/dynamics365/unified-operations/retail/dev-itpro/retail-sdk/retail-sdk-overview

2. The second link is the Microsoft Dynamics Learning Portal.  (DLP)

https://mbspartner.microsoft.com/

If you are an independent consultant looking to access DLP please visit the following link and register.

<Update 27 Feb 2018> This link is also open to consultants working with end users. Thanks to Jay Patel for making me aware about this. </Update>

https://www.365talentportal.com/blog/dynamics-learning-portal-news-june-2015/

3.  The third link is a very helpful blog by Andreas Hofmann from Microsoft

https://dynamicsnotes.com/

 

-Hitesh Manglani

 

 

Cannot create a record in Global address book (DirPartyTable). The record already exists

This article is the outcome of a shared session with credit to my friend Vishal Kohli .

StoreMaster

 

While creating a new store in the store master in Dyn365FO, you may face the following error.

“Cannot create a record in Global address book (DirPartyTable). The record already exists.”

The issue is that the operating number keyed is already existing in the system. Therefore you need to make sure you key in a number that does not already exist. The error message can be a little confusing in this regard, which is why I thought this warrants a post.

Note -You are most likely to face this issue when your operating unit number sequence is configured as Manual.

Hope this helps!!

-Hitesh Manglani and Vishal Kohli.