Solving: Timeout expired. The timeout period elapsed prior to completion of the operation or the server is not responding.

I was getting the error: Timeout expired. The timeout period elapsed prior to completion of the operation or the server is not responding, when the CloseActivity action was called on a BPT Action.

 

Cause

This was caused by a query in the OnClose action of the BPT action. This query was taking more then 30 seconds resulting in a SQL Server query timeout.

 

Solution

After tweaking the query the error was resolved.

 

4f28f0f1-8d43-4e0b-bc22-3fd624b7f387

Time of Log:

2013-11-11 09:49:09

eSpace:

Test

Tenant:

Users

User:

(7)

Session Id:

ldvw1leqzfsw55ze4zxopmz5

Server:

SERVER001

Module:

Message:

Timeout expired. The timeout period elapsed prior to completion of the operation or the server is not responding.

Stack:

at OutSystems.HubEdition.RuntimePlatform.Processes.ProcessBase.ThrowSpecificException(String failureMessage)
at OutSystems.HubEdition.RuntimePlatform.GenericExtendedActions.#Reb(HeContext heContext, Int32 activityId, Boolean advanceProcess, Boolean skip, Boolean skipAll, Action`4 activityChecks, List`1 inputs)
at OutSystems.HubEdition.RuntimePlatform.GenericExtendedActions.ActivityClose(HeContext heContext, Int32 activityId, String requiredssKey, String actionName, List`1 inputs, Int32& nextHumanActivityId)
at OutSystems.HubEdition.RuntimePlatform.GenericExtendedActions.ActivityClose(HeContext heContext, Int32 activityId, Int32& nextHumanActivityId)
at ssHRCallRegistration.Actions.ActionCloseActivityCustomAction(HeContext heContext, Int32 inParamActivityId)
at ssHRCallRegistration.Flows.FlowMainFlow.WBlkEnlistmentCreateDocuments.CommandDone(HeContext heContext)
-Env-
eSpaceVer: 725 (Id=2492, PubId=2461, CompiledWith=8.0.0.8)
RequestUrl: http://12.0.0.1/Test/Activity_View.aspx (Method: POST)
AppDomain: /LM/W3SVC/1/ROOT/Test-55-130286322452188885
FilePath: C:\…\PS\running\Test.0862112041\Activity_View.aspx
Locale: nl-NL
DateFormat: yyyy-MM-dd
PID: 1692 (‘w3wp’, Started=’11/8/2013 7:33:37 AM’, Priv=517Mb, Virt=5661Mb)
TID: 66
Thread Name:
.NET: 2.0.50727.6407

Leave a Reply

Your email address will not be published. Required fields are marked *