Results 1 to 2 of 2
  1. #1
    wkot is offline Novice
    Windows 8 Access 2010 64bit
    Join Date
    Jun 2015
    Posts
    1

    Error 1172 while sending attachment to database in LabVIEW

    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:


    https://decibel.ni.com/content/docs/DOC-12108



    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?

  2. #2
    June7's Avatar
    June7 is online now VIP
    Windows 7 64bit Access 2010 32bit
    Join Date
    May 2011
    Location
    The Great Land
    Posts
    53,621
    Seems to be a LabVIEW issue, not Access question.

    I don't have LabVIEW so I expect cannot explore the download file from that thread.
    How to attach file: http://www.accessforums.net/showthread.php?t=70301 To provide db: copy, remove confidential data, run compact & repair, zip w/Windows Compression.

Please reply to this thread with any new information or opinions.

Similar Threads

  1. sending email with attachment of certain file.
    By joshynaresh in forum Access
    Replies: 1
    Last Post: 02-13-2014, 05:16 AM
  2. Sending email with an attachment
    By jle0003 in forum Access
    Replies: 3
    Last Post: 12-19-2012, 12:43 PM
  3. Replies: 1
    Last Post: 03-19-2012, 04:29 PM
  4. Sending Report from Access as attachment in Email
    By taimysho0 in forum Programming
    Replies: 16
    Last Post: 02-09-2012, 12:07 PM
  5. Replies: 0
    Last Post: 07-06-2010, 08:12 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Other Forums: Microsoft Office Forums