I was building a workflow that contains Approval actions and multiple field changes. It was publishing fine. At some point, when I reached Step 4, it stopped publishing, it didn't publish even after I removed a "problematic" part of the workflow completely. Interesting, then even after I create a simple one-action workflow for the same list - I cannot publish it either. Like something just broke on the server.
When I click "Check for Errors" SP Designer reports "The workflow contains no errors".
I then click "Publish" but the Workflow Error dialog is displayed with the message
Errors were found when compiling the workflow. The workflow files were saved but cannot be run.
Clicking the advanced button reveals more information:
Could not publish the workflow because the workflow configuration file contains errors.
What should I check and what happened? Thanks!