preloader-matrix

Alfasith

Request for the permission of type ‘SqlStatementExecutePermission’ failed in Dynamic AX 2012

Hi,

sometimes running a Job in AX will cause above error.

Request for the permission of type ‘SqlStatementExecutePermission’ failed.
(S)ClassesSqlStatementExecutePermissiondemand
(S)ClassesStatementexecuteQuery
(C)Jobstest – line 21

Solution:
                     Run this job on Server.
How to run in server:
                     Create a menu item of type action, give the object type as Job ,and object name , and set the property Run on as” Server “.

Enjoy,

Leave a Reply

Your email address will not be published. Required fields are marked *