在重新连接数据库一下吧!另问一下你为什么要用ODBC来连接数据库

解决方案 »

  1.   

    恐怕是有某个DLL文件被更新的缘故。
    你最近有没有装什么软件?
      

  2.   

    我重新装过我的数据库文件,理论上不可能多次装在同一个地方,固硬盘有坏道应该不会吧。我没有用ODBC连接数据库,我是用ado 2.6连接的,它报ODBC的错误,我才试一下的。我的DLL都是新的,我检查过,别人没有重新装sql server,装其他软件也会有问题吗?
      

  3.   

    如果检测到的错误是孤立的,则 DBCC CHECKDB 的修复功能可能很有用。
      

  4.   

    "如果检测到的错误是孤立的,则 DBCC CHECKDB 的修复功能可能很有用"数据库重建了多次还会出现吗,而且其他数据库没有问题?怎样单独使用BDCC CHECKDB?
      

  5.   

    你重新恢复了MASTER库么?我估计是MASTER有问题,你试试恢复看看!
    还有你可以试试重新安装SQL SERVER SP2.在SQL 查询分析器运行
    DBCC CHECKDB
    (检查指定数据库中的所有对象的分配和结构完整性。)
      

  6.   

    BELOW MESSAGE FROM MSDN
    GOOD LUCK!Error 823 
    Severity Level 24 
    Message Text 
    I/O error %ls detected during %S_MSG at offset %#016I64x in file '%ls'.Explanation
    Microsoft® SQL Server™ encountered an I/O error on a read or write request made to a device. This error usually indicates disk problems. However, additional kernel messages in the error log, recorded before error 823, should indicate which device is involved.Action
    Check the accessibility and condition of the device in question.Run hardware diagnostics and correct problems, if possible.Restore damaged files from the latest database backup. Restoring from a database backup should always be considered the primary means of fixing a damaged database. If you don't have a backup or if the errors detected are very isolated, the repair functionality of DBCC CHECKDB may be useful. However, using DBCC CHECKDB can be more time consuming than restoring the damaged files from a backup, and you may not be able to recover all your data .Caution  If running DBCC CHECKDB with one of the repair clauses does not correct the problem or if you are unsure how this process may affect your data, contact your primary support provider
      

  7.   

    嗯,我想也可能是master数据库有问题,等会去试试,God Bless!