You are viewing limited content. For full access, please sign in.

Question

Question

10.2 SDK DistributedCOM errors with OCR engine

asked on February 12, 2019

We're upgrading our web app that integrates with Laserfiche from the 8.3 SDK to the 10.2 SDK and are now getting the following error in the Windows system event log:

The machine-default permission settings do not grant Local Activation permission for the COM Server application with CLSID 
{75EF6108-F452-44DC-9A13-5783AEF5B989}
 and APPID 
Unavailable
 to the user IIS APPPOOL\xxx (removed) from address LocalHost (Using LRPC) running in the application container Unavailable SID (Unavailable). This security permission can be modified using the Component Services administrative tool.

We've encountered this problem in the past with the 8.3 SDK and had to use the "Component Services" tool in Windows to grant "Launch and Activation Permissions" to the "TextProvider" component for the user xxx behind our application pool identity. 

Since upgrading to the 10.2 SDK I've been unable to figure out which DCOM component needs to be granted "Launch and Activation Permissions".  I found this post - https://answers.laserfiche.com/questions/89055/DocumentProcessor-OCREngine-Unknown-Error-and-Permissions which describes the components needed for the 9.2 SDK (BPOmniOCR82 and LFOMNIOCR), but we don't have the BPOmniOCR82 after our 10.2 SDK install.  I'm hoping that someone knows which components need to be granted "Launch and Activation Permissions" when using the 10.2 SDK.  Thanks!

0 0

Replies

replied on February 13, 2019

CLSID {75EF6108-F452-44DC-9A13-5783AEF5B989} is LFOMNIOCR, try opening the properties for LFOMNIOCR under Component Services and edit the Launch and Activation permissions to grant access to the running user:

0 0
replied on February 13, 2019 Show version history

Hi Robert,

I've seen your previous responses to SDK questions, so I was hoping that you'd answer.  Thanks for your reply.  The error message in the system event log gives us an APPID of "Unavailable" so I wasn't sure which component(s) I needed to change launch and activation privileges for.  I came across LFOMNIOCR, but when changing that didn't work I wasn't sure if there were others that needed to be changed.  This is what I have (screenshot below), but still get the same errors.  I've tried resetting IIS after each change and even rebooting, but can't get past this error so far.  Any ideas why it's not able to identify the APPID?  Any other things that I can try?  I even tried adding "everyone" and granting that launch and activation privileges, but so far no luck.

 

0 0
replied on February 14, 2019 Show version history

I followed another suggestion from this previous post and now have our app working using the 10.2 SDK - https://answers.laserfiche.com/questions/89055/DocumentProcessor-OCREngine-Unknown-Error-and-Permissions

It seems that either the OCR COM component is not properly registered or there's another component that also needs launch and activation permissions.  However, taking the sledgehammer approach and modifying the default permissions for all local COM objects did get our app working again.  I'd love to hear if anyone has any more information to offer.  Thanks for your help Robert.

 

Capture.PNG
Capture.PNG (96.92 KB)
0 0
You are not allowed to follow up in this post.

Sign in to reply to this post.