问题描述
SSRS(SQL Server 报表服务)订阅邮件未从数据库(报表服务器)发送。
最近我们更新了 SendGrid API 密钥以发送电子邮件(之前是用户名和密码)。
推出 API 密钥后,我们面临 SQL Server Reporting Service 电子邮件订阅失败的问题。
(我们是否需要在 SQL Server Reporting Service Cofig 文件中配置任何内容。?
如果您遇到任何相同的问题,请告诉我们。
在报表服务器日志中找到以下错误。
brary!WindowsService_27!1e44!01/14/2021-08:07:15:: i 信息:将 StoredParametersThreshold 初始化为服务器系统属性中指定的“1500”个字符。 emailextension!WindowsService_27!1e44!01/14/2021-08:07:15::e 错误:发送电子邮件时出错。异常:System.Net.Mail.SmtpException:发送邮件失败。 ---> System.IO.IOException: 无法从传输连接读取数据:net_io_connectionclosed。 在 System.Net.Mail.SmtpReplyReaderFactory.ProcessRead(Byte[] buffer,Int32 offset,Int32 read,Boolean readLine) 在 System.Net.Mail.SmtpReplyReaderFactory.ReadLines(SmtpReplyReader caller,Boolean oneLine) 在 System.Net.Mail.SmtpReplyReaderFactory.ReadLine(SmtpReplyReader caller) 在 System.Net.Mail.CheckCommand.Send(SmtpConnection conn,String& response) 在 System.Net.Mail.MailCommand.Send(SmtpConnection conn,Byte[] command,MailAddress from,Boolean allowUnicode) 在 System.Net.Mail.SmtpTransport.SendMail(MailAddress 发件人,MailAddressCollection 收件人,字符串 deliveryNotify,Boolean allowUnicode,SmtpFailedRecipientException& 异常) 在 System.Net.Mail.SmtpClient.Send(MailMessage 消息) --- 内部异常堆栈跟踪结束---
在 System.Net.Mail.SmtpClient.Send(MailMessage 消息) 在 Microsoft.ReportingServices.EmailDeliveryProvider.EmailProvider.Deliver(通知通知) 通知!WindowsService_27!1e44!01/14/2021-08:07:15:: e 错误:处理订阅时出错 b0ef6472-f255-48ed-bb1d-79a813ee4d64:发送邮件失败:发送邮件失败。
Find the Screenshot of ReportConfig file here.
解决方法
暂无找到可以解决该程序问题的有效方法,小编努力寻找整理中!
如果你已经找到好的解决方法,欢迎将解决方案带上本链接一起发送给小编。
小编邮箱:dio#foxmail.com (将#修改为@)