15 May 2014

Send SQL Server Agent Error Messages:


Limitations and Restrictions

·         Object Explorer only displays the SQL Server Agent node if you have permission to use it.
·         The Microsoft Windows Messenger service must be running to receive net send events.

Permissions:

   To perform its functions, SQL Server Agent must be configured to use the credentials of an account that is a member of the sysadmin fixed server role in SQL Server. The account must have the following Windows permissions:

·         Log on as a service (SeServiceLogonRight)
·         Replace a process-level token (SeAssignPrimaryTokenPrivilege)
·         Bypass traverse checking (SeChangeNotifyPrivilege)
·         Adjust memory quotas for a process (SeIncreaseQuotaPrivilege)

Using SQL Server Management Studio

To send SQL Server Agent error messages

1.    In Object Explorer, click the plus sign to expand the server that contains the SQL Server Agent error log from which you want to send error messages via net send.
2.    Right-click SQL Server Agent and select Properties.
3.    In the SQL Server Agent Properties – server_name dialog box, under Error log on the General page, , type the user name or computer name to which you want to send error messages in the Net send recipient box.
4.    Click OK.

No comments:

Post a Comment