用友T6软件如何启动sql server 2005 xp_cmdshell服务

技术咨询,有偿服务!
复制微信号
如何启动sql server 2005 xp_cmdshell服务
原因分析:默认情况下,xp_cmdshell 选项在新安装的软件上处于禁用状态,但是可以通过使用外围应用配置器工具或运行 sp_configure 系统存储过程来启用它
问题解答:方法1、通过使用外围应用配置器工具启用,打开配置工具-sql server外围应用配置器-功能的外围应用配置器,在Database Engine下选择xp_cmdshell ,然后勾选“启用xp_cmdshell ”,点确定;方法2:运行 sp_configure 系统存储过程来启用-- To allow advanced options to be changed.EXEC sp_configure 'show advanced options', 1GO-- To update the currently configured value for advanced options.RECONFIGUREGO-- To enable the feature.EXEC sp_configure 'xp_cmdshell', 1GO-- To update the currently configured value for this feature.RECONFIGUREGO启用成功会提示:配置选项 'show advanced options' 已从 0 更改为 1。请运行 RECONFIGURE 语句进行安装。配置选项 'xp_cmdshell' 已从 0 更改为 1。请运行 RECONFIGURE 语句进行安装。
如果您的问题还没有解决,或者在百度上找不到答案可以到右上角搜索中进行搜索。