The header for file"dbname_log.ldf" is not a valid database file header

  • Please help me with this problem.

    SQL 7.0

    I copied both ldf and mdf file after shutting down the SQLServer because of HDD failure.

    SQL 7.0 server on new computer won't attach the db with following error.

    [Microsoft][ODBC SQL Server Driver][SQL Server] The header file for the "D:\database\dbname.ldf" is not a valid database file header. The pageAudit property is incorrect.

    Thanks in advance.

  • Are you using UI or sp_attach_db?

    Please post the query you are using.

Viewing 2 posts - 1 through 1 (of 1 total)

You must be logged in to reply to this topic. Login to reply