Показать сообщение отдельно
Старый 02.03.2016, 16:11   #1  
Blog bot is offline
Blog bot
Участник
 
25,475 / 846 (79) +++++++
Регистрация: 28.10.2006
kurthatlevik: AX RTW – Hack to enable configuration mode
Источник: https://kurthatlevik.wordpress.com/2...guration-mode/
==============

When downloading the AX RTW local VM from connect, you often want to disable some configuration keys. (Like catch weight etc). But now you will see the following warning;

“This form is read-only unless the system is in the maintenance mode. Maintenance mode can be enabled in this environment by running maintenance job from LCS, or using Deployment.Setup tool locally”



This warning is to prevent that configurations are enables/disabled, and that the system is set in maintenance mode. There are 2 ways of dealing with this.
  1. The proper way; Use the Microsoft.Dynamics.AX.Deployment.Setup.exe command; (Credits to Joris de Gruter)
    Run this from command line:
     

    c:\packages\bin\Microsoft.Dynamics.AX.Deployment.Setup.exe –metadatadir c:\packages –bindir c:\packages –sqlserver . –sqldatabase axdbrain –sqluser AOSUser –sqlpwd AOSWebSite@123 –setupmode maintenancemode –isinmaintenancemode true


     

    and then run the command with “false” at the end to turn if back off.
  2. The Hack way; Use the Microsoft SQL Server Management Studio, and edit the following record in the table dbo.SQLSystemvariables ; CONFIGURATIONMODE
 

After that, you can change configurations. But make sure you never
EVER do this in a production environment!


Hacking DAX’ing J




Источник: https://kurthatlevik.wordpress.com/2...guration-mode/
__________________
Расскажите о новых и интересных блогах по Microsoft Dynamics, напишите личное сообщение администратору.