You are not able to open a file with audit selected.
Issue: When opening a
Revit model using the Audit check box, the model fail to open. Messages similar to the following are received:
- Data in file (filename).rvt is corrupt and needs to be manually recovered
- The model (filename).rvt is missing many elements, and it cannot be opened.
- Assertion failed: line 797 of ElemTable\Marshaller.cpp
- A fatal error has occurred. The application will be terminated. You have the opportunity to save recovery files for all of your changed projects
Causes: A corrupt family is causing this error. Entries similar to the following will be recorded in the journal files.
- DBG_WARN: (asynchronous i.e. previously detected)Why no ElemRec?: line 119 of OwnerGraph\KingOf.cpp.
- DBG_WARN: (asynchronous i.e. previously detected)Missing owner, or cycle of owners!: line 113 of OwnerGraph\KingOf.cpp.
- DBG_WARN: Failed to translate big ElemId.: line 217 of Family\FamilyDocument.cpp.
Solution: To find the corrupt family, do the following:
- Open the model without using the Audit check box.
-
Save loaded families
- When you see the error message (e.g. Data in file ..., Family Name cannot be saved, etc.), look at the status bar of the
Revit window to determine the family being exported.
- Do one of the following:
- Reload the family.
When reloading, you should be prompted to overwrite the parameter values. If this prompt does not display, the family is not being reloaded.
- Delete family from the model and retest.
If the issue continues, there may be additional corrupt families. Repeat the solution steps again until all corrupt families have been identified and reloaded or deleted..