title: Errors were found when compiling the workflow in Sharepoint 2013
body: <p>I've searched and found a couple of questions which are similar, but the advanced part is different.</p>
  
  <p>When I publish any workflow on Sharepoint 2013, selecting the 2013 option not a 2010 workflow (the 2010 works fine), I get this error:</p>
  
  <blockquote>
    <p>Errors were found when compiling the workflow. The workflow files were
    saved but cannot be run</p>
  </blockquote>
  
  <p>I click in the advanced button and get</p>
  
  <blockquote>
    <p>Microsoft.SharePoint.SPException: Aún no se han capturado las
    direcciones de esta aplicación. (in english is something like <strong>"Still
    have not caught addresses this application."</strong>)    at
    Microsoft.SharePoint.SPConnectedServiceApplication.get_ApplicationAddresses()
    at
    Microsoft.SharePoint.SPServiceLoadBalancer.d__0.MoveNext()
    at
    Microsoft.SharePoint.SPRoundRobinServiceLoadBalancer.GetEndpoints(IEnumerable`1
    applicationAddresses)    at
    Microsoft.SharePoint.SPRoundRobinServiceLoadBalancer.BeginOperation() 
    at Microsoft.SharePoint.Administration.S</p>
  </blockquote>
  
  <p>I've tried re-registering the workflow service, checking if the app management service is running (was running on 1 server, started on the second server and still not working) and restarted the servers, but none of these actions has worked.</p>
  
  <p>What can be happening?</p>