sp_configure command to open the component agent XPs, Database Plan (Maintenance plan)

Source: Internet
Author: User
Tags sql server books

When you create a new plan, remember that the execution plan requires the SQL Agent service (SQL Server Agent) to also open the Maintenance dialog box: "SQL Server has blocked access to the process ' dbo.sp_set_sqlagent_properties ' of component ' Agent XPs ' because this component has been shut down as part of this server's security configuration." SQL Server blocked access to the process ' dbo.sp_set_sqlagent_properties ' of component ' Agent XPs ' because this component was shut down as part of this server's security configuration. System administrators can enable ' Agent XPs ' by using sp_configure. For more information about enabling ' Agent XPs ', see "surface area Configurator" in SQL Server Books Online. (. Net SqlClient Data Provider). " execute the following SQL statement to resolve:
1sp_configure'Show advanced Options',1;2 Go3 Reconfigure;4 Go5 6sp_configure'Agent XPs',1;7 Go8 Reconfigure;9 Go 

usage Scenarios for database planning:Open the Agent service (SQL Server agent), create a new schedule (Maintenance plan), perform a backup schedule every Wednesday, Friday, and Sunday 1 o'clock, make a full backup of the Kenmuportal database, and the backup file is stored in the "C: \ Kenmutemp\backup folder, save only the most recent week of Bak backup files. Results:

sp_configure command to open the component agent XPs, Database Plan (Maintenance plan)

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.