Error 3241: The media family on device is incorrectly formed

Sometimes we may receive the below error message when restoring the database from the backup file using SQL Server Management Studio:

The media family on device 'Backupfile.bak' is incorrectly formed. SQL Server cannot process this media family.

RESTORE HEADERONLY is terminating abnormally. (Microsoft SQL Server, Error: 3241)


Error 3241 - The Media Family on Device is Incorrectly Formed


Cause:

The backup file was corrupted due to file uploaded using FTP Text Mode.

Solution:

Need to always upload the backup file using FTP in Binary Mode and then restore operation will be successful.
  • 3 Users Found This Useful

Was this answer helpful?

Related Articles

Error: Fatal error: Allowed memory size of xxxxxx bytes exhausted

Sometimes you may receive the following error message while accessing your PHP page: Error :...

How do I fix HTTP Error 404 on my website?

Following are some of the most common reasons and solutions of 404 error. You might be typing...

Error 1503: Error while restarting MySQL service on Windows server

You may need to restart MySQL services from Services on Windows server. While restarting service,...

How to emulate register_globals in PHP 5.4

During our recent Linux server migration task, we faced following strange issue: Some websites...

WebsitePanel error :: Web Application Gallery module is unavailable

You may receive the following error while installing any Microsoft Applications from Microsoft...