While running one Job , where I was trying to execute one SQL statement in AX, I got the below stack trace :
Request for the permission of type 'SqlStatementExecutePermission' failed.
(S)\Classes\SqlStatementExecutePermission\demand
(S)\Classes\Statement\executeQuery
(C)\Jobs\test - line 21
Request for the permission of type 'SqlStatementExecutePermission' failed.
(S)\Classes\SqlStatementExecutePermission\demand
(S)\Classes\Statement\executeQuery
(C)\Jobs\test - line 21
So what is the solution for this , Very simple , we need to run this job on Server , So now how to do it :
here is solution , create a menu item of type action, give the object type as Job ,and object name , and set the property Run on as" Server ".
There you go , Problem solved :)
thanks for your post, i just run a server side job due to it (Y)
ReplyDeleteThanks for your post, very useful for me!
ReplyDeletean bình city
Chung cư The Legend Tower Nguyễn Tuân
ReplyDeleteDự án Việt Đức Complex Khuất Duy Tiến
Căn hộ BRG Park Lê Văn Lương
Mở bán chung cư Rivera Park Hà Nội
Ra mắt dự án Paragon Phạm Hùng Cầu Giấy
Chung cư Royal Park Lê Văn Thiêm
Xuân Mai Sparks Tower Dương Nội
chung cư the emerald
ReplyDeletegelexia riverside
chung cu the k park
liền kề louis city,
liền kề the green daisy
Chung cư Hồng Hà Tower,
chung cư brg park residence
chung cư eco dream
ReplyDeletechung cư gelexia riverside
mặt bằng eco dream
chung cư eco dream
Chung cư Hồng Hà Tower,
chung cư brg park residence
chung cư eco dream
ReplyDeletechung cư sunshine center
chung cư eco dream
Dự án Housinco Nguyễn Xiển,
Dự án Intracom Riverside
Chung cư Anland Premium,
arendo vĩnh yên
chung cư brg park residence
gelexia riverside
chung cư eco dream nguyễn xiển
chung cư eco dream
Chung cư Housinco Grand Tower,
Chung cư Intracom Riverside
sunshine center,
Anland Premium
dự án arendo vĩnh yên