Please start any new threads on our new site at We've got lots of great SQL Server experts to answer whatever question you can come up with.

Our new SQL Server Forums are live! Come on over! We've restricted the ability to create new threads on these forums.

SQL Server Forums
Profile | Active Topics | Members | Search | Forum FAQ
Save Password
Forgot your Password?

 All Forums
 SQL Server 2005 Forums
 SQL Server Administration (2005)
 error 5172
 Reply to Topic
 Printer Friendly
Author Previous Topic Topic Next Topic  

Starting Member

1 Posts

Posted - 09/01/2008 :  05:59:21  Show Profile  Reply with Quote
i have error 5172 during attach my .mdf file.
the error is : the header for file <db_name> is not valid database file header.the pageAudit property is incorrect.

Can anybody help me plz?????

Yak Posting Veteran

52 Posts

Posted - 08/26/2014 :  06:33:18  Show Profile  Reply with Quote
hi medzed

You need to restore from updated backup

If you have maintained a backup copy of the database then it is the right time to use it.
Go to Top of Page

Yak Posting Veteran

United Kingdom
84 Posts

Posted - 09/03/2014 :  06:56:16  Show Profile  Reply with Quote
There could be two possibility the log file or data file is damaged or you are attching a higer version database to a lower version server.Could you please give more information about versions of sql server involved here. Can you try attching data file without log file. was database cleanly shutdown ?

Hope this helps

Go to Top of Page
  Previous Topic Topic Next Topic  
 Reply to Topic
 Printer Friendly
Jump To:
SQL Server Forums © 2000-2009 SQLTeam Publishing, LLC Go To Top Of Page
This page was generated in 0.06 seconds. Powered By: Snitz Forums 2000