我用的是sa 登录SQLServer 2000在执行exec xp_cmdShell 错误未能找到存储过程 'master..xp_cmdshell'。

East271536394 2008-04-27 03:08:30
我用的是sa 登录SQLServer 2000在执行exec xp_cmdShell 错误未能找到存储过程 'master..xp_cmdshell'。
...全文
685 12 打赏 收藏 转发到动态 举报
写回复
用AI写文章
12 条回复
切换为时间正序
请发表友善的回复…
发表回复
meiZiNick 2008-05-01
  • 打赏
  • 举报
回复
以后需再关注,现在先帮你顶一下
-晴天 2008-04-27
  • 打赏
  • 举报
回复
刚才说的,是在企业管理器,master数据库中...
-晴天 2008-04-27
  • 打赏
  • 举报
回复
在扩展存储过程中找一下是否没有xp_cmdshell,如没有,右击,新建,名称为这个,路径为 SQL Server安装目录\mssql\binn\xplog70.dll,点确定就行了.
East271536394 2008-04-27
  • 打赏
  • 举报
回复
删除方法为:
到sql server的查询分析器中,试用存储过程sp_dropextendedproc就可删除xp_cmdshell这个存储过程。
格式为:EXEC sp_dropextendedproc 'xp_cmdshell'
需要时可使用sp_addextendedproc恢复
格式为:EXEC sp_addextendedproc xp_cmdshell,'xplog70.dll'

还是我自己找到了呵,
East271536394 2008-04-27
  • 打赏
  • 举报
回复
sp_configure 'xp_cmdshell', 1
reconfigure
是这个错呀
服务器: 消息 15123,级别 16,状态 1,过程 sp_configure,行 78
配置选项 'xp_cmdshell' 不存在,也可能是高级选项。

有效的配置选项为:
East271536394 2008-04-27
  • 打赏
  • 举报
回复
怎么加进来呀,
Limpire 2008-04-27
  • 打赏
  • 举报
回复
sp_configure 'xp_cmdshell', 1
reconfigure
-晴天 2008-04-27
  • 打赏
  • 举报
回复
此存储过程是可以被删除的.
East271536394 2008-04-27
  • 打赏
  • 举报
回复
在master
areswang 2008-04-27
  • 打赏
  • 举报
回复
在其它数据库执行的吧?
Limpire 2008-04-27
  • 打赏
  • 举报
回复
exec master..xp_cmdshell
areswang 2008-04-27
  • 打赏
  • 举报
回复
use master
go

34,576

社区成员

发帖
与我相关
我的任务
社区描述
MS-SQL Server相关内容讨论专区
社区管理员
  • 基础类社区
  • 二月十六
  • 卖水果的net
加入社区
  • 近7日
  • 近30日
  • 至今
社区公告
暂无公告

试试用AI创作助手写篇文章吧