Cannot send mails to mail server. (The operation has timed out.)

I have configured database mail in sql server 2008 r2 on my local machine.
While testing I have observed that some of mails are not getting triggered.
Log file shows following message-
The mail could not be sent to the recipients because of the mail server failure. (Sending Mail using Account 7 (2013-04-30T10:23:57).
Exception Message: Cannot send mails to mail server. (The operation has timed out.)
I have wriitten on SP for snding mails which sends 94 mail to different ail
address  out of which only 35 are getting delivered.
Plz Assist me.

Hi Prashant Parit,
Please apply the latest SQL Server 2008 R2 Service Pack. And try to stop and restart SQL Server Agent.
See similar thread:
http://social.msdn.microsoft.com/Forums/en-US/sqltools/thread/6d3cd4ca-0a4e-4c84-bf1e-b8565c963c38.
Thanks.
Maggie Luo
TechNet Community Support

Similar Messages

  • ServiceRequestException : The request failed. The operation has timed out

    I wrote simple client using EWS Managed API. And let it run for one night. It was working fine. But when I checked it back in the morning, I found my application stopped. I checked logs I got following exception:
    2014-01-08 01:49:05.3649 | Error | Exception while fetching mails : The request failed. The operation has timed out | MyNamespace.MyClass.myMethod
    Immediate Stack Trace
    ===================================================================================
    Microsoft.Exchange.WebServices.Data.ServiceRequestException : The request failed. The operation has timed out
    at Microsoft.Exchange.WebServices.Data.ServiceRequestBase.GetEwsHttpWebResponse(IEwsHttpWebRequest request)
    at Microsoft.Exchange.WebServices.Data.ServiceRequestBase.ValidateAndEmitRequest(IEwsHttpWebRequest& request)
    at Microsoft.Exchange.WebServices.Data.SimpleServiceRequestBase.InternalExecute()
    at Microsoft.Exchange.WebServices.Data.MultiResponseServiceRequest`1.Execute()
    at Microsoft.Exchange.WebServices.Data.ExchangeService.InternalLoadPropertiesForItems(IEnumerable`1 items, PropertySet propertySet, ServiceErrorHandling errorHandling)
    at Microsoft.Exchange.WebServices.Data.ExchangeService.LoadPropertiesForItems(IEnumerable`1 items, PropertySet propertySet)
    at MyNamespace.MyClass.myMethod() in c:\MyProject\MyClass.cs:line 190
    Inner Exception 1 : Stack Trace
    The operation has timed out
    at System.Net.HttpWebRequest.GetResponse()
    at Microsoft.Exchange.WebServices.Data.EwsHttpWebRequest.Microsoft.Exchange.WebServices.Data.IEwsHttpWebRequest.GetResponse()
    at Microsoft.Exchange.WebServices.Data.ServiceRequestBase.GetEwsHttpWebResponse(IEwsHttpWebRequest request)
    Since the Exception message did not contain error code that Exchange server usually returns like (401) Unauthorized or (403) Forbidden, I am unable to pinpoint any reason for this to occur, since the functionality worked perfectly several times before
    this exception occurred as I can check in my logs. Also my diagnostic class which runs on the occurrences of any exception immediately tried to ping exchange server and re-initialize ExchangeService object. When I checked diagnostics logs after this exception
    time for the result of diagnostics, then it was able to ping the exchange server and the ExchageServer object also initialized successfully. So I am out of any reason now. 
    The exception occurred on the last line of the following code:
    ItemView itemView = new ItemView(100, 0);
    FindItemsResults<Item> itemResults = null;
    PropertySet psPropSet = new PropertySet(BasePropertySet.IdOnly);
    itemView.PropertySet = psPropSet;
    PropertySet itItemPropSet = new PropertySet(BasePropertySet.IdOnly)
    ItemSchema.Attachments,
    ItemSchema.Subject,
    ItemSchema.Importance,
    ItemSchema.DateTimeReceived,
    ItemSchema.DateTimeSent,
    ItemSchema.ItemClass,
    ItemSchema.Size,
    ItemSchema.Sensitivity,
    EmailMessageSchema.From,
    EmailMessageSchema.CcRecipients,
    EmailMessageSchema.ToRecipients,
    ItemSchema.MimeContent
    itemResults = service.FindItems(WellKnownFolderName.Inbox, itemView);
    if (itemResults.Items.Count != 0)
    service.LoadPropertiesForItems(itemResults.Items, itItemPropSet);
    Any guesses why this could have happened? Or just some random network congestion? Am I forgetting to log some more information. Should I also log Exception.Data or something else?

    The timeout is occurring on the client so it not a particular error that's being returned by the server.
    The default timeout with the EWS Managed API is 90 seconds and is set on the ExchangeService Object. You can set this to a higher value eg to set it to 5 minutes
    server.timeout = 300000;
    Why it fails ? if its overnight then Backups can be the cause eg if they are snapshotting the server or some other backup mechanism could mean the server is very busy for a time. Or any other number of specific environmental factors. This is really
    a job for your Network admin to determine with server and network monitoring. I would suggest you check the EWS.Log on the Exchange server to see what happened at that time.
    What you should do at a code level is handle the exception, I would suggest wait for 60 seconds after the exception (this will cater for most throttling issues) and then try the same request again. If it fails again after a pause then
    you generally have a larger problem.
    Cheers
    Glen

  • The operation has timed out

    Hello Forum,
    I was running a report that was built on report builder at some point an error message of the operation has timed out will come up.
    I have set the time out to 0 values and more than 600 seconds too.
    On SQL the report ran within 6 minute.
    Will be glad for quick response.
    Thank you.
    Disu Ridwan

    Hi Disu,
    I assumed that you open the report builder from the report manager or you have connectted to the report server.
    As you have mentioned that set the timeout value of the dataset didn't work. Please reference to the similer thread below to set the other time out in the configuration file and so on:
    Report Builder 2.0 / 3.0 errors out with 'The operation
    has timed out' when previewing a report saved in Report Server takes more than 10 minutes
    Steps to Resolve SSRS Timeout Issues
    "The operation has timed out" when rendering a report
    If you problem still exists, please feel free to ask.
    Regards
    Vicky Liu
    Vicky Liu
    TechNet Community Support

  • Collab CopyProjectMetaData - the operation has timed out

    For the life of me, I can't get the CopyProjectMetaData to run w/o timing out. It'll work about 1 in 10 trys if that. I'm using CopyProjectContent on the same two projects successfully everytime. But CopyProjectMetaData is basically useless. Anyone?

    Hi Disu,
    I assumed that you open the report builder from the report manager or you have connectted to the report server.
    As you have mentioned that set the timeout value of the dataset didn't work. Please reference to the similer thread below to set the other time out in the configuration file and so on:
    Report Builder 2.0 / 3.0 errors out with 'The operation
    has timed out' when previewing a report saved in Report Server takes more than 10 minutes
    Steps to Resolve SSRS Timeout Issues
    "The operation has timed out" when rendering a report
    If you problem still exists, please feel free to ask.
    Regards
    Vicky Liu
    Vicky Liu
    TechNet Community Support

  • Question about EWS - The operation has timed out

    hi everyone,
    I'm developing a solution which uses public folder database in Exchange Server to store tasks:
    - We use 1 account to access to public folder database by using EWS.
    - Currently, this public folder database contains 60000 tasks and they are being accessed by 700 users, they always have the following exception: 
    04/23/2015 09:41:15:  - The request failed. The operation has timed out
    Message :The request failed. The operation has timed out
    Source :Microsoft.Exchange.WebServices
    Stack Trace :   at Microsoft.Exchange.WebServices.Data.ServiceRequestBase.GetEwsHttpWebResponse(IEwsHttpWebRequest request)
       at Microsoft.Exchange.WebServices.Data.ServiceRequestBase.ValidateAndEmitRequest(IEwsHttpWebRequest& request)
       at Microsoft.Exchange.WebServices.Data.MultiResponseServiceRequest`1.Execute()
       at Microsoft.Exchange.WebServices.Data.ExchangeService.FindItems[TItem](IEnumerable`1 parentFolderIds, SearchFilter searchFilter, String queryString, ViewBase view, Grouping groupBy, ServiceErrorHandling errorHandlingMode)
       at Microsoft.Exchange.WebServices.Data.ExchangeService.FindItems(FolderId parentFolderId, SearchFilter searchFilter, ViewBase view, Grouping groupBy)
    Please help.
    Thanks a lot.
    Phuc

    Thanks Glen for your reply.
    Here is a code block which retrieve the number of task of some groups
    foreach (var bu in request.BusinessUnits)
    SearchFilter businessUnitFilter = new SearchFilter.IsEqualTo(BusinessUnitAliasProp, bu);//, ContainmentMode.FullString, ComparisonMode.IgnoreCase);
    SearchFilter[] filters = new SearchFilter[] { actualOwnerFilter, statusFilter, businessUnitFilter };
    var filterCollection = new SearchFilter.SearchFilterCollection(LogicalOperator.And, filters);
    GroupedFindItemsResults<Item> taskResults = this.exchangeService.FindItems(_publicFolderId, filterCollection, itemView, groupByApplication);
    if (taskResults != null && taskResults.ItemGroups != null)
    foreach (var groupItem in taskResults.ItemGroups)
    if (!dict.ContainsKey(groupItem.GroupIndex))
    dict.Add(groupItem.GroupIndex, new Dictionary<string, int>());
    if (!dict[groupItem.GroupIndex].ContainsKey(bu))
    dict[groupItem.GroupIndex].Add(bu, groupItem.Items.Count);
    Please let me know if it's too complex and might affect to the performance of Exchange Server

  • The operation has timed out default value too low - c# windows application

    Hello,
    I get the message that the operation has timed out when certain operations take too long, which would be any on our development/test server.
    I either need to make an asychronous call which I will investigate or to find the code that sets this value to ten minutes.
    Anybody know how to reset the value to ten minutes?
    Thanks,
    Stephanie

    The timeout is occurring on the client so it not a particular error that's being returned by the server.
    The default timeout with the EWS Managed API is 90 seconds and is set on the ExchangeService Object. You can set this to a higher value eg to set it to 5 minutes
    server.timeout = 300000;
    Why it fails ? if its overnight then Backups can be the cause eg if they are snapshotting the server or some other backup mechanism could mean the server is very busy for a time. Or any other number of specific environmental factors. This is really
    a job for your Network admin to determine with server and network monitoring. I would suggest you check the EWS.Log on the Exchange server to see what happened at that time.
    What you should do at a code level is handle the exception, I would suggest wait for 60 seconds after the exception (this will cater for most throttling issues) and then try the same request again. If it fails again after a pause then
    you generally have a larger problem.
    Cheers
    Glen

  • Secure Store The Operation has Timed Out

    Hi
    When clicking the managed service application for secure store in SP 2010, we get 'The operation has timed out' error
    Any ideas?

    Check ULS log against Secure Store events. At first look, it seems to be database access/connection problem. But logs will say more.

  • Internet Explorer will not allow me to download Mozilla Firefox on my computer. Its say the operation has timed out and I can't figure out why...

    I have tried saving it to a jump drive and it still will not work. It also does not let me save the file anyhwere else on my hard drive. What is the problem?

    Sadly there are some 'bad carriers' out there.  If you have a VERY long download(and iPad OS updates can be 100s of megabytes) and the carrier has  an interruption in service(router reboots, modem disconnects, etc) iTunes will timeout. 
       You might want to try updating later in the evening when usage starts to drop off(kids go to bed, people start watching cable instead of Netflix/Hulu) or early in the morning.
        The other alternative is to update at a friend's place who might have a better carrier or is on a better subnet

  • TMG 2010 report problem Operation has timed out

    Hello.
    I stuck and i'm really need assistance
    We has a TMG 2010 RTM version and i decide to update it to latest rollup and SP (dumb head)
    So at now we have TMG 2010 SP2 rollup 4.
    Before i update TMG reports work fine but at now reports not working at all.
    When i try execute a report ( or shedule daily or weekly report) i have same issue 
    Error 31289:
    The report "Daily" could not be generated. Report Server error information: The report Daily could not be generated. Report Server error information: The operation has timed out.
    The error occurred on object 'Reports' of class 'Reports Configuration' in the scope of array 'TMG`
    I read all guidliness( include this http://www.isaserver.org/tutorials/Microsoft-Forefront-TMG-How-to-use-SQL-Server-2008-Express-Reporting-Services.html) and not find something useful.
    Settings correct, and i not changed any settings.
    And at now my ideas end i ask your help.

    That would be expected as the RAT key does not exist by default on a TMG system. You will need to create it and the subkeys referenced along with the values.
    Create as described in the article. 
    Hth, Anders Janson Enfo Zipper

  • Error message... operation has timed out

    My new ipod for my daughter will not show up in itunes.  It says i need to download the latest version (10.5) of itunes. Every time I attempt to download itunes 10.5, I get the error message "the operation has timed out" itunes could not be downloaded. How do I download the latest version? I want to put songs on my daughters new ipod. Thanks

    Temporarily turn off any virus protection and firewall.

  • SQL2012: Internal Error: The operation terminated unsuccessfully. The connection timeout was exceeded. Server: The operation has been cancelled

    When rendering a SSRS native mode report based on a query to SSAS the report with fail with the following error:
    An error has occurred during report processing. (rsProcessingAborted)  Cannot read the next data row for the dataset. (rsErrorReadingNextDataRow).  The connection either timed out or was lost.  Unable to read data from the transport connection:
    An existing connection was forcibly closed by the remote host.
    Putting a trace on the SSAS instance, I get an error:
    Internal error: The operation terminated unsuccessfully.  The connection timeout was exceeded. Server: The operation has been cancelled.
    I've modified the IIS (6) application pool timeouts, the SSRS rsreportserver.config timeouts, and the SSAS timeouts.  Restarted services, rebooted, and still I get this error.
    The report will render if I select a shorter time period (less data, shorter query time).
    Running SQL2012 (11.0.5058.0), SSAS and SSRS on separate servers, same subnet.
    Any help or suggested troubleshooting greatly appreciated.

    Please check the links below.
    http://www.symantec.com/business/support/index?page=content&id=TECH186577
    https://support.microsoft.com/kb/2200755?wa=wsignin1.0
    http://msdn.microsoft.com/en-IN/library/ms155782.aspx
    http://blogs.msdn.com/b/dynamicsaxbi/archive/2013/02/14/how-to-addressing-ssrs-session-timeouts.aspx

  • Server: The operation has been cancelled

    I went thru the related threads before creating this, it seemed to be a different problem. 
    I am getting below error on a particular cube, while running queries.. Below is one of them.. The same query on other cubes in the same server complete successfully... One peculiar thing though is im getting the result back as well as error...
    Result in Result tab in SSMS, and Error in Messages tab... Can anyone please help...  
    select distinct measure_name from $SYSTEM.MDSCHEMA_MEASURES
    Error...
    Executing the query ...
    Obtained object of type: Microsoft.AnalysisServices.AdomdClient.AdomdDataReader
    Server: The operation has been cancelled.
    Execution complete
    Suman

    Hi Suman,
    For the error "Server: The operation has been cancelled", please refer to the links below to check if it works or not.
    http://tablesinadb.blogspot.kr/2012/03/operation-has-been-cancelled-when.html
    http://multidimensionalmayhem.wordpress.com/2011/10/08/an-informal-compendium-of-ssas-errors-part-4-ssas-object-design/
    Besides, are there any detail error on the log? You can troubleshoot this issue by using the Windows Event logs and msmdsrv.log.
    You can access Windows Event logs via "Administrative Tools" --> "Event Viewer".  SSAS error messages will appear in the application log.
    The msmdsrv.log file for the SSAS instance that can be found in \log folder of the instance. (C:\Program Files\Microsoft SQL Server\MSAS10.MSSQLSERVER\OLAP\Log)
    Here is a blog about data collection for troubleshooting Analysis Services issues, please see:
    Data collection for troubleshooting Analysis Services issues
    If the issue persists, please provide us more information, so that we can make further analysis.
    Regards,
    Charlie Liao
    TechNet Community Support

  • Surfing the web I constantly get a dialog box popping up that says "The connection was rest" or " Server not found" or "The connection has timed out"

    Surfing the web I constantly get a dialog box popping up that says "The connection was rest" or " Server not found" or "The connection has timed out". The panel gives me three possible causes, none of which are correct and tells me to "Try again". Sometimes when I try again the site appears, sometimes it does after several tries and sometimes it never does. I called my IP, Cox and they told me it is a result of something Microsoft put out in their updates to IE (presumably to discourage people from using Firefox). Can you help me get rid of this problem?

    Surfing the web I constantly get a dialog box popping up that says "The connection was rest" or " Server not found" or "The connection has timed out". The panel gives me three possible causes, none of which are correct and tells me to "Try again". Sometimes when I try again the site appears, sometimes it does after several tries and sometimes it never does. I called my IP, Cox and they told me it is a result of something Microsoft put out in their updates to IE (presumably to discourage people from using Firefox). Can you help me get rid of this problem?

  • Have a IPad air. I cannot sync all my music from my computer. It keeps saying the device has timed out??? What does this mean? Unfortunately I have an older Dell that's running windows XP. Help

    Have a IPad air. I cannot sync all my music from my computer. It keeps saying the device has timed out??? What does this mean? Unfortunately I have an older Dell that's running windows XP. Help please. Not a computer savvy person

    Device Manager which is in Control Panels
    I strongly recommend AIDA64 to show everything, temps, fans, chips, drivers and versions
    http://www.aida64.com/ Windows has better tools to show you every service and knick and cranny
    https://discussions.apple.com/thread/2769294
    http://realitypod.com/category/hacks-and-cracks/mac-hacks-and-cracks/
    MacBook definitely uses Cirrus - probably iMac

  • How do I fix this error: The iPad cannot be synced. The device has timed out?

    Hello out there! Would someone be so kind as to point me in the right direction in fixing my little promblem? I can't seem to figure out how to get my syncing process to work properly. I've updated all my apps and I have even done the steps to configure. I've chosen to use "my iPad" back up feature and then the next step is to connect to iTunes and sync everything. It will do so and then it will say in the window box of iTunes "Finishing Sync". A minute or so later it will feature an error box presenting the statement: "The iPad, "my iPad" cannont sync. The device has timed out." Where do I go from here? Thanks to any with some good solutions. LJ

    Oops! Shall I add that I have recently updated my iPad's iOS software to iOS 5.1.1 and this is when my troubles began. :-)

Maybe you are looking for

  • Icloud

    Hello! I have installed the HP AIO Remote app on my iPhone and iPad (both iOS8). I understand the app supports syncing to Apple iCloud, however I cannot figure out how to do this. I add a file to the Files/Documents folder in the app but it does not

  • How to put DVDs on to ipad mini

    I want to know how to put my daughter's Peppa Pig DVDs on to her ipad??

  • Internet speed goes half at night (WRT54GS 1.1)

    During the hours of 7pm-12am, my internet will go half it's speed sometimes even less but when connected directly to the modem my speed will be normal. I have a Linksys WRT54GS 1.1. I never had this problem until 3 days ago, is there any reason why m

  • Logs are not archived at Standby site on same server

    Hello all, I am using 11gR2 on Redhat Linux 5 i have a testing to do in which i have created my standby database through rman duplicate command i have my standby db on the same machine. my primary database is : prod standby database is : std on prima

  • Column Header Rendering

    Hi, Does anyone know how I can change the background color og a JTable header when I click on a column in the table. For example If I click on column 3 in the tabe the header for column 3 will change color. Thanking you in advance.