码迷,mamicode.com
首页 > 数据库 > 详细

在configure distribution时遇到错误,不能打开sql agent

时间:2015-09-09 13:02:40      阅读:177      评论:0      收藏:0      [点我收藏+]

标签:

今天在配置Distribution时,遇到一个错误,不能打开sql agent,详细错误信息如下:

技术分享

SQL Server blocked access to procedure ‘dbo.sp_set_sqlagent_properties‘ of component ‘Agent XPs‘ because this 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‘, search for ‘Agent XPs‘ in SQL Server Books Online. (.Net SqlClient Data Provider)

 从网上找到的solution

--To resolve this error, following script has to be executed on the server.

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

 When you run above script, it will give a very similar output as following on the screen.

技术分享

 

在configure distribution时遇到错误,不能打开sql agent

标签:

原文地址:http://www.cnblogs.com/ljhdo/p/4794067.html

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!