Skip to main content

Notifications

Finance | Project Operations, Human Resources, ...
Answered

Problem with Deployed DLL not showing up in AX2012 on new AOS Server

Posted on by 3,985
I have a customer that has asked me to make a new AOS server for them.
 
But on that new AOS server I am having a problem with one of the DLL's that they use.
 
The DLL should be deployed automatically from the Visual Studio Project in the AOT.
But that does not seem to work, even though it looks like the dll is deployed to the correct folders on the server. 
I can see that the dll can be found in these folders, with the current date, so the dll's are deployed to the correct folders.
%USERPROFILE%//AppData//Local//Microsoft//Dynamics Ax//VSAssemblies{1DFE689E-3A39-4F6E-9006-0368B8913483}
C://Program Files//Microsoft Dynamics AX//60//Server//DynamicsAX2012R3_Test//bin//VSAssemblies
 
So that should work, but it doesn't, and if I try to create a reference to the dll manually under the AOT/References, it still does not work.
 
But if a start a client from the old AOS that points to the instance on the new AOS, I can access the dll with no problems.
 
Does anyone have an idea what the problem might be?
 
The kernel and application version is 6.3.6000.151, and I have tried a full compilation and CIL compilation, and restart of the client/server, and also the Windows Server.

 
  • Martin Dráb Profile Picture
    Martin Dráb 229,275 Most Valuable Professional on at
    Problem with Deployed DLL not showing up in AX2012 on new AOS Server
    If using a different client makes a difference, doesn't it mean that the assembly is actually used on client (while you keep talking about the server tier)?
     
    How are you testing it? Are you sure that the code runs on server?
  • Verified answer
    Rudi Hansen Profile Picture
    Rudi Hansen 3,985 on at
    Problem with Deployed DLL not showing up in AX2012 on new AOS Server
    I found the problem, the dll had a dependency that i was not aware of, but i found it when i tried to register the dll using regasm.
    So I just copied the missing dll from the old server, and not the dll seems to be working.

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

November Spotlight Star - Khushbu Rajvi

Congratulations to a top community star!

Forum Structure Changes Complete!

🔔 Be sure to subscribe to the new forums you are interested in to stay up to date! 🔔

Dynamics 365 Community Platform update – Oct 28

Welcome to the next edition of the Community Platform Update. This is a status …

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 290,900 Super User 2024 Season 2

#2
Martin Dráb Profile Picture

Martin Dráb 229,275 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Product updates

Dynamics 365 release plans