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

Various Outlook/Outlook Express Error Codes

Error Code Description 0x800CCCF4 HTTPMail Your outlook settings may...

Error 80004005 The Microsoft Jet Database Engine Cannot Open the File

Following are the possible causes of this error: This error usually occurs when database file or...

500 Internal Server Error

In Windows hosting, sometimes you may get error message 500 Internal Server Error for scripts...

How to emulate register_globals in PHP 5.4

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

How to Fix Runtime Error on Website with SDF Database?

Problem Statement Runtime error on website having Database on SDF file. Solution Start IIS...