Thursday, October 11, 2012

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

I got this error while working with SharePoint designer 2010 workflow. The full error message is "Error were found when compiling the workflow. The workflow files were saved but cannot be run.

Unexpected error on server associating the workflow".

I found a very good and simple solution in Snahta blog. The solution of the above error is very simple.

Open the web.config file of the web application which we usually found in
C:\inetpub\wwwroot\wss\VirtualDirectories\[web application name]\web.config
Then search for the below line:
<httpRuntime maxRequestLength="51200" />

And replace the above line with below line:

<httpRuntime maxRequestLength="51200" executionTimeout="300" />

Here we have only added the executionTimeout="300". And then save the web.config file. Then it will work.
As we know SharePoint 2013 has been already released, you can check some SharePoint 2013 articles.

No comments:

Post a Comment