Quantcast
Viewing all articles
Browse latest Browse all 669

Error 5172, xxx.mdf is not a valid database file header.

Hi All

 

I'm attempting to creat a new system by copying the datafiles from an existing system. I've used the same <sid> (the 2 systems are not in the same landscape), ECC 6.0 & SQL Server 2005 versions. I've copied the datafiles from the source system onto an external drive, attached the external drive to the target system and copied the files onto my new system

 

When I try to bring up the database, I receive the follwoing error:

 

Error: 5172, Severity 16, State: 15.

The header file '..... .mdf' is not a valid database file header. The PageAudit property is incorrect.

 

In trouble shooting, I shut down SQL, renamed the datafiles, created a New Database with the same name. Then shut down SQL again, changing the Original files back to the New Database name, but the system still would not come up.

 

I'm thinking that my original datafiles are corrupted and will have to get another backup or copy of the datafiles from the original source.

 

Does anyone one have any ideas on how I might be able to quickly restore the system from these files?

 

Ken


Viewing all articles
Browse latest Browse all 669

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>