Community
Inventor Programming - iLogic, Macros, AddIns & Apprentice
Inventor iLogic, Macros, AddIns & Apprentice Forum. Share your knowledge, ask questions, and explore popular Inventor topics related to programming, creating add-ins, macros, working with the API or creating iLogic tools.
cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Inventor 2025 OleDB Issue FYI: OleDBConnection is not defined

0 REPLIES 0
Reply
Message 1 of 1
xenocatalyst
85 Views, 0 Replies

Inventor 2025 OleDB Issue FYI: OleDBConnection is not defined

We have just updated to Inventor 2025.1 from 2024 and have had a problem with using one of our iLogic rules.

The rule is used to read and write to a MS Access Database and we rely on it in our workflow.

This was the error we experienced.

xenocatalyst_0-1723777392007.png

I believe I have found a solution, previously I use the below addreference and imports code in the rule header, but now it seems incomplete. 

 

AddReference "System.Data"
AddReference "System.Core"
AddReference "System.Xml"
Imports System.Data.OleDb
Imports System.Data
Imports System.Xml
Imports System.Collections

 

I have had to add another line to the header.

 

AddReference "System.Data"
AddReference "System.Core"
AddReference "System.Xml"
AddReference "inventorelectrical/system.data.OleDb" 'new reference line
Imports System.Data.OleDb
Imports System.Data
Imports System.Xml
Imports System.Collections

 

I don't know if this is specific to our particular installation or not.

 

I hope this helps someone

0 REPLIES 0

Can't find what you're looking for? Ask the community or share your knowledge.

Post to forums  

Autodesk Design & Make Report