- Copy the license file
to C:\Temp on the customer’s environment.
- Find your sql password
in LCS (it is in the environment’s information). It is highlighted in the
following example:
- Open Microsoft SQL
Server Management Studio and remember the name sql server name. It is
highlighted in the following examples:
- Open command prompt in
administrator mode in the customer’s environment and navigate to
K:\AosService\PackagesLocalDirectory\Bin
- Run the following
command. Replace <sqlpwd> with your sql password,
<sqlserver> with your sql server name and <licenseLocation>
with the location of the license file:
§
Microsoft.Dynamics.AX.Deployment.Setup.exe
--isemulated true --sqluser axdbadmin --sqlpwd <sqlpwd> --sqlserver
<sqlserver> --sqldatabase AXDB --metadatadir
K:\AosService\PackagesLocalDirectory --bindir
K:\AosService\PackagesLocalDirectory --setupmode importlicensefile --licensefilename
<licenseLocation>
"C:\Temp\DynaRentLicense.txt” - license location
Servername001 - Server name
sqlpwd@ - Pwd
Ex: Microsoft.Dynamics.AX.Deployment.Setup.exe --isemulated
true --sqluser axdbadmin --sqlpwd sqlpwd@ --sqlserver Servername001 --sqldatabase AXDB --metadatadir K:\AosService\PackagesLocalDirectory --bindir
K:\AosService\PackagesLocalDirectory --setupmode importlicensefile
--licensefilename C:\Temp\DynaRentLicense.txt
- Open Visual Studio in
administrator mode.
- Perform a database sync.
K:\AosService\PackagesLocalDirectory\Bin>Microsoft.Dynamics.AX.Deployment.Setup.exe --metadatadir K:\AosService\PackagesLocalDirectory --bindir K:\AosService\PackagesLocalDirectory\Bin
--sqlserver . --sqldatabase axdb --sqluser
axdbadmin --sqlpwd sqlpwd@ --setupmode maintenancemode
--isinmaintenancemode true
Can you
open the module System administration -> Setup -> License configuration
(And check whether the DynaRent license is
enabled)
You now need to enable DynaRent and sync database.
[1/29/2019
3:41 PM] Rico Lamein (RLAME.NL):
Yes you
need to put the environment in maintenance mode first with the following
command:
K:\AosService\PackagesLocalDirectory\Bin\Microsoft.Dynamics.AX.Deployment.Setup.exe
--metadatadir K:\AosService\PackagesLocalDirectory --bindir
<K:\AosService\PackagesLocalDirectory\Bin --sqlserver> . --sqldatabase
axdb --sqluser axdbadmin --sqlpwd ********* --setupmode maintenancemode
--isinmaintenancemode true
Where
you replace sqlpwd with the password mentioned in LCS
Then you
need to restart the AOS service, and then you can enable the license
Also,
the > after --bindir and < after --sqlserver should be removed