Hot Swapping in Production

Hotswap ScreenshotA (repeat of) a word to the wise – with a twist, if you read to the end. One of our clients was getting CIL errors; I don’t have details. It was discovered (I cannot take credit) that the checkbox to “Allow hot swapping of assemblies when the server is running” (or on my version “Enable the hot-swapping of assemblies for each development session.”) on the server configuration was checked.

A reminder of what we read in Inside Microsoft Dynamics AX 2012:

“However, you should never do this in a production server because any breakpoints that are encountered will stop all of the managed code from running, essentially blocking any users who are logged on to the server and processes that are running.”

The book goes on to mention performance issues as well.

A coworker just pointed out, and this is the part that really gets me: The installation default is to have the checkbox set on.

Happy DAXing!

About janeteblake

Dynamics AX developer
This entry was posted in AX2012, Bug, Dynamics AX. Bookmark the permalink.

1 Response to Hot Swapping in Production

  1. Hai Nguyen says:

    I saw that hot swapping checkbox but never knew what it was used for. Thanks for sharing.

Leave a Reply

Fill in your details below or click an icon to log in: Logo

You are commenting using your account. Log Out /  Change )

Google photo

You are commenting using your Google account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s