| title | Send SQL Server Agent Error Messages | Microsoft Docs | ||||
|---|---|---|---|---|---|
| ms.custom | |||||
| ms.date | 06/13/2017 | ||||
| ms.prod | sql-server-2014 | ||||
| ms.reviewer | |||||
| ms.technology | ssms | ||||
| ms.topic | conceptual | ||||
| helpviewer_keywords |
|
||||
| ms.assetid | 2597d0d7-951a-48cf-989f-abb67b9fdb36 | ||||
| author | stevestein | ||||
| ms.author | sstein | ||||
| manager | craigg |
This topic describes how to how to configure [!INCLUDEmsCoName] [!INCLUDEssNoVersion] Agent to send its error messages by way of net send in [!INCLUDEssCurrent] by using [!INCLUDEssManStudioFull].
In This Topic
-
Object Explorer only displays the [!INCLUDEssNoVersion] Agent node if you have permission to use it.
-
The [!INCLUDEmsCoName] Windows Messenger service must be running to receive net send events.
To perform its functions, [!INCLUDEssNoVersion] Agent must be configured to use the credentials of an account that is a member of the sysadmin fixed server role in [!INCLUDEssNoVersion]. 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)
For more information about the Windows permissions required for the [!INCLUDEssNoVersion] Agent service account, see Select an Account for the SQL Server Agent Service and Configure Windows Service Accounts and Permissions.
-
In Object Explorer, click the plus sign to expand the server that contains the [!INCLUDEssNoVersion] Agent error log from which you want to send error messages via net send.
-
Right-click SQL Server Agent and select Properties.
-
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.
-
Click OK.