加入收藏 | 设为首页 | 会员中心 | 我要投稿 李大同 (https://www.lidatong.com.cn/)- 科技、建站、经验、云计算、5G、大数据,站长网!
当前位置: 首页 > 站长学院 > MsSql教程 > 正文

sql-server-2008-r2 – 错误:注意:无法通过电子邮件通知“运算

发布时间:2020-12-12 08:30:34 所属栏目:MsSql教程 来源:网络整理
导读:当作业失败时,我发送通知有问题.我创建了数据库邮件配置文件,并将其分配给SQL Agent和重新启动的SQL Agent. 当我运行程序msdb.dbo.sp_send_dbmail时,正在发送电子邮件.另外当我使用数据库邮件发送测试电子邮件它工作正常.但是当我设置Job失败通知时,在作业日
当作业失败时,我发送通知有问题.我创建了数据库邮件配置文件,并将其分配给SQL Agent和重新启动的SQL Agent.
当我运行程序msdb.dbo.sp_send_dbmail时,正在发送电子邮件.另外当我使用数据库邮件发送测试电子邮件它工作正常.但是当我设置Job失败通知时,在作业日志中我看到以下信息:注意:无法通过电子邮件通知“SQL作业失败”.
我不知道这个问题的根源是什么.我发现这个提示: http://sqlblog.jfperry.com/jpsql/post/2009/04/07/NOTE-Failed-to-notify-7boperator7d-via-email.aspx

但是我检查了SQL代理中的配置文件是否启用. SQL代理已重新启动.哪里可以解决问题的根源?

解决方法

正如你在你的问题中提到的,我的问题确实是代理人的邮件配置文件 – 谢谢提示.

this post底部提到的其他提示包括:

  1. Ensure DB mail is enabled within the SQL Server Surface Area Configuration. Do this by right clicking the server name and selecting
    FACETS from the menu Select the ‘Server Configuration’ from Facet
    dropdown Ensure Facet Property of ‘DatabaseMailEnabled’ is True

  2. Set up a Mail Profile within the Management Folder of your server

  3. Within SQL Server Agent set up an Operator

  4. Look in the properties of the SQL Server Agent (right-click properties) and under the Alert System page tick ‘Enable mail profile’
    and select your default profile that you set up in step 2.

  5. Restart the SQL Server Agent

(编辑:李大同)

【声明】本站内容均来自网络,其相关言论仅代表作者个人观点,不代表本站立场。若无意侵犯到您的权利,请及时与联系站长删除相关内容!

    推荐文章
      热点阅读