07-28-2015 11:59 AM
We use vbscripts in our workflow and are currently on OnBase 12.03. We are upgrading to OnBase 14 and have noticed in our test environment that none of our scripst that use the objApplication.ExecutionStatus call execute. They all error out with a vague error message: Error#-2147352560. We know it is the ExecutionStatus call because the error points to the script and the line in the script.
I thought VBscript and API were not deprecated until OnBase 15. Is there an alternative function we can call to give a script a boolean value as Execution Status does?
07-28-2015 01:00 PM
Hi Jocelyn,
The ExecutionStatus item is a property of the OnBase.Application object in the thick client Automation API. It doesn't require dmCoreX (the deprecated Core API), and it only executes in the classic thick client interface. My guess is that when OnBase version 14 was installed, the DCOM permissions were not applied for the API when installing the thick client. The error you've specified (-2147352560) also tends to indicate an issue with DCOM permissions.
Try this:
Run the DCOM Configuration Utility
- On x64: "C:\Windows\SysWOW64\dcomcnfg.exe"
- On x86: "C:\Windows\System32\dcomcnfg.exe"
* NOTE: Be sure to run "as administrator"
Expand out COMPONENT SERVICES > COMPUTERS > MY COMPUTER > DCOM CONFIG
Find the "OnBase Application" item (there may be more than one, in which case you should repeat this as necessary for them)
Right-click the object and choose "Properties," the go to the "Security" tab.
To open the permissions completely, you can select "Customize" and then add "Everyone" with all of the permissions applied.
Assuming the script then executes on that machine, then you can pare down the permissions to specific users.
07-28-2015 01:00 PM
Hi Jocelyn,
The ExecutionStatus item is a property of the OnBase.Application object in the thick client Automation API. It doesn't require dmCoreX (the deprecated Core API), and it only executes in the classic thick client interface. My guess is that when OnBase version 14 was installed, the DCOM permissions were not applied for the API when installing the thick client. The error you've specified (-2147352560) also tends to indicate an issue with DCOM permissions.
Try this:
Run the DCOM Configuration Utility
- On x64: "C:\Windows\SysWOW64\dcomcnfg.exe"
- On x86: "C:\Windows\System32\dcomcnfg.exe"
* NOTE: Be sure to run "as administrator"
Expand out COMPONENT SERVICES > COMPUTERS > MY COMPUTER > DCOM CONFIG
Find the "OnBase Application" item (there may be more than one, in which case you should repeat this as necessary for them)
Right-click the object and choose "Properties," the go to the "Security" tab.
To open the permissions completely, you can select "Customize" and then add "Everyone" with all of the permissions applied.
Assuming the script then executes on that machine, then you can pare down the permissions to specific users.
07-28-2015 01:22 PM
11-09-2015 07:02 AM
Find what you came for
We want to make your experience in Hyland Connect as valuable as possible, so we put together some helpful links.