Thursday, November 24, 2016

AX 2012: Access Denied: ***Controller

Recently I came across the following exception while opening batch job via a menu item which has been written using sysOperation framework. It was happening only with non-admin users so the first thing I could think of permission/access issue.




















I checked all properties on menu item, everything seems to be set properly as required.


















Solution: 
Created a new server method under security privilege which is created for menu item used to called this import routine. 

Select required class, Under method dropdown type your required method [by default it list static methods], and set EffectiveAccess to Invoke.




No comments:

Post a Comment

I will appreciate your comments !

Download large bacpac (sandbox database) to DEV environment much faster

As the LCS website gets slower and slower and the database backups get bigger and bigger.  Use AZCopy to download objects out of LCS asset l...