当我尝试在SQL Server中创建新的维护计划时,它显示此错误:
TITLE: Microsoft SQL Server Management Studio
------------------------------
'Agent XPs' component is turned off as part of the security configuration for
this server. A system administrator can enable the use of 'Agent XPs' by using sp_configure.
For more information about enabling 'Agent XPs', see "Surface Area Configuration" in
SQL Server Books Online. (ObjectExplorer)
答案 0 :(得分:48)
您需要首先运行以下命令来启用SQL Server代理扩展存储过程。
sp_configure 'show advanced options', 1;
GO
RECONFIGURE;
GO
sp_configure 'Agent XPs', 1;
GO
RECONFIGURE
GO