BIM 360 Links Not Found - Fix
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
A user reports to me that some of my plugins were messing with BIM360 links, after testing a lot of things I found out what is causing the problem.
It's a known problem here in the forum and what's causing the issue is referencing a bigger version of the Newtonsoft.Json package.
In Revit 2021 the default version of 'Newtonsoft.Json' is 11 and when an application/plugin requests to load 'Newtonsoft.Json' version 13 and are not found in the plugins folder some strange happens.
Instead of ignoring and using the already loaded 'Newtonsoft.Json' version 11, for some reason, Revit loads a 'Newtonsoft.Json' file in the Autodesk Addin 'PnIDModeler' and is a version 11.
And if you have two 'Newtonsoft.Json' with the same version loaded in Revit, when BIM360 tries to initialize (usually happens when you open a Revit file that requires BIM360) gonna thrown an exception on the Jornal and BIM360 service fail. Without the service, Revit can't load BIM360 links.
Showing this message:
A quick fix would be removing or changing the name of the 'Newtonsoft.Json.dll' file in the Autodesk Addin 'PnIDModeler'.
Or if you are a developer using an old version like version 9 should work, Revit gonna load the default version instead. But if you need to use a specific version of the 'Newtonsoft.Json' be aware that could cause some issues in Revit.
Here is a video about the problem and how to 'fix'.
References related:
- https://forums.autodesk.com/t5/revit-api-forum/bim-360-quot-linked-document-is-not-found-quot-error/...
- https://forums.autodesk.com/t5/revit-api-forum/bim-360-links-issue/m-p/10536461
- https://archi-lab.net/dll-hell-is-real/
- https://thebuildingcoder.typepad.com/blog/2022/02/getting-started-once-again.html#6