Quantcast
Channel: Microsoft Dynamics GP Forum - Recent Threads
Viewing all articles
Browse latest Browse all 14686

Intermittent timeout error when approving purchase req from email

$
0
0

Intermittently when we click on the Approve button on the page which opens after clicking the Approve link in a workflow email we get the generic error : "The server encounters an error processing the request. See server logs for more details". There seems to be a 30sec timeout somewhere but I can't find it! Our workflow is a little complicated which I think is why it sometimes can timeout but it would be great if we could at least try changing the timeout setting.

On the GP server running the web service these errors are logged as 'timeouts' within the Dynamics GP Web Service Exception Management Console :-

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

Object : Microsoft.Dynamics.GP.WebServices.WorfklowA

Exception Detail :

at System.Data.SqlClient.SqlConnection.OnError(SqlException exception, Boolean breakConnection, Action`1 wrapCloseInAction)
at System.Data.SqlClient.TdsParser.ThrowExceptionAndWarning(TdsParserStateObject stateObj, Boolean callerHasConnectionLock, Boolean asyncClose)
at System.Data.SqlClient.TdsParser.TryRun(RunBehavior runBehavior, SqlCommand cmdHandler, SqlDataReader dataStream, BulkCopySimpleResultSet bulkCopyHandler, TdsParserStateObject stateObj, Boolean& dataReady)
at System.Data.SqlClient.SqlCommand.FinishExecuteReader(SqlDataReader ds, RunBehavior runBehavior, String resetOptionsString)
at System.Data.SqlClient.SqlCommand.RunExecuteReaderTds(CommandBehavior cmdBehavior, RunBehavior runBehavior, Boolean returnStream, Boolean async, Int32 timeout, Task& task, Boolean asyncWrite, SqlDataReader ds)
at System.Data.SqlClient.SqlCommand.RunExecuteReader(CommandBehavior cmdBehavior, RunBehavior runBehavior, Boolean returnStream, String method, TaskCompletionSource`1 completion, Int32 timeout, Task& task, Boolean asyncWrite)
at System.Data.SqlClient.SqlCommand.InternalExecuteNonQuery(TaskCompletionSource`1 completion, String methodName, Boolean sendToPipe, Int32 timeout, Boolean asyncWrite)
at System.Data.SqlClient.SqlCommand.ExecuteNonQuery()
at Microsoft.Dynamics.GP.WebServices.WorkflowActionRenderingEngineContract.WorkflowActionProvider.Action(Context context, Guid stepInstanceId, String identity, String comments, Boolean isTaskCompleteAction)
at Microsoft.Dynamics.GP.WebServices.WorkflowActionRenderingEngineContract.WorkflowActionProvider.Approve(Context context, Guid stepInstanceId, String identity, String comments)
at Microsoft.Dynamics.GP.WebServices.WorkflowActionRenderingEngineContract.WorkflowActionProviderHelper.InvokeAction(Context context, WorkflowActions action, Guid stepInstanceId, String identity, String comments, String delegateTo)
at Microsoft.Dynamics.GP.WebServices.WorkflowActionRenderingEngineContract.WorkflowActionRenderingEngine.InvokeAction(String sqlServerName, String systemDatabaseName, Int32 companyId, Int32 action, String documentNo, Guid stepInstanceId, String comments, String delegateTo)


Viewing all articles
Browse latest Browse all 14686

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>