[Okta Webinar] Learn how to a build a cloud-first strategyRegister Now

  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 430
  • Last Modified:

Highlight PDF Text issue from the ASP.NET Application in Windows Server 2008

I am trying to highlight some text in the pdf file in ASP.Net Application. My Code is working fine if I set the Acrobat DCOM identity as 'Interactive User'. But when i set it as Launching User, then I got following error...

The RPC server is unavailable. (Exception from HRESULT: 0x800706BA)

I have set the IIS DefaultApplicationPool as Local System and I have also added 'System' account in the Launch and Activation Permission and Access permission with full rights.

We can run it if set the DCOM Identity as 'Interactive User' but due to some reason, we really don't want to change it to Interactive User.

Please tell me how can we resolve this issue?
  • 2
1 Solution
amazurskyAuthor Commented:
We did the research and found that Acrobat Professional does not allow to create the object if called either as a SERVICE or through ASP.NET Application if permissions are set as 'Launching User' under DCOM Configurations.

In Launching User mode under DCOM Config, we actually trying to generate the object through the System User accounts like 'System, Network Service, etc' and as per the information posted on the Acrobat website, it is not allowed at all.

It only allows access to create the Acrobat Object through code IF a real user is logged into the Server AND permission is set as 'Interactive User'.

Posting the comments so that it may help someone else in future.
amazurskyAuthor Commented:
The answer was also replied by me :)

Featured Post

Free Tool: Subnet Calculator

The subnet calculator helps you design networks by taking an IP address and network mask and returning information such as network, broadcast address, and host range.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

  • 2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now