Saturday, July 14, 2018

Deploy to Server

If the Deploy to Server property is set to Yes, the system deploys the project
output (a DLL, for example) by copying it to the server's
\bin directory. The
server
\bin directory might be found at a file location such as the following:

C:\Program Files\Microsoft Dynamics
AX\60\Server\MicrosoftDynamicsAX\Bin\VSAssemblies


After the managed code has been deployed, the AOS must be restarted so that the
assembly can be loaded by the AOS. If you have
hot swapping enabled, the
AOS does not have to be restarted. Hot swapping allows multiple application
domains on a single AOS, allowing new versions of managed code to be
deployed and be immediately available to any new client connections. Hot
swapping can be enabled by following these steps:


1. Open the
Microsoft Dynamics Server Configuration Utility by
clicking
Start > Administrative Tools > Microsoft Dynamics AX
2012 Server Configuration
. This must be run with administrative
credentials.


2. On the
Application Object Server tab, select Allow hot swapping
of assemblies when the server is running
.

3. Click
OK. You will see a prompt that asks whether you want to
restart the AOS service. The change will only take effect after the
AOS is restarted.


NOTE: Hot swapping should only be enabled in development environments.


Best Regards,
Hossein Karimi

No comments:

Post a Comment

Configure the Firewall on the Enterprise Portal Server

After you install Enterprise Portal, enable Web Server (HTTP) in Windows Firewall. If you do not enable the web server in Windows Firewall...