简体   繁体   English

SSRS 2016-发送邮件失败:操作已超时。将不会重新发送邮件

[英]SSRS 2016 - Failure sending mail: The operation has timed out.Mail will not be resent

I am constantly getting the following error when sending out email subscriptions (data driven) 发送电子邮件订阅(数据驱动)时,我不断收到以下错误

   at Microsoft.ReportingServices.EmailDeliveryProvider.EmailProvider.Deliver(Notification notification)
notification!WindowsService_5!2754!07/31/2018-10:12:22:: e ERROR: Error occurred processing subscription ec52efbe-63be-4b47-85e1-fa8f850d76ab: Failure sending mail: The operation has timed out.Mail will not be resent.
notification!WindowsService_5!2754!07/31/2018-10:12:22:: i INFO: Notification 8290464c-90d6-4e58-859e-33f4a4e24a74 completed.  Success: False, Status: Failure sending mail: The operation has timed out.Mail will not be resent., DeliveryExtension: Report Server Email, Report: Invoice, Attempt 0
emailextension!WindowsService_5!8c0!07/31/2018-10:12:33:: e ERROR: Error sending email. Exception: System.Net.Mail.SmtpException: The operation has timed out.
   at System.Net.Mail.SmtpClient.Send(MailMessage message)

I don't think it's the report timing out as it runs fine for file share subscription without any errors.. Only about 60 - 70 emails are generated at any one time and more than 75% fail with the above error.. yet I have the same report doing over 400 for file share and they all work fine. 我不认为这是报告超时的原因,因为它可以很好地运行文件共享订阅而没有任何错误。.一次仅生成大约60-70封电子邮件,而超过75%的电子邮件因上述错误而失败..但是我有同一份报告进行了400多个文件共享,它们都工作正常。 (0 errors) (0个错误)

I've looked at report server settings and increased the session timeout value etc.. but hasn't made any difference.. 我查看了报表服务器设置,并增加了会话超时值等。但没有任何区别。

I'm using SSRS 2016 (64 Bit) Enterprise on Windows Server 2012 R2 (64 bit) 我在Windows Server 2012 R2(64位)上使用SSRS 2016(64位)企业版

I can't seem to find any sort of definitive pointers online.. any help would be appreciated 我似乎无法在网上找到任何明确的指针..任何帮助将不胜感激

For those who come across this and wonder how to fix this issue.. I cannot believe this hasn't been suggested ANYWHERE! 对于那些遇到此问题并想知道如何解决此问题的人。我不敢相信任何地方都没有建议这样做!

Change the time out on the Dataset for the Data Driven subscription. 更改数据驱动器订阅的数据集上的超时。 This fixed the error I was encountering! 这解决了我遇到的错误! So simple.. 很简单..

Mine was set at 30 seconds.. I changed this to 100 and it worked fine. 我的设定为30秒。我将其更改为100,但工作正常。 but my report run in under 3 seconds per report.. changing this value to 0 make it not timeout. 但我的报告在每份报告的运行时间不到3秒内。将该值更改为0使其不会超时。 Not sure if that is a wise idea or not.. 不知道这是否是一个明智的主意。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM