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.

http://books.google.com/books?id=VOhSqaD2I6sC&pg=PA85

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!

Unknown's avatar

About janeteblake

My triple passions are Dynamics AX technical, learning, and AI
This entry was posted in AX2012, Bug, Dynamics AX. Bookmark the permalink.

1 Response to Hot Swapping in Production

  1. Hai Nguyen's avatar Hai Nguyen says:

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

    Like

Leave a reply to Hai Nguyen Cancel reply