Mohd Saddaf khan
Mohd Saddaf khan

Reputation: 299

Assembly containing type XXXX.XXXX.XXX.XXXX is not referenced when running a C# based service in AX 2012 batch job?

I have created a project using Visual studio to consume web service, and when running on a AX-client it works perfectly.

But when running same using batch job it gives error like: Assembly containing type XXXX.XXXX.XXX.XXXX is not referenced. Object 'CLRObject' could not be created.

Does anyone have a solution for this???

Upvotes: 1

Views: 2767

Answers (1)

DAXaholic
DAXaholic

Reputation: 35358

I think you have to install the assembly which contains your type into the GAC of the batch AOS. Perhaps you also have to restart the AOS after installing the assembly to flush some caches.

Hope this helps

Upvotes: 2

Related Questions