The Pause Execution component does not pause for longer than 2 minutes

Article:TECH179834  |  Created: 2012-01-25  |  Updated: 2012-06-13  |  Article URL http://www.symantec.com/docs/TECH179834
Article Type
Technical Solution


Issue



When using the Pause Execution component in a Workflow project, the project throws an exception after 2 minutes.


Error



 

 

 

 

LastComponent = "Pause Execution"

ModelID = "26dc5ddd-c0f4-404c-937a-fc8edb94e4cc"

StackTrace = " at System.Threading.Thread.SleepInternal(Int32 millisecondsTimeout)

at LogicBase.Components.Default.Process.PauseExecution.Run(IData data) in c:\build\projects\WF71MR2\components\LogicBase.Components.Default\Process\DefaultProcessComponents.cs:line 469

at LogicBase.Core.ExecutionEngine.SinglePathProcessComponentExecutionDelegate.Execute(IData data, IOrchestrationComponent comp, String& outputPath, IExecutionEngine engine, TLExecutionContext context)

at LogicBase.Core.ExecutionEngine.AbstractExecutionEngine.RunComponent(TLExecutionContext context, IData data, IOrchestrationComponent comp)"

ThisFormData =


Cause



The default Keep-Alive value for the Client or IIS process is 2 minutes. The HTTP (Web Form) context is reset once the Keep-Alive value is exceeded.


Solution



The Pause Execution component should be configured to not pause for longer than 1 minute. The value of 1 minute is conservative and should be well behaved in all environments.

 

NOTE: If you are using multiple Pause Execution components in a row with minimal pause lengths, it is the aggregate length of the pause that is causing the exception. In summary, the Pause Exception component is not the cause for the error, it is the HTTP Keep-Alive time-out that is responsible.




Article URL http://www.symantec.com/docs/TECH179834


Terms of use for this information are found in Legal Notices