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 not loading

    Posted Fri November 05, 2021 01:23 PM

    I have a custom action that is not loading in our production environment. It is working fine on our development and test servers. I tried the regasm but it is giving me an error saying it is not a valid .NET assembly.

    It is custom to a single application and in the dco/rules folder.

    Any suggestions will be greatly appreciated. This is a recompile from dot net 2 to dot net 4 for Datacap 9.1.8

    Thanks,

    Bob



    #IBMDatacap
    #Support
    #SupportMigration


  • 2.  RE: Custom action not loading

    Posted Fri November 05, 2021 03:15 PM

    Is development also on 9.18?

    Custom action require it's own version of DDK to build from. https://github.com/ibm-ecm/datacap-developer-kit

    If it's on the same version than maybe recompile it with MS visual studio. Depending on the MS visual studio you are using to compile a dll. Should you copy the dll to a different system, the other system would require the ms visual redist version as the system that was used to compile the dll. Hope it's not too confusion.



    #IBMDatacap
    #Support
    #SupportMigration


  • 3.  RE: Custom action not loading

    Posted Fri November 05, 2021 04:51 PM

    Thanks for the reply,

    Yes development and test are all on 9.1.8. I rebuilt the custom action and was able to register it with regasm. The custom action is showing up in DStudio but showing error "couldn't convert rrx to irrxnet"

    Bob



    #IBMDatacap
    #Support
    #SupportMigration


  • 4.  RE: Custom action not loading

    Posted Fri November 05, 2021 05:26 PM

    I recompiled it and copied the dll to the production server. I was able to register the dll using regasm. Opened Datacap Studio and it the custom action show in the actions library but gave me the error I put in the last post. I then copied the dll to the test server and Datacap Studio gave me the same error as production. Replace the dll on the test server and fix Studio. Copied that dll to the production server and now all seems happy. Datacap Studio shows the custom action with no errors and the batches that aborted before or now running with no errors.


    I would not change my luck for all of the skill in the world ;o)


    Thanks again for you reply. It made me go back and rebuild the component and somehow fixed it,


    Bob



    #IBMDatacap
    #Support
    #SupportMigration


  • 5.  RE: Custom action not loading

    Posted Fri November 05, 2021 06:36 PM


  • 6.  RE: Custom action not loading

    Posted Mon November 29, 2021 05:18 PM

    Hi all,

    Thought I had resolved this issue. Now I am getting this error from the Rule Runner log;

    Error (385875972=hex:17000004). In CCom::Call: Couldn't load needed object:

    It was working and then stopped. Also I am calling the same action in a previous task profile and ruleset.

    Have any of you seen this before? I did use regasm to register the dll.

    Thanks,

    Bob



    #IBMDatacap
    #Support
    #SupportMigration