Thursday, August 25, 2011

Errors were found when compiling the workflow. The workflow files were saved but cannot be run.

Problem: When publishing Workflow in SharePoint Designer. We get a message Errors were found when compiling the workflow. The workflow files were saved but cannot be run.

Resolution:

1- Go to "C:\inetpub\wwwroot\wss\VirtualDirectories\" of the specific Site.
Open web.config
3- Find the first line with "httpRuntime".



4- Add the attribute executionTimeout="300"
The whole line should look like this
5- Save web.config
6- Do iisreset /noforce

7- Close Designer and re open.
8- Delete Workflow and recreate.
9- Save and publish ;)

Worked for me..Hope it works for you.

No comments:

Post a Comment