Skip to main content

Notifications

Announcements

No record found.

Microsoft Dynamics GP (Archived)

Intermittent timeout error when approving purchase req from email

Posted on by Microsoft Employee

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)

*This post is locked for comments

  • Sherri L Profile Picture
    Sherri L 80 on at
    RE: Intermittent timeout error when approving purchase req from email

    Hi David, we have the same issue and error.  Did you ever receive an answer for this?

    Thanks.

    Sherri

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

December Spotlight Star - Muhammad Affan

Congratulations to a top community star!

Top 10 leaders for November!

Congratulations to our November super stars!

Tips for Writing Effective Suggested Answers

Best practices for providing successful forum answers ✍️

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 291,280 Super User 2024 Season 2

#2
Martin Dráb Profile Picture

Martin Dráb 230,214 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans