Quantcast
Channel: Microsoft Dynamics AX Forum - Recent Threads
Viewing all articles
Browse latest Browse all 72043

Assembly containing type [MyAssembly] is not referenced.

$
0
0

Today I've come across something rather frustrating. Running AX2012R3 CU9.

I've built up a library of c# code from a legacy .net application to help run older code in AX for various purposes.  Calling [static] methods in the new dll works fine when run on the AX Client.  However, when running server-side I get the "Assembly containing type MyAssembly is not referenced." error. Everything I know and read says an AOS restart/full CIL should fix it... but it isn't working.

  • The project PlatformTarget is AnyCPU since I am deploying to client AND server.
  • Running code against the dll from client works fine, but in an SSRS report or Batch job (server side) it fails with the error.
  • I've tried adding FullControl permissions to the DLL for the AOS account (in fact to the whole VSAssemblies folder)
  • Restarted AOS service, cleared XppIL folder, ran full CIL... tried pretty much everything.

Any ideas why I would still be getting the error?  I can't seem to figure out why the dll isn't taking...


Viewing all articles
Browse latest Browse all 72043

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>