web
You’re offline. This is a read only version of the page.
close
Skip to main content

Notifications

Announcements

No record found.

Community site session details

Community site session details

Session Id :
Microsoft Dynamics GP (Archived)

Intermittent timeout error when approving purchase req from email

(0) ShareShare
ReportReport
Posted on by

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

I have the same question (0)
  • Sherri L Profile Picture
    80 on at

    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

Responsible AI policies

As AI tools become more common, we’re introducing a Responsible AI Use…

Neeraj Kumar – Community Spotlight

We are honored to recognize Neeraj Kumar as our Community Spotlight honoree for…

Leaderboard > 🔒一 Microsoft Dynamics GP (Archived)

#1
mtabor Profile Picture

mtabor 1

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans