Posts

Showing posts with the label Maintenance mode

Enable/disable D365 maintenance mode- Tier 1 & Higher Versions - Microsoft Dynamics Finance and operations

Image
Tier 1 :   There are the following ways to enable/disable maintenance mode on DEV/could hosted boxes: Posted by :  Hariharasudan Kandaswamy SQL Query status: 1 2 use AXDB; select * from dbo.SQLSYSTEMVARIABLES where PARM = 'CONFIGURATIONMODE' ; Enable maintenance mode: 1 2 use AXDB; update SQLSYSTEMVARIABLES SET VALUE = 1 where PARM = 'CONFIGURATIONMODE' ; Restart IIS Express/IIS and do the required steps like enable/disable configuration keys. if required, Execute DB sync Disable maintenance mode: 1 2 use AXDB; update SQLSYSTEMVARIABLES SET VALUE = 0 where PARM = 'CONFIGURATIONMODE' ; CMD Open command prompt as administrator. Enable maintenance mode (replace **axdbadmin_from_lcs** value): 1 K:\AosService\PackagesLocalDirectory\Bin\Microsoft.Dynamics.AX.Deployment.Setup.exe --metadatadir J:\AosService\PackagesLocalDirectory --bindir J:\AosService\PackagesLocalDirectory\Bin --sqlserver . --sqldatabase axdb --sqluser axdbadmin --sqlpwd **axdbadmin_from_lcs** --setu...