Показать сообщение отдельно
Старый 18.05.2014, 20:11   #1  
Blog bot is offline
Blog bot
Участник
 
25,643 / 848 (80) +++++++
Регистрация: 28.10.2006
goshoom: Access denied: SysOperationServiceController
Источник: http://dev.goshoom.net/en/2014/05/ac...icecontroller/
==============

I unexpectedly got Access denied: SysOperationServiceController when trying to call a method through the SysOperation framework in Dynamics AX 2012. It was just a piece of research code and I didn’t want to bother with my own controller, therefore I created and executed a menu item with the following properties:

PropertyValueObjectTypeClassObjectSysOperationServiceControllerEnumTypeParameterSysOperationExecutionModeEnumParameterSynchronousThe error message is a bit misleading, so it took me a minute to realize that I forget to define which method to call. Setting the Parameters property to MyClass.MyMethod did the job.



Источник: http://dev.goshoom.net/en/2014/05/ac...icecontroller/
__________________
Расскажите о новых и интересных блогах по Microsoft Dynamics, напишите личное сообщение администратору.