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

解决方案 »

  1.   

    sp_configure 'xp_cmdshell', 1
    reconfigure
      

  2.   

    sp_configure 'xp_cmdshell', 1
    reconfigure
    是这个错呀
    服务器: 消息 15123,级别 16,状态 1,过程 sp_configure,行 78
    配置选项 'xp_cmdshell' 不存在,也可能是高级选项。
     
    有效的配置选项为:
      

  3.   

    删除方法为:
    到sql server的查询分析器中,试用存储过程sp_dropextendedproc就可删除xp_cmdshell这个存储过程。
    格式为:EXEC sp_dropextendedproc 'xp_cmdshell'
    需要时可使用sp_addextendedproc恢复
    格式为:EXEC sp_addextendedproc xp_cmdshell,'xplog70.dll'还是我自己找到了呵,
      

  4.   

    在扩展存储过程中找一下是否没有xp_cmdshell,如没有,右击,新建,名称为这个,路径为 SQL Server安装目录\mssql\binn\xplog70.dll,点确定就行了.
      

  5.   

    刚才说的,是在企业管理器,master数据库中...