When opening a file in Revit you get the following error message:
Data in file <filename> is corrupt and needs to be manually recovered."
First check if the hard drive is low on free space. If Revit is not able to expand the project into the Temp directory (%TMP%), then this message can occur.
If the system has at least 5 GB of hard disk space free when this error occurs (and clearing the Temp directory doesn't clear the error), follow the steps in the links below, based on your file type, to recover a backup copy of the file.
For non-workshared files:
Recovering non-workshared files
For workshared files:
Recovering a backup of a workshared file
If the file can be opened, complete the following steps:
- In the Open dialog, check the Audit box and open the file.
- Go to Manage > Purge Unused.
- Go to the Application Menu > Save As dialog, and save the file under a new name.
- Switch to your desktop and open Windows Explorer (Windows key +E).Type %temp% in the address bar.
- Delete as many files as possible from this folder. Some files may not be able to be deleted if they are in use by other applications on your machine.
- Move the local files and their backups to the desktop.
- Open Revit.
- Open the project file with "Create new local" checked.
If a backup cannot be opened:
Create a new Central file from an existing Local file, following the steps outlined in the document below:
Creating a Central Model from an Existing Workshared File
Products: AutoCAD Revit Architecture Suite;AutoCAD Revit MEP Suite;AutoCAD Revit Structure Suite;Revit Architecture;Revit MEP;Revit Structure;AutoCAD Revit LT Suite;Revit LT