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

Posted on 2012-08-28
Last Modified: 2012-09-20
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?
Question by:amazursky

    Accepted Solution

    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.

    Author Closing Comment

    The answer was also replied by me :)

    Write Comment

    Please enter a first name

    Please enter a last name

    We will never share this with anyone.

    Featured Post

    Why You Should Analyze Threat Actor TTPs

    After years of analyzing threat actor behavior, it’s become clear that at any given time there are specific tactics, techniques, and procedures (TTPs) that are particularly prevalent. By analyzing and understanding these TTPs, you can dramatically enhance your security program.

    Preface In the first article: A Better Website Login System ( I introduced the EE Collaborative Login System and its intended purpose. In this article I will discuss some of the design consideratio…
    SASS allows you to treat your CSS code in a more OOP way. Let's have a look on how you can structure your code in order for it to be easily maintained and reused.
    The viewer will learn how to dynamically set the form action using jQuery.
    The viewer will learn the benefit of using external CSS files and the relationship between class and ID selectors. Create your external css file by saving it as style.css then set up your style tags: (CODE) Reference the nav tag and set your prop…

    759 members asked questions and received personalized solutions in the past 7 days.

    Join the community of 500,000 technology professionals and ask your questions.

    Join & Ask a Question

    Need Help in Real-Time?

    Connect with top rated Experts

    14 Experts available now in Live!

    Get 1:1 Help Now