积极答复者
本地管理员登陆后执行xp_cmdshell SQLSERVER服务意外停止

问题
答案
-
查了一下msdn
sp_reset_connection是系统存储过程
sp_reset_connection 存储过程由 SQL Server 用来支持事务中的远程存储过程调用。从连接池中重用连接时,该存储过程还将导致激发 Audit Login 和 Audit Logout 事件
http://msdn.microsoft.com/zh-cn/library/ms187961(v=SQL.105).aspx
下面这个帖子里面说这个存储过程不会有什么问题
还有一个帖子也是关于这个存储过程的
- 已标记为答案 Amy PengMicrosoft employee, Moderator 2012年11月19日 1:46
全部回复
-
2012-11-11 10:14:58.95 spid53 Configuration option 'allow updates' changed from 0 to 0. Run the RECONFIGURE statement to install.
2012-11-11 10:14:59.01 spid53 Configuration option 'show advanced options' changed from 1 to 1. Run the RECONFIGURE statement to install.
2012-11-11 10:14:59.03 spid53 Configuration option 'xp_cmdshell' changed from 1 to 1. Run the RECONFIGURE statement to install.这事错误记录的最后,我有个过程是定时通过xp_cmdshell执行查询,所以每次执行前会恢复一次xp_cmdshell,其他没有什么错误!就是执行xp_cmdshell错误!
-
2012-11-11 10:14:58.95 spid53 Configuration option 'allow updates' changed from 0 to 0. Run the RECONFIGURE statement to install.
2012-11-11 10:14:59.01 spid53 Configuration option 'show advanced options' changed from 1 to 1. Run the RECONFIGURE statement to install.
2012-11-11 10:14:59.03 spid53 Configuration option 'xp_cmdshell' changed from 1 to 1. Run the RECONFIGURE statement to install.这事错误记录的最后,我有个过程是定时通过xp_cmdshell执行查询,所以每次执行前会恢复一次xp_cmdshell,其他没有什么错误!就是执行xp_cmdshell错误!
-
xp_cmdshell已启用
执行exec master..xp_cmdshell '' 就出现下面的错误:
消息 109,级别 20,状态 0,第 0 行
在从服务器接收结果时发生传输级错误。 (provider: 共享内存提供程序, error: 0 - 管道已结束。)服务器是sql 2005
你好,
你可不可以先在这个地址下载SQL Server 2005 的最新补丁SP4:http://www.microsoft.com/en-us/download/details.aspx?id=7218, 然后再看看问题有没有得到解决。 详细信息请参考:http://support.microsoft.com/kb/924291?wa=wsignin1.0 。Thanks,
Amy Peng立刻免费下载TechNet论坛好帮手
-
查了一下msdn
sp_reset_connection是系统存储过程
sp_reset_connection 存储过程由 SQL Server 用来支持事务中的远程存储过程调用。从连接池中重用连接时,该存储过程还将导致激发 Audit Login 和 Audit Logout 事件
http://msdn.microsoft.com/zh-cn/library/ms187961(v=SQL.105).aspx
下面这个帖子里面说这个存储过程不会有什么问题
还有一个帖子也是关于这个存储过程的
- 已标记为答案 Amy PengMicrosoft employee, Moderator 2012年11月19日 1:46