Issue
Error coming at the time of LCS Package Deployment.Error code is….
The running command stopped because the preference variable “ErrorActionPreference” or common parameter is set to Stop: 7Zip failed to extract package Bin
Resolution
- Navigate to folder J:\DeployablePackages OR K:\DeployablePackages OR C:\DeployablePackages and right click on the folder “DeployablePackages”.Untick the checkbox “Read-only” and click on “Apply” button.
- Navigate to folder J:\AosService\PackagesLocalDirectory\SystemHealth OR K:\AosService\PackagesLocalDirectory\SystemHealth OR C:\AosService\PackagesLocalDirectory\SystemHealth and right click on the folder “SystemHealth”.Untick the checkbox “Read-only” and click on “Apply” button.
Like this:
Like Loading...
Overview
In Microsoft Dynamics 365 for finance & operations, enabling of maintenance mode allows you to change varieties of settings like license configuration.By default, maintenance mode is turned off.When maintenance mode is turned off you cannot change or edit license configuration.
You can easily enable maintenance mode in development Or UAT Or testing environment but to turn on maintenance mode in a production environment, you must submit a service request.
Steps To Complete
There are two ways you can enable maintenance mode and edit license configuration :
- Execute below SQL query on transaction database of environment.After executing the query, restart the environment. update dbo.SQLSYSTEMVARIABLES
set dbo.SQLSYSTEMVARIABLES.VALUE = 1
where dbo.SQLSYSTEMVARIABLES.PARM = ‘CONFIGURATIONMODE’ - RDP on your environment.Run command prompt as administrator. Execute below command in CMD.
K:\AosService\PackagesLocalDirectory\Bin\Microsoft.Dynamics.AX.Deployment.Setup.exe –metadatadir K:\AosService\PackagesLocalDirectory –bindir K:\AosService\PackagesLocalDirectory\Bin –sqlserver . –sqldatabase axdb –sqluser <SQL admin user id> –sqlpwd <SQL users password> –setupmode maintenancemode –isinmaintenancemode true
In my case the AOS service path is in K drive but it could be in J drive also.So ensure the correct path of AOS service directory.Once environment will be restarted, you will be able to edit the license configuration.
Like this:
Like Loading...
Microsoft Dynamics AX, Microsoft Dynamics 365 for Finance and Operations, D365 FO, Retail, SQL, Microsoft Power Apps, Microsoft Power BI, Microsoft Azure, Logic Apps, Microsoft Flow, Microsoft power automate, Microsoft Power Platform,.Net, X++, C#, Power BI DAX, Data Warehousing, Microsoft Analysis Services, SQL Server Reporting Services