SQL 无法装载DLL Microsoft原因
来源:互联网 发布:外贸搜索软件 编辑:程序博客网 时间:2024/05/16 12:05
无法装载DLL Microsoft原因: 126(找不到指定的模块)。
U890帐套引入提示:“无法装载 DLL Microsoft提示您请误随意操作SQL数据库 以免对起 数据库造成不必要的麻烦 或该 DLL 所引用的某一 DLL。原因: 126(找不到指定的模块。)。”
由于SQL2000的SA密码过于简单导致,被病毒恶意修改系统存储过程。
需要以下系统存储过程恢复。
注意:该方案只支持SQL2000
use master
go
--检查xp_cmdshell是否被篡改
select * from master..syscomments where object_name(id)='xp_cmdshell' and text<>'xplog70.dll'
go
--检查其他存储过程是否被篡改
select object_name(id), * from master..syscomments where object_name(id) in
('xp_getfiledetails','xp_availablemedia','xp_dirtree','xp_fixeddrives','xp_s
ubdirs',
'xp_fileexist','xp_get_tape_devices','sp_MSgetversion','xp_enumdsn','xp_regr
ead','xp_regwrite','xp_regdeletevalue',
'xp_regaddmultistring','xp_regremovemultistring','xp_regenumkeys','xp_regenu
mvalues','xp_regdeletekey','xp_instance_regread',
'xp_instance_regwrite','xp_instance_regdeletevalue','xp_instance_regaddmulti
string','xp_instance_regremovemultistring',
'xp_instance_regenumkeys','xp_instance_regenumvalues') and text <>N'xpstar.dll'
go
--发现xp_cmdshell被篡改,执行下面语句改回来
--drop procedure xp_cmdshell
--go
--exec sp_addextendedproc N'xp_cmdshell', N'xplog70.dll'
--go
--然后执行下面语句验证xp_cmdshell是否正确
--xp_cmdshell 'dir c:/'
--如果该语句异常,还有可能sql server服务的启用账户(一般情况下是system)没有
访问system32/cmd.exe文件的权限,加上权限即可
--发现其他存储过程被篡改,执行下面语句
--drop procedure 存储过程名称
--go
--exec sp_addextendedproc N'存储过程名称', N'xpstar.dll'
由于SQL2000的SA密码过于简单导致,被病毒恶意修改系统存储过程。
需要以下系统存储过程恢复。
注意:该方案只支持SQL2000
use master
go
--检查xp_cmdshell是否被篡改
select * from master..syscomments where object_name(id)='xp_cmdshell' and text<>'xplog70.dll'
go
--检查其他存储过程是否被篡改
select object_name(id), * from master..syscomments where object_name(id) in
('xp_getfiledetails','xp_availablemedia','xp_dirtree','xp_fixeddrives','xp_s
ubdirs',
'xp_fileexist','xp_get_tape_devices','sp_MSgetversion','xp_enumdsn','xp_regr
ead','xp_regwrite','xp_regdeletevalue',
'xp_regaddmultistring','xp_regremovemultistring','xp_regenumkeys','xp_regenu
mvalues','xp_regdeletekey','xp_instance_regread',
'xp_instance_regwrite','xp_instance_regdeletevalue','xp_instance_regaddmulti
string','xp_instance_regremovemultistring',
'xp_instance_regenumkeys','xp_instance_regenumvalues') and text <>N'xpstar.dll'
go
--发现xp_cmdshell被篡改,执行下面语句改回来
--drop procedure xp_cmdshell
--go
--exec sp_addextendedproc N'xp_cmdshell', N'xplog70.dll'
--go
--然后执行下面语句验证xp_cmdshell是否正确
--xp_cmdshell 'dir c:/'
--如果该语句异常,还有可能sql server服务的启用账户(一般情况下是system)没有
访问system32/cmd.exe文件的权限,加上权限即可
--发现其他存储过程被篡改,执行下面语句
--drop procedure 存储过程名称
--go
--exec sp_addextendedproc N'存储过程名称', N'xpstar.dll'
- SQL 无法装载DLL Microsoft原因
- 无法装载DLL Microsoft原因: 126(找不到指定的模块
- 无法装载DLL Microsoft提示请误随意操作SQL数据库,以免对数据库造成不必要的麻烦或DLL所引用的某一DLL。原因:126(找不到指定模块)
- 错误 0:无法装载 DLL Microsoft提示您请误随意操作SQL数据库 以免对起 数据库造成不必要的麻烦 或该 DLL
- ASP.NET调用Oracle组件提示无法装载DLL(oci.dll)错误的解决办法
- Microsoft Office Outlook 2003无法打开附件问题一个原因
- 装载外部DLL
- 运行时 DLL 装载
- 动态装载dll
- windows dll 装载过程
- MEF装载dll
- RDLC的部署(无法找到Microsoft.ReportViewer.ProcessingObjectModel.dll文件)
- RDLC的部署(无法找到Microsoft.ReportViewer.ProcessingObjectModel.dll文件)
- 无法加载DLL.xpstar90.dll或它引用的一个DLL原因126
- (Microsoft SQL Server, Error: 1326)错误原因的一种
- 装载外部DLL 全攻略
- 一个装载DLL的类
- c#中动态装载dll
- POJ2513解题报告
- DELPHI颜色常量
- Etag与HTTP缓存机制
- 配置 Git
- Qt学习笔记--编程技巧总结
- SQL 无法装载DLL Microsoft原因
- ARM-Linux下的GPIO中断程序
- CSDN第一期总结之三:Thread的问题
- 字面常量(literal constant)
- Word中“节”的作用
- android之Itent.ACTION_PICK Intent.ACTION_GET_CONTENT妙用
- Git 处理行结束符
- mkfs.jffs2使用方法
- 3G 华为ET128在TQ2440上的移植和使用(一)