Outlook VBO - Internal : Could not execute code stage because exception thrown by code stage: The operation failed because of a registry or installation problem. Restart Outlook and try again. If the problem persists, reinstall.
I'm using the MS Outlook Email VBO - Get Received Items (Basic) - action to retrieve e mails from a shared mailbox. And Also using it to read archived emails from the main mailbox.
I have all the paraments in place that are needed. But even with just the shared mailbox parameter and include unread emails parameter, I am getting this error "Outlook VBO - Internal : Could not execute code stage because exception thrown by code stage: The operation failed because of a registry or installation problem. Restart Outlook and try again. If the problem persists, reinstall."
From the error message it seems the Outlook VBO isn't able to instantiate the underlying objects associated with Outlook. I assume you have Outlook installed on the machine where you're testing? If so, my recommendation would be to uninstall and reinstall it as it seem something related to the interop library may not have been properly registered in the Windows Registry.
Interesting. What version of the Outlook VBO are you using? Is it the latest release from the DX? Also, do you have Use Cached Exchange Mode and Download shared folders enabled?
It may seem counterintuitive, but try disabling the Use Cached Exchange Mode setting and test the process again. Have you tried this on different machines/VM's and if so do you receive the same error across them all?
Yes, I have tried that and VBO did not let me access outlook at all.
And Yes, I have tried this on 2 different VM's and a different system with a older version of BP. All these getting errors when accessing the Shared Mailbox.
That's odd. Changing the cached Exchange mode value shouldn't have any impact on your ability to work with the Outlook client. It may stop you from seeing emails (if they are only maintained on the Exchange server), but it shouldn't give you any errors with creating an instance of the Outlook VBO and executing basic steps. Just to be clear, you are working with a local instance of Outlook and not Outlook web client or something like that, correct?