nectar
nectar

Reputation: 9679

How to create maintenance plan in SQL Server?

When I'm trying to create a new maintenance plan in SQL Server, it is showing this error:

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)  

Upvotes: 13

Views: 16939

Answers (1)

Martin Smith
Martin Smith

Reputation: 453278

You need to enable the SQL Server Agent extended stored procedures first by running the following.

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

Upvotes: 52

Related Questions