ActiveX cannot create Object of Acrobat Professional in ASP.NET on a 64 bit Server 2008

Posted on 2011-04-20
Last Modified: 2013-11-07

I am trying to create an Acrobat Object through ASP.NET application to highlight a string within PDF Document. But we are geting the error "ActiveX cannot create object" while running the following code.
gApp = CreateObject("AcroExch.App")

Adobe Acrobat X Pro is installed on the server machine.

The above error does not happen on every Server Machine. It only happens on those servers that have window server 2008 64 bit installed.

I have also verified the following entries in the registry and all of them exist.

I have also given Network Service Rights to AcroExch.PDBookmark, AcroExch.Matrix, AcroDistx and AcroBroker through DCOM Config Interface.

Every thing is working fine on Window Server 2003 server but same settings do not work for Window Server 2008 - 64 bit.
Please let me know if i need to change few settings on Window Server 2008 64 bit to create the acrobat object through ASP.NET Application.

I would also like to mention that the above line of code works fine on 64 bit Server if it is a Desktop Application.
Question by:amazursky
    LVL 7

    Expert Comment

    Check Event Viewer for error logs, and more info.


    Author Comment

    No error in the event log
    LVL 7

    Accepted Solution

    Isn't Server (as in Server.CreateObject) missing? Or it is not necessary to use it?


    gApp = Server.CreateObject("AcroExch.App")

    Author Closing Comment

    We also changed few other security rights as well so not sure if it worked due to this change or change in security rights.

    Expert Comment

    So exactly what is the solution to this issue?  I have a DLL written in C++ - CreateDisPatch(Pdf.PdfDistiller) works find on 32bit os, but does not work on Windows Server 2008.

    Featured Post

    IT, Stop Being Called Into Every Meeting

    Highfive is so simple that setting up every meeting room takes just minutes and every employee will be able to start or join a call from any room with ease. Never be called into a meeting just to get it started again. This is how video conferencing should work!

    Join & Write a Comment

    Flash ( has evolved over the years to where it has become a masterful tool for displaying content screen.  It has excellent layout placement, UI precision as well as rendering capabilities. This, along with t…
    This article describes relatively difficult and non-obvious issues that are likely to arise when creating COM class in Visual Studio and deploying it by professional MSI-authoring tools. It is assumed that the reader is already familiar with the cla…
    Need more eyes on your posted question? Go ahead and follow the quick steps in this video to learn how to Request Attention to your question. *Log into your Experts Exchange account *Find the question you want to Request Attention for *Go to the e…
    Illustrator's Shape Builder tool will let you combine shapes visually and interactively. This video shows the Mac version, but the tool works the same way in Windows. To follow along with this video, you can draw your own shapes or download the file…

    729 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

    19 Experts available now in Live!

    Get 1:1 Help Now