Personalized Community is here!
Quickly customize your community to find the content you seek.
Have questions on moving to the cloud? Visit the Dynamics 365 Migration Community today! Microsoft’s extensive network of Dynamics AX and Dynamics CRM experts can help.
2021 Release Wave 1Discover the latest updates and new features to Dynamics 365 planned April 2021 through September 2021.
Release overview guides and videos Release Plan | Preview 2021 Release Wave 1 Timeline
The FastTrack program is designed to help you accelerate your Dynamics 365 deployment with confidence.
FastTrack Program | Finance and Operations TechTalks | Customer Engagement TechTalks | Upcoming TechTalks | All TechTalks
I'm facing a problem with workflow in AX 2012 R2. After I create workflow, I click on button "Save and close" in order to save workflow. Unfortunately, the workflow is not saved.
I looked into Event Viewer --> Applications and Services log --> Microsoft AX workflow and I saw these errors:
Workflow threw an exception for the following reason: The server has rejected the client credentials.
Workflow threw an exception for the following reason: The communication object, System.ServiceModel.Channels.ServiceChannel, cannot be used for communication because it is in the Faulted state.
Exception thrown in : Workflow configuration The communication object, System.ServiceModel.Channels.ServiceChannel, cannot be used for communication because it is in the Faulted state
Workflow threw an exception for the following reason: Exception has been thrown by the target of an invocation.
Does anyone face this problem? Please help me to fix it
Thanks in advance
Please make sure the entire AOT compile without errors (just errors). Make sure CIL compiles. Restart the AOS.
Make sure the client configuration has refreshed WCF bindings with proper endpoint principals.
I compiled AOT without error, have full CIL generation and restart AOS but nothing changed. Do you have any ideas?
No one face this error?
Please help me.
"The server has rejected the client credentials" sounds like a clear indication of what's wrong. Please verify that workflow execution account is configured correctly.
See more about workflow setup in Configure the workflow system [AX 2012].
I had this problem before and here is the fix for it:
Unable to save an existing workflow to which you are making small changes, is a known issue at Microsoft the good thing is that it can be fixed via a simple code change on the “canclose” method of the workflowEditorHost form.
If you go to the AOT > Forms > WorkflowEditorHost. Find the CanClose() method and change the code:
public boolean canClose()
ret = super();
ret = modelEditorControl.SaveAndClose();
netExcepn = CLRInterop::getLastException();
After making this change then do the following:
1. Run an Incremental CIL.
2. Compile Forward on the NumberSeq class (Right-click > Add-in > Compile Forward).
3. Generate an incremental CIL.
I hope this helps!
I am facing the same issue in AX2012 R3, what was the solution which you had applied to solve the issue.
I have tried all the methods mentioned above, but no success...
Any updates on this issue?
I seem to be having the same problem om 2012R3CU8
I hope you have resolved the issue, if not pls try the following which solved my issue:
made change in registrty :-
This settings should fix it:
just googled around these values.
after you set DisableStrictNameChecking=1 and reboot computer, you will have two options.
more secure... Update BackConnectionHostNames=.
or less secure... set DisableLoopbackCheck=1
both ways described in kb support.microsoft.com/.../896861
Thank you for the feedback!
I'm not sure if the environment is still existing because it was for pre sales purposes but if I encounter the issue I'll check it ;-)
Business Applications communities