Error 1172 while sending attachment to database in LabVIEW

wkot

New member
Local time
Today, 11:48
Joined
Jun 14, 2015
Messages
1
Hello everyone,

I am currently working on a program in LabVIEW in which I want to send an attachment (text file) to database in Access 2010. I found the following solution on
decibel.ni.com (attached) which I’ve tried to use in the software. Now, when I try to attach the same file sometimes it is successful, but sometimes when subVI is called, program does not work properly.
I have a problem with a constructor node,
(Microsoft.Office.interop.access.dao.dll). The problem is, that sometimes when the assembly is called, I get an Error 1172 which says:

Constructor Node Error creating instance of DBEngineClass in assembly Microsoft.Office.Interop.Access.Dao.DBEngineClass, Microsoft.Office.Interop.Access.Dao, Version=14.0.0.0, Culture=neutral, PublicKeyToken=71e9bce111e9429c, (System.Runtime.InteropServices.COMException: Creating model component instance COM ID: CLSID {CD7791B9-43FD-42C5-AE42-8DD2811F0419} from element IClassFactory failed due to error: 80010105 Server caused exception. (Exception from HRESULT: 0x80010105 (RPC_E_SERVERFAULT)).) <append><b>System.Runtime.InteropServices.COMExcep tion</b> in fileup_access07_82.vi

When I restart the program it sometimes works properly again, and I may attach file a few times, but after some time an error occurs once more. I'm working in LV2014, Windows 8.1 64 bit.

Do you have any ideas what is going on with this software?
 

Attachments

This is a .NET Office Interop question specifically for LabVIEW. Unless someone here has specifically worked with LabVIEW then, unfortunately you're asking in the wrong forum.

I would advise that you seek help with in the LabVIEW community.
 

Users who are viewing this thread

Back
Top Bottom