title: Workflow Fails to Compile and Publish in SharePoint Designer 2010
body: <p>The SharePoint install is a SP2010 install on a 2008 R2 server. Everything is fully patched. I am running the SP Designer on the SharePoint Server directly.</p>
  
  <p>I have a workflow which is intended to send an email when a new document is created in a custom list. I have deliberately kept the workflow very simple in order to illustrate this problem.</p>
  
  <p>After creating this single step workflow in SP Designer, I click "Check for Errors" and SP Designer reports "The workflow contains no errors".</p>
  
  <p>I then click "Publish" but the Workflow Error dialog is displayed with the message </p>
  
  <blockquote>
    <p>Errors were found when compiling the workflow. The workflow files
    were saved but cannot be run.</p>
  </blockquote>
  
  <p>Clicking the advanced button reveals more information: </p>
  
  <blockquote>
    <p>Could not publish the workflow because the workflow configuration file
    contains errors</p>
  </blockquote>
  
  <p>Any suggestions gratefully received</p>