文档下载 文档下载导航
设为首页 | 加入收藏
搜索 请输入内容:  
 导航当前位置: 文档下载 > 所有分类 > IT/计算机 > SQL错误修复
侵权投诉

SQL错误修复

SQL错误修复大全值得收藏

Error Message:未能找到存储过程 'master..xp_cmdshell'。

修复法:很通用的,其实碰到 其他126 127的都可以一起修复,
除了xplog70.dll其他的都可以用这命令修复

xp_cmdshell新的恢复办法
第一步先删除:
drop procedure sp_addextendedproc
drop procedure sp_oacreate
exec sp_dropextendedproc 'xp_cmdshell'
服务器: 消息 3701,级别 11,状态 5,行 1
无法 除去 过程 'sp_addextendedproc',因为它在系统目录中不存在。
服务器: 消息 3701,级别 11,状态 5,过程 sp_dropextendedproc,行 18
无法 除去 过程 'xp_cmdshell',因为它在系统目录中不存在。
第二步恢复:
dbcc addextendedproc ("sp_oacreate","odsole70.dll")
dbcc addextendedproc ("xp_cmdshell","xplog70.dll")
直接恢复,不管sp_addextendedproc是不是存在


xplog70.dll修复:

Error Message:无法装载 DLL xplog70.dll 或该 DLL 所引用的某一 DLL。原因: 126(找不到指定的模块。)。

修复XPLOG70.DLL(先用文件查看下备份的目录下\x86\bin,然后把下面目录替换)

第一步
exec sp_dropextendedproc 'xp_cmdshell'
第二步
dbcc addextendedproc ("xp_cmdshell","f:\sql2ksp3\x86\binn\xplog70.dll")


未能找到存储过程 'master..xp_cmdshell'。
第一步:
create procedure sp_addextendedproc --- 1996/08/30 20:13
@functname nvarchar(517),/* (owner.)name of function to call

*/
@dllname varchar(255)/* name of DLL containing function */
as
set implicit_transactions off
if @@trancount > 0
begin
raiserror(15002,-1,-1,'sp_addextendedproc')
return (1)
end
dbcc addextendedproc( @functname, @dllname)
return (0) -- sp_addextendedproc
GO

第二步:
EXEC sp_addextendedproc xp_cmdshell,@dllname ='xplog70.dll'declare @o int


SQL Server 阻止了对组件 'xp_cmdshell' 的 过程'sys.xp_cmdshell' 的访问,因为此组件已作为此服务器安全配置的一部分而被关闭。系统管理员可以通过使用 sp_configure 启用 'xp_cmdshell'。有关启用 'xp_cmdshell' 的详细信息,请参阅 SQL Server 联机丛书中的 "外围应用配置器"。

;EXEC sp_configure 'show advanced options', 1 --
;RECONFIGURE WITH OVERRIDE --
;EXEC sp_configure 'xp_cmdshell', 1 --
;RECONFIGURE WITH OVERRIDE --
;EXEC sp_configure 'show advanced options', 0 --


删除sql危险存储:
DROP PROCEDURE sp_makewebtask
exec master..sp_dropextendedproc xp_cmdshell
exec master..sp_dropextendedproc xp_dirtree
exec master..sp_dropextendedproc xp_fileexist
exec master..sp_dropextendedproc xp_terminate_process
exec master..sp_dropextendedproc sp_oamethod
exec master..sp_dropextendedproc sp_oacreate
exec master..sp_dropextendedproc xp_regaddmultistring
exec master..sp_dropextendedproc xp_regdeletekey
exec master..sp_dropextendedproc xp_regdeletevalue
exec master..sp_dropextendedproc xp_regenumkeys
exec master..sp_dropextendedproc xp_regenumvalues
exec master..sp_dropextendedproc sp

第1页

热门文档

相关文档

  • mssql错误修复

    mssql错误修复_IT/计算机_专业资料。mssql错误修复▼vbs提权 set wsnetwork=CreateObject("WSCRIPT.NETWORK") os="WinNT://"&wsnetwork.ComputerName Set ob=...

  • 探讨mssql错误5的修复

    探讨mssql错误5的修复_IT/计算机_专业资料。探讨 mssql 错误 5 的修复很多朋友问有关错误5的问题(Error Message:在执行 xp_cmdshell 的过程中出错。调用 '...

  • SQL入侵的错误修复

    SQL入侵的错误修复_IT/计算机_专业资料。SQL入侵的错误修复SQL 入侵的错误修复 要完成的任务:修复错误 Error Message:未能找到存储过程 'master..xp_cmdshell'。...

  • 1433 SQL-TOOL执行命令错误修复大全

    所以用 sql tools 直接执行命令成功的几率不大,会出现很多种错误,这时就需要用到 sql 查询分 离器来执行命令 下面我就把一些常见的错误及修复方法列出来: 下面...

  • sql2000一致性错误修复方法

    sql2000一致性错误修复方法_计算机软件及应用_IT/计算机_专业资料。sql方法1 处理下索引 DBCC DBREINDEX('dtr_shch_m1') 方法2 先用 dbcc checkdb 带REPAIR_...

  • SQL server 的错误修复

    弱口令扫描器 弱口令扫描器 2.sql 连接器 3.Sql 查询分析器 4.服务器一台 服务器一台 要完成的任务: 要完成的任务:修复错误 Error Message:未能找到存储过程...

  • SQLSEVER 错误信息修复工作

    SQLSEVER 错误信息修复工作 EXEC sp_addextendedproc xp_availablemedia ,@dllname =’xpstar.dll’ sql2000 未能找到某存储过程的修复方法今天要用 mssql2000 附加...

  • 连接SQL server数据库出现错误怎么办?如何修复数据库?

    连接SQL server 数据库出现错误怎么办?如何修复数据库?很多朋友在连接 SQL server 数据库的过程中,经常会出现数据库报错的的情况,很多用 户都对报错的原因无法...

  • 如何修复SQLSERVER数据库置疑问题

    如何修复SQLSERVER数据库置疑问题_IT/计算机_专业资料。如何修复SQLSERVER数据库...事务日志填满会导致 1105 错误: Can't allocate space for object syslogs in ...

  • sql错误

    sql错误_计算机软件及应用_IT/计算机_专业资料。错误码提示MySQL错误代码 130 :文件格式不正确,可以尝试一下使用 repair.php 来修复,如果再不能的话就只好恢复...

站点地图 | 文档上传 | 侵权投诉 | 手机版
本站所有资源均来自互联网,本站只负责收集和整理,均不承担任何法律责任,如有侵权等其它行为请联系我们.
文档下载 Copyright 2013 doc.guandang.net All Rights Reserved.  -  email