Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Attach Error

Status
Not open for further replies.

qsac

Programmer
Jan 22, 2002
242
0
0
US
Anyone ever get this when attaching an MDF?

The header for file 'E:\abc.MDF' is not a valid database file header. The FILE SIZE property is incorrect.

is is corrupt? can I fix?
 
Had you properly detached it from your original server ?
Ar eyou copying it to the same location as the original server ? Have a look at the BOL on attach/detach.

--Kishore
 
It was taken off a failed hard disk.

So I assume it is bad data, i was just hoping someone had additional ideas.
 
Dont you have backups of the database ? I guess if it was retrieved from a bad disk, its difficult to get back.

--Kishore
 
The latest backups were on the disk too. They also throw an error.

 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top