System.Net.Mail.SmtpException: The operation has timed out.

Mar 26, 2012 at 3:39 AM

Can someone please tell me where to increase the limit of the timeout value?

I have the logs below for further reference.

03/26/2012 11:10:36.54  BOCDM Utility.vshost.exe (0x11B4)        0x095C Windows SharePoint Services    Workflow Infrastructure        88xr Unexpected WinWF Internal Error, terminating workflow Id# 4e1152b3-61eb-4b25-a127-569be2a7db98  
03/26/2012 11:10:36.54  BOCDM Utility.vshost.exe (0x11B4)        0x095C Windows SharePoint Services    Workflow Infrastructure        98d4 Unexpected DP.Sharepoint.Workflow.DPWorkflowException: Error sending Email ---> System.Net.Mail.SmtpException: The operation has timed out.     at System.Net.Mail.SmtpClient.Send(MailMessage message)     at DP.Sharepoint.Workflow.Common.SendMailWithAttachment(SPSite site, String from, String to, String cc, String subject, String body, AttachmentInfo[] attachments, Boolean urgent)     at DP.Sharepoint.Workflow.SendEmailExtended.<>c__DisplayClass2.b__0()     at Microsoft.SharePoint.SPSecurity.CodeToRunElevatedWrapper(Object state)     at Microsoft.SharePoint.SPSecurity.<>c__DisplayClass4.b__2()     at Microsoft.SharePoint.Utilities.SecurityContext.RunAsProcess(CodeToRunElevated secureCode)     at Microsoft.SharePoint.SPSecurity.RunWithElevatedPrivileges(WaitCallback ...  
03/26/2012 11:10:36.54* BOCDM Utility.vshost.exe (0x11B4)        0x095C Windows SharePoint Services    Workflow Infrastructure        98d4 Unexpected ...secureCode, Object param)     at Microsoft.SharePoint.SPSecurity.RunWithElevatedPrivileges(CodeToRunElevated secureCode)     at DP.Sharepoint.Workflow.SendEmailExtended.Execute(ActivityExecutionContext executionContext)     --- End of inner exception stack trace ---     at DP.Sharepoint.Workflow.SendEmailExtended.Execute(ActivityExecutionContext executionContext)     at System.Workflow.ComponentModel.ActivityExecutor`1.Execute(T activity, ActivityExecutionContext executionContext)     at System.Workflow.ComponentModel.ActivityExecutor`1.Execute(Activity activity, ActivityExecutionContext executionContext)     at System.Workflow.ComponentModel.ActivityExecutorOperation.Run(IWorkflowCoreRuntime workflowCoreRuntime)     at System.Workflow.Runtime.Scheduler.Run()  

 
Please help me.
Apr 9, 2012 at 9:08 PM

I get the same every once in a while.  Any fixes for this?

Apr 10, 2012 at 1:22 AM

I still don't know how to fix this.

I just used 1 SharePoint Group for my purposes and it worked without errors.

Apr 23, 2012 at 2:16 PM

I just noticed your thread, you may want to look at this thread I posted because it may be related http://spdactivities.codeplex.com/discussions/353223