We have an integration scenario, where we have done the following activities in mentioned sequence:
- Created a custom C# DLL (built using .NET Framework 3.5)
- Signed/strong-named using VS signing feature
- Registered/published the DLL in the server GAC using GACUtil.exe
- Placed the DLL in Server\Bin directory
- In Dynamics AX 2009, added the reference of the DLL (it appeared in the form without browsing in file explorer, as already registered in GAC)
- Restarted AOS services
We can see the DLL reference in the AX client (AOT -> Reference) installed on terminals.
Also, in the AOS, we can see the IntelliSense and code compiles without any error if we access some method in the referenced DLL.
Problem: AX client installed on terminals, is unable to read this DLL and throws a compilation error that the object does not exist.
Tried full compilation, RunOn Server property but the issue persists. Please guide.
P.S. Issue resolves if we place the DLL in Client\Bin directory but this is not an option as we have over 300 terminals and to place/update DLL in each of them is not a practical approach.