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 :
Finance | Project Operations, Human Resources, ...
Unanswered

Batch job ran into error with particular AOS instance

(0) ShareShare
ReportReport
Posted on by 4
In AX 2012 R3
We have six batch job running under the service account which is having System administrator role. These batch jobs were running from long time without issues. But recently we are start facing this error for most of the batch jobs.
 
Error: Access denied : xxxcontroller class
 
we have three AOS instance in that one particular AOS instance batch job running into error
 
all the AOS server have system admin rights still we are getting this error
I have the same question (0)
  • André Arnaud de Calavon Profile Picture
    301,231 Super User 2025 Season 2 on at
    HI Community user,
     
    Are you aware of possible changes in this environment? Did someone change the admin password or were some customizations deployed? Any Windows updates applied?
  • Community member Profile Picture
    4 on at
    Hi,
     
    No nothing has been changed.
    no recent deployments or password changing
    we have checked user roles for all Three AOS instance all are same.
     
     
  • Kevin Xia Profile Picture
    Microsoft Employee on at
    Hi,
    As Andre said, has there been any changes in the configuration or other code in your recent environment that caused this problem?
    Or can you provide more information, such as the configuration of the instance, and more steps for the batch job to help us better solve the problem for you?
    Best regards,
    Kevin
  • Community member Profile Picture
    4 on at
    Hi,
     
    We have six batch job that run everyday on a scheduled time with different AOS instance. we have Prd1, Prd2,Prd3 AOS instance whenever the batch job tries to run on Prd3 server its running into an error
     
    The error: Access denied : xxxcontroller class
  • André Arnaud de Calavon Profile Picture
    301,231 Super User 2025 Season 2 on at
    HI Community user, 

    Have you tried restarting your Prd3 instance? Maybe you can also regenerate CIL on that machine. To do that, you can open an AX client on the Prd3 server and start the CIL build from the developer workspace.

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 > Finance | Project Operations, Human Resources, AX, GP, SL

#1
Abhilash Warrier Profile Picture

Abhilash Warrier 669 Super User 2025 Season 2

#2
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 449 Super User 2025 Season 2

#3
Martin Dráb Profile Picture

Martin Dráb 384 Most Valuable Professional

Last 30 days Overall leaderboard

Product updates

Dynamics 365 release plans