Quantcast
Channel: Microsoft Dynamics AX Forum - Recent Threads
Viewing all articles
Browse latest Browse all 175888

workflow stop error (Event viewer error: failed to logon to AX)

$
0
0

Hi,

We are trying to create a workflow for project timesheet.  Workflow is setup but we submit the workflow then item queues are not created and we see the Workflow stop error.

I have checked the event viewer and I can see below error.

First Error:

Workflow threw an exception for the following reason: Failed to logon to Microsoft Dynamics AX.

Second Error:

Workflow Instance ID: 000123 mscorlib Failed to logon to Microsoft Dynamics AX.

Server stack trace:

at System.ServiceModel.Channels.ServiceChannel.HandleReply(ProxyOperationRuntime operation, ProxyRpc& rpc)

at System.ServiceModel.Channels.ServiceChannel.Call(String action, Boolean oneway, ProxyOperationRuntime operation, Object[] ins, Object[] outs, TimeSpan timeout)

at System.ServiceModel.Channels.ServiceChannelProxy.InvokeService(IMethodCallMessage methodCall, ProxyOperationRuntime operation)

at System.ServiceModel.Channels.ServiceChannelProxy.Invoke(IMessage message)

Exception rethrown at [0]:

at System.Runtime.Remoting.Proxies.RealProxy.HandleReturnMessage(IMessage reqMsg, IMessage retMsg)

at System.Runtime.Remoting.Proxies.RealProxy.PrivateInvoke(MessageData& msgData, Int32 type)

at Microsoft.Dynamics.AX.Framework.Workflow.Model.AxWorkflowServiceReference.SysWorkflowConfigurationService.getConfiguration(SysWorkflowConfigurationServiceGetConfigurationRequest request)

at Microsoft.Dynamics.AX.Framework.Workflow.Model.AxServiceClient.getConfiguration(Guid _configurationId, String _companyId)

at Microsoft.Dynamics.AX.Framework.Workflow.Model.WorkflowModel.LoadModel(Int64 workflowRecId, Guid workflowId, String companyId, Boolean runtime, String partitionKey)

at Microsoft.Dynamics.AX.Framework.Workflow.Model.WorkflowModel.Create(Guid workflowId, Boolean runtime)

at Microsoft.Dynamics.AX.Framework.Workflow.Runtime.AxWorkflowService.GetConfiguration(Guid configurationId, String companyId, String domainUser)

at Microsoft.Dynamics.AX.Framework.Workflow.Runtime.WorkflowInstanceManager.Execute(WorkflowMessage message, Guid instanceId, String instanceNumber, String originator, String submitter, Guid affinity)

I have checked the workflow execution account and it is set to admin account who has system admin role in AX.

Is there a way to resolve this?

Thanks in advance.

Regards,
Nadeem

 


Viewing all articles
Browse latest Browse all 175888

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>