Inventor 2025 OleDB Issue FYI: OleDBConnection is not defined

Inventor 2025 OleDB Issue FYI: OleDBConnection is not defined

xenocatalyst
Advocate Advocate
218 Views
1 Reply
Message 1 of 2

Inventor 2025 OleDB Issue FYI: OleDBConnection is not defined

xenocatalyst
Advocate
Advocate

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

219 Views
1 Reply
Reply (1)
Message 2 of 2

t.karipidis
Participant
Participant
That works THANK YOU!!
0 Likes