& Construction

Integrated BIM tools, including Revit, AutoCAD, and Civil 3D
& Manufacturing

Professional CAD/CAM tools built on Inventor and AutoCAD
Integrated BIM tools, including Revit, AutoCAD, and Civil 3D
Professional CAD/CAM tools built on Inventor and AutoCAD
Autodesk Support
Aug 8, 2024
Products and versions covered
A Revit model keeps crashing with messages such as: "too many missing elements," "an unrecoverable error has occurred," and so on.
In the Revit journal, you see the following line:
ApplicationException is being thrown on behalf of the function <bool __cdecl FilterCategoryRule::setCategories(const class crs::Set<class ElementId,struct std::less<class ElementId>,class tnallc<class ElementId>
There is a problem with the Revit.ini file in C:\Users\<username>\AppData\Roaming\Autodesk\Revit\Autodesk Revit <version>.
Locate the Revit.ini file here: C:\Users\username\AppData\Roaming\Autodesk\Revit\Autodesk Revit xxxx
Replace it with the Revit.ini file found here: C:\ProgramData\Autodesk\RVT xxxx\UserDataCache
Close all instances of Revit.
In C:\Users\username\AppData\Roaming\Autodesk\Revit\Autodesk Revit 2017, locate Revit.ini. Save a copy of this file to your desktop. (You will overwrite the original copy of this file in step 4, so keep a copy until the process is complete.)
In C:\ProgramData\Autodesk\RVT 2017\UserDataCache, locate Revit.ini, and copy it to the clipboard (Ctrl+C)
Go back to C:\Users\username\AppData\Roaming\Autodesk\Revit\Autodesk Revit 2017 and use Ctrl+V to paste the copy of Revit.ini into this folder (overwriting the existing copy).
Open Revit to test whether the problem is resolved.
If the information above does not lead to a solution, see the following guide for other possible causes of this error: Guide: An unrecoverable/fatal error has occurred when using Revit
Was this information helpful?
The Assistant can help you find answers or contact an agent.
What level of support do you have?
Different subscription plans provide distinct categories of support. Find out the level of support for your plan.
How to buy
Privacy | Do not sell or share my personal information | Cookie preferences | Report noncompliance | Terms of use | Legal | © 2025 Autodesk Inc. All rights reserved