I am trying to encrypt a file in Ax 2012 using .net dll in Batch. I copied all dll into server as well as client folder and reference for the same is also added in AOT. Code is working fine if i execute on Client level but fails when execute on Server tier.Below is the error
Could not load file or assembly 'BouncyCastle.Crypto, Version=1.8.1.0, Culture=neutral, PublicKeyToken=0e99375e54769942' or one of its dependencies. The system cannot find the file specified.
Please help asap.