Applies to Product - Dynamics 365 Commerce
What’s happening?
Customers are unable to open the Store Commerce application, encountering errors related to WebView2 initialization.
Reason:
This is often related to an outdated version of Microsoft Edge or problems with the WebView2 runtime installation.
Resolution:
- Update Microsoft Edge: Ensure that the latest version of Microsoft Edge is installed. Upgrading to the latest version has resolved similar issues in the past.
- Ensure that the WebView2 runtime is installed on the system. It can be downloaded from the Microsoft Edge WebView2 download section.
- Select the Evergreen Standalone Installer - X64 option, download it, and run it as an administrator.
- Check Registry Keys: Verify that the registry keys for WebView2 are correctly set. For Store Commerce, the registry key should be:
- Path: Computer\HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Microsoft\Edge\WebView2\UserDataFolder
- Key Name: Microsoft.Dynamics.Commerce.StoreCommerce.exe
- Value: %LocalAppData%\Microsoft Dynamics 365\10.0\Data\Store Commerce\Pos for UserApplicationData installs or Path.Combine(Environment.GetFolderPath(Environment.SpecialFolder.CommonApplicationData), @"Microsoft Dynamics 365\10.0\Data\Store Commerce\Pos"); for CommonApplicationData installs.
