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

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.  
philhartlbcAsked:
Who is Participating?
 
Karl Heinz KremerConnect With a Mentor Commented:
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.
0
 
Karl Heinz KremerCommented:
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.
0
All Courses

From novice to tech pro — start learning today.