I receive the message attempt to release an unlocked object when searching a pdf file.

Posted on 2004-10-27
Last Modified: 2012-06-21
We are using a unisys product called enterprise output manager.  it interfaces with adobe acrobat and sends reports to adobe that converts them into pdf files for viewing over our intranet.  The problem is that from time to time certain reports after being created as pdf files generate an error when you are in adobe viewing them and try to search on text that states "attempt to release an unlocked object".  On adobe 6 the messge is no longer an error message but instead just returns the message "zero records found" even though that is incorrect.  The really odd thing is that if you generate a new version of the report, the new one works.  Sometimes though you have to create a new pdf file over and over and over again until one finally works.  I searched via goggle and see other people have posted around the internet about getting the same error using adoboe but I could not find a solution anywhere.  
Question by:philhartlbc
    LVL 44

    Expert Comment

    by:Karl Heinz Kremer
    When you get the error message, how does the message window look like? WHat's in the title bar? Is there a number in parenthesis? If that's the case, hold down the Ctrl key when you click on the "OK" button. This may give you more information.

    I suspect that these PDF files are corrupt, and there is nothing you can do about this.
    LVL 44

    Accepted Solution

    I am not familiar with the enterprise output manager, but it's possible that it tries to automate Acrobat in order to create the PDF documents, and it's doing something wrong. In some instances this will not cause a corrupt PDF file, but in other (most?) instances it does.

    Acrobat's API uses a concept of a reference count for it's objects: You need to aquire an object, and release it again once you are done. The error message sounds like something is not acquiring the object, or releasing it twice.

    I looked through some of the Google hits for this error message, and they are usually about specific PDF files, which would fall in line with my theory that your system is creating corrupt PDF files.

    Write Comment

    Please enter a first name

    Please enter a last name

    We will never share this with anyone.

    Featured Post

    Prepare to Pass the CompTIA A+ 900 Series Exam

    CompTIA aims to adapt its A+ Certification to reflect the most current knowledge and skills needed by today's IT professionals--and this year's 2016 exam is harder than ever. This certification is one of the most highly-respected and sought after in IT.

    Getting information about Fonts being used in a PDF file A colleague of mine recently faced an issue related to the PDF file format. The PDFs were containing mission critical client information, they were successfully mailed but there was a sm…
    Power PDF ( is the newest product from the Document Imaging division of Nuance Communications ( It is available in two editions — …
    In this fifth video of the Xpdf series, we discuss and demonstrate the PDFdetach utility, which is able to list and, more importantly, extract attachments that are embedded in PDF files. It does this via a command line interface, making it suitable …
    Sometimes we receive PDF files that are in the wrong orientation. They may be sideways or even upside down. This most commonly happens with scanned or faxed documents. It is possible to rotate the view of these PDFs with the free Adobe Reader produc…

    884 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