2010-07-06 107 views
12

當我試圖創建SQL Server中的新的維護計劃,其顯示的錯誤:如何在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) 
+2

如果SQL Server代理服務未運行,您還會收到此消息。除了T-SQL答案之外,請檢查SQL Server代理的Windows服務列表,並確保它設置爲自動啓動並運行。 – ulty4life 2015-09-01 16:06:06

回答

47

您需要啓用SQL Server代理擴展運行下面的第一個存儲過程。

sp_configure 'show advanced options', 1; 
GO 
RECONFIGURE; 
GO 
sp_configure 'Agent XPs', 1; 
GO 
RECONFIGURE 
GO 
+1

這解決了我完全相同的問題。 – Kta 2013-08-01 14:27:12

相關問題