Content Management and Capture

Content Management and Capture

Come for answers. Stay for best practices. All we’re missing is you.

 View Only
  • 1.  Custom Action Dll issue

    Posted Mon November 29, 2021 10:19 PM
    Hi All,

    I have a custom action that is failing in Rule Runner with; Error (385875972=hex:17000004). In CCom::Call: Couldn't load needed object:.

    This same action is being called earlier in the workflow in another task profile and ruleset. This profile also had been working before without any changes being applied since it had been working.

    Any thoughts or suggestions would be greatly appreciated.

    Thanks,
    Bob

    ------------------------------
    Bob Moores
    ------------------------------


  • 2.  RE: Custom Action Dll issue

    Posted Tue November 30, 2021 03:13 AM

    Bob, here's a quick thought...

     

    You say that the same custom action works in one place, but not in another.

     

    Is it possible this 'same action' is actually being called from two different libraries, one with the appropriate dependencies installed and the other without?

     

     

    Robert Stegall / Sr DevOps Engineer

    AAA Texas / Information Systems

    1225 Freeport Parkway, Coppell, TX 75019

    469-221-8384

     

    *** Disclaimer *** This communication (including all attachments) is solely for the use of the person to whom it is addressed and is a confidential AAA communication. If you are not the intended recipient, any use, distribution, printing, or copying is prohibited. If you received this email in error, please immediately delete it and notify the sender.





  • 3.  RE: Custom Action Dll issue

    Posted Tue November 30, 2021 05:58 AM

    Hi
    perhaps it helps you even if you do not write which version of DC you have... not at least this should be the first thing to write in a question :-)

    Could you confirm that you copied only one DLL with this name in one of the following folders:

    to use the DLL actions for more DC applications then it must be copied in Datacap fodler\dcshared\.net
    to use the DLL actions only for one application DC <application_name folder>\dco...\rules
    Before doing such settings do not forget to stop all Dc applications including ICN, tmweb.net Rulerunner, the Taskmaster and  Datacap taskmaster

    dorothea

    ------------------------------
    dorothea vulcan
    dorotheavulcandorotheavulcan@yahoo.com
    ------------------------------



  • 4.  RE: Custom Action Dll issue

    Posted Tue November 30, 2021 11:07 AM
    Hi Dorothea and Robert,

    Forgot to put that we are on 9.1.8. Also this is a custom action for one application and in the dco/rules folder. 

    I did discover that it was complaining about the dcsmart.dll not found and realized that it was referencing the 9.1.6 version.  I updated the dcsmart.dll and seems to be working.

    Thanks you both for your replies and information,

    Bob

    ------------------------------
    Bob Moores
    ------------------------------



  • 5.  RE: Custom Action Dll issue

    Posted Tue November 30, 2021 03:51 PM
    Happy to know it works!
    Please do not forget: Beginning with 9.1.7 you have to recompile the actions DLL and using a Visual Studio 2019 and the Datacap V 9.1.7 libraries In the same way for anew release 91.8. for more details see the development documentation of Datacap.

    Regards,
    dorothea

    ------------------------------
    dorothea vulcan
    dorotheavulcandorotheavulcan@yahoo.com
    ------------------------------