SQL2000 附加数据库错误0,找不到指定模块(126) 环境:win 2003 sql2000昨晚打开企业管理器 ,请把朋友发个我的数据库文件附加到本地看看,没想到在最后选择文件所在路径的时候提示出错.还请各位帮忙,先谢过了 解决方案 » 免费领取超大流量手机卡,每月29元包185G流量+100分钟通话, 中国电信官方发货 系统文件类型是fat32还是ntfs 数据库文件有多大? ntfs mdf文件 51,200kbldf文件 2,440kb 你在你电脑上建一个资料库,测试一下附加数据库是否正常使用;本人估计是在高版本的SQL 中建立的数据库,在低版本的数据库中附加,当然也不排除数据库有问题! 原因:存储过程被恶意篡改了,打开master数据库,点开扩展存储过程项,可以看到很多的存储过程路径已经被篡改,正常的都是.dll的路径,将不是该路径的存储过程先删除先执行,存储过程的路径可以参照其它机器好的sql数据库的存储过程修复一下存储过程先删除drop procedure xp_cmdshelldrop procedure sp_OASetPropertydrop procedure sp_OAMethoddrop procedure sp_OACreatedrop procedure xp_regdeletekeydrop procedure xp_regwritedrop procedure sp_passworddrop procedure xp_dirtreedrop procedure sp_password后执行exec sp_addextendedproc xp_cmdshell,'xplog70.dll' exec sp_addextendedproc sp_OACreate,'odsole70.dll' exec sp_addextendedproc sp_OAMethod,'odsole70.dll' exec sp_addextendedproc xp_regdeletekey,'xpstar.dll' exec sp_addextendedproc xp_regwrite,'xpstar.dll' exec sp_addextendedproc xp_dirtree,'xpstar.dll' exec sp_addextendedproc sp_OAGetProperty,'odsole70.dll' drop procedure sp_password是为什么呢 还出现2次 看来,是有人专门针对Sql的攻击,这些人太无耻了。 帮忙看看这个查询语句怎么写 行中的列值相同时,只在第一行显示这个值,其它行不显示。 高分!在线等!关于数据库查询优化! 〓★★★〓 存储过程分页: 对于非唯一值字段排序 有没有好的解决方法? sql 索引问题! 查询语句。求优化!~(在线等!~) 帮忙写个Sql,100分哦 在sql server中如何判断某一天是不是月末? MS SQL数据库用DTS导数据的问题 SQL SERVER和NT的怪问题! 这两个not exists 是如何运行的? 数据库工程师必备知识
ntfs mdf文件 51,200kb
ldf文件 2,440kb
修复一下存储过程
先删除
drop procedure xp_cmdshell
drop procedure sp_OASetProperty
drop procedure sp_OAMethod
drop procedure sp_OACreate
drop procedure xp_regdeletekey
drop procedure xp_regwrite
drop procedure sp_password
drop procedure xp_dirtree
drop procedure sp_password
后执行
exec sp_addextendedproc xp_cmdshell,'xplog70.dll'
exec sp_addextendedproc sp_OACreate,'odsole70.dll'
exec sp_addextendedproc sp_OAMethod,'odsole70.dll'
exec sp_addextendedproc xp_regdeletekey,'xpstar.dll'
exec sp_addextendedproc xp_regwrite,'xpstar.dll'
exec sp_addextendedproc xp_dirtree,'xpstar.dll'
exec sp_addextendedproc sp_OAGetProperty,'odsole70.dll'
是为什么呢 还出现2次