File Deployment Client Installation Message When Launching Dynamics AX

By Craig Conzemius | March 8, 2017

When launching the Dynamics AX client after a recent Cu9 upgrade, users began receiving a File Deployment message. This message would show up one time in most environments and seem resolved. However, this message was showing up for users every time they launched AX via a published application through Citrix.

File deployment. The client is missing the required files to run Microsoft Dynamics.

I reviewed the SysFileDeployer class in the AOT. I expanded the class and then expanded the “filesToDeploy” method. The names were easily identified as being related to one of the ISV Solutions we had implemented in our environment.

File deployment_Craig2

This class was being used to deploy dll files to the users’ Windows profile:

C:\Users\(user_name)\AppData\Local\Microsoft\Dynamics AX\VSAssemblies\

For environments in which users connected via their workstation or through a Remote Desktop connection, the error would only show up one time per user as the files would be retained within their profile. With Citrix, (based on their configuration) upon logoff, the user’s profile was being removed and the next time they launched the AX client it would prompt them to install the files again.

Solution:

In our case we worked with the ISV to provide code to have these dll files written to the AX client folder instead of user profiles. The other option we considered was to write these dll files to the user profile folder each time it was created during the launch of Dynamics AX.


Under the terms of this license, you are authorized to share and redistribute the content across various mediums, subject to adherence to the specified conditions: you must provide proper attribution to Stoneridge as the original creator in a manner that does not imply their endorsement of your use, the material is to be utilized solely for non-commercial purposes, and alterations, modifications, or derivative works based on the original material are strictly prohibited.

Responsibility rests with the licensee to ensure that their use of the material does not violate any other rights.

Start the Conversation

It’s our mission to help clients win. We’d love to talk to you about the right business solutions to help you achieve your goals.

Subscribe To Our Blog

Sign up to get periodic updates on the latest posts.

Thank you for subscribing!