运行批处理作业时遇到异常

时间:2014-03-12 08:57:18

标签: batch-processing axapta dynamics-ax-2012

我正在尝试在Live Server上运行基于SysOperation Framework的AX 2012批处理作业,并遇到以下异常。请注意,同一批处理作业在登台服务器上成功运行。我已经生成了完整的CIL来解决这个问题,但没有运气。请帮忙!

Microsoft.Dynamics.Ax.Xpp.ErrorException: Exception of type 'Microsoft.Dynamics.Ax.Xpp.ErrorException' was thrown.
at Dynamics.Ax.Application.SysOperationController.Checkaccess() in SysOperationController.checkAccess.xpp:line 6
at Dynamics.Ax.Application.SysOperationServiceController.Checkaccess() in SysOperationServiceController.checkAccess.xpp:line 24
at Dynamics.Ax.Application.SysOperationServiceController.Unpack(Object[] packedState) in SysOperationServiceController.unpack.xpp:line 15
at Dynamics.Ax.Application.BatchRun.runJobStaticCode(Int64 batchId) in BatchRun.runJobStaticCode.xpp:line 36
at Dynamics.Ax.Application.BatchRun.runJobStatic(Int64 batchId) in BatchRun.runJobStatic.xpp:line 13
at BatchRun::runJobStatic(Object[] )
at Microsoft.Dynamics.Ax.Xpp.ReflectionCallHelper.MakeStaticCall(Type type, String MethodName, Object[] parameters)
at BatchIL.taskThreadEntry(Object threadArg)

1 个答案:

答案 0 :(得分:1)

未显示X ++异常消息:

  

拒绝访问:%1

其中%1是类的名称。

我会尝试重新创建批处理作业,看它是否有帮助。运行当前批处理作业的用户可能没有足够的权限。