Enable Agent XP in SQL Server

By default Agent XP is disabled in the Sql Server. It is required to create different jobs on the Sql Server. Any attempt to access it might result in the following error:

Agent XP can be enabled by the following 2 ways:

1) SQL Server Configuration

To enable it rt click the SQL Server and follow these steps

2)SQL Query


****************************************************************
--Query:
****************************************************************
sp_configure 'show advanced options', 1;
GO
RECONFIGURE;
GO
sp_configure 'Agent XPs', 1;
GO
RECONFIGURE
GO
****************************************************************
--http://technet.microsoft.com/en-us/library/ms178127.aspx
****************************************************************



Now you can see in the following image, that Agent xp has been enabled.

Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s