web
You’re offline. This is a read only version of the page.
close
Skip to main content

Notifications

Announcements

No record found.

Community site session details

Community site session details

Session Id :
Microsoft Dynamics AX (Archived)

Using .dll file in Ax batch class through x++ code

(0) ShareShare
ReportReport
Posted on by

I have added a Assembly SshNet.dll  in references in Ax 2012 and i placed the .dll file to the client bin folder.

I ran the code through class having the Runs on Property set to Called from and it worked fine.

But when i changed the Runs on Property to Server after placing the .dll file to server's bin folder as i need to run the code in batch system it gives me below mentioned error :-

Assembly containing type "xxx" is not referenced.

Object 'CLRObject' could not be created.

 

Kindly let me how to fix this issue.

Thanks in advance.

*This post is locked for comments

I have the same question (0)
  • Martin Dráb Profile Picture
    237,807 Most Valuable Professional on at

    This sounds vey similar to what we discussed today in your previous thread, Upload a file to SFTP server through X++ batch class.

    There is a list of things you should check. I also mentioned Assembly Binding Log Viewer there, which can help you with these things.

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

Responsible AI policies

As AI tools become more common, we’re introducing a Responsible AI Use…

Neeraj Kumar – Community Spotlight

We are honored to recognize Neeraj Kumar as our Community Spotlight honoree for…

Leaderboard > 🔒一 Microsoft Dynamics AX (Archived)

#1
Martin Dráb Profile Picture

Martin Dráb 4 Most Valuable Professional

#1
Priya_K Profile Picture

Priya_K 4

#3
MyDynamicsNAV Profile Picture

MyDynamicsNAV 2

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans