Inventor 2025 issue with oledb
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
Hello everyone,
I developed in Visual Studio 2022 (community version) an addin for Inventor,
it connects via oledb to an Access database.
It works perfectly up to version 2024.
In inventor 2025 the code is compiled without errors but at runtime raise the error:
System.IO.FileNotFoundException: 'Could not load file or assembly 'System.Data.OleDb, Version=9.0.0.3,
Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51'.
The NuGet package System.Data.OleDb is installed
The reference to System.Data.OleDb is checked
I manually copied the System.Data.OleDb file into the compilation destination folder but
at runtime other errors are generated for missing dlls.
The problem occurs both using the procedure recommended by Jelte de Jong, and using the template provided by Autodesk.
Do you have any suggestions for me?
Thanks in advance.