Acrobat Pro 9 IAC Detect Corrupt File (TIFF)

I am trying to convert a huge number of tif files into pdf files, and most of the time the code below works fine, using the IAC to control Acrobat.
try
CAcroAVDoc avDoc = new AcroAVDocClass();
avDoc.Open(@"D:\Bad Files\file1.TIF", "");
CAcroPDDoc pdDoc = (CAcroPDDoc)avDoc.GetPDDoc();
pdDoc.Save(3, @"D:\Bad Files\file1.pdf");
avDoc.Close(1);
catch (Exception ex)
MessageBox.Show("Caught!");
But we seem to have a certain amount of corrupt tif files that occur every now and then which are causing a problem. When the avDoc.Open line runs, there is a popup error message that says.
"Acrobat could not open 'file1.TIF' because it is either not a supported file type or because the file has been damaged (for example, it was sent as an email attachment and wasn't correctly decoded)."
There is no exception thrown, so the program hangs while it waits for someone to click OK on the message. Is there any way to disable this popup so that the program can continue? I'm not bothered about it throwing an exception, because the pdDoc.Save throws one anyway if the file didn't open successfully.
I have seen a conversation on a forum somewhere suggesting that we should not use the CAcroAVDoc class, we should just use "PDDoc.Open" instead, but PDDoc doesn't seem to exist. I tried using CAcroPDDoc but as far as I can see it can only be instantiated by the instance of CAcroAVDoc and it doesn't have any static methods on it.
We are using Adobe Acrobat Professional version 9.

Post your question in the 'Acrobat Developers SDK' forum.

Similar Messages

  • Acrobat Pro X in Windows 7 TIFF File Association

    I have installed Acrobat Professional 10 in Windows 7.  I am attempting to create a file association in Windows 7 to select Acrobat to open a TIFF or TIF file with Acrobat.  Windows 7 does not recognize Acrobat Pro as a program that will open these files.  Even though I select the program, it just defaults back to Windows Photo Viewer.  Windows 7 just doesn't seem to recognize Acrobat Pro X.

    Hi sharonhomond
    Please See the below KB Doc : http://helpx.adobe.com/creative-suite/kb/errors-exit-code-6-exit.html

  • Acrobat Pro X crash and file corruption

    I'm having an issue with Acrobat Pro X. While I was using the touchup reading order tool to select a form field, Acrobat crashed. Now, when I attempt to open the file, I'm getting a message that states "There was an error opening this document. The file is damaged and could not be repaired." I'm not sure how this occurred and I don't believe it was something I did since I was not doing anything out of the ordinary when it happened.
    Is there any way around this issue that would allow me to open this file?

    The file is corrupt. Either it was corrupt which caused the crash or the crash caused the corruption. But your file is toast. Best solution is to restore the file from backup.

  • Disk problem in MacBook Pro (hardware or corrupted files?)

    I am running Mac OS X 10.6.8 on a 15" MBP 2.33 GHz Intel Core 2 Duo with 3 GB RAM (added 1 to the original setup.)
    A few months ago I replaced the original 120 GB hard drive, as it was getting full and making my computer slower. The new one is a 350 GB 5400 rpm Western Digital drive. I did this myself, following the instructions in ifixit.com, as I have done it in the past with other machines, including my wife's MBP, that is working fine.
    In the first OS install I used migration assistant and recreated the original user exactly as in the old disk. After a couple of months of use the computer started to get slower and presented permission problems that didn't seem serious (used Disk Utility to check). After a while, there was also a report of problems on disk verification, that at one point couldn't be repaired with Disk Utility. I was able to get rid of the problem for a while using Disk Warrior, but at some point the disk problems appeared again and I had to do a new OS install from zero.
    This time I formatted the hard drive writing zeros to correct possible physical errors and did a clean install. Used migration assistant to copy only my user's documents and library. After a couple of weeks of running the laptop without problems, I am having again reports of disk errors that Disk Utility can't repair. Disk Warrior can't access the drive and Tech Tool Pro reports 72 bad sectors.
    My question is:
    Is this definitely a hardware problem that will be solved by replacing the hard drive again, or is it possible that this is being the result of some corrupt files on my user's library (as the problem only appears after a while)?

    ign wrote:
    Is it normal that the drve appears to be OK after an OS install and that the physical problem only appears after a while?
    If you zero it, yes. That's exactly what zeroing does, "mapping" the HD so bad sectors/blocks are not used. But if a HD is dying, more bad areas will show up. It's time to replace the HD.

  • Could not find the application that created this file Acrobat Pro XI and .pptx file

    Hi,
         I just installed Acrobat Pro XI and I am trying to combine files into one pdf. The combine feature works fine with Word, excel, other pdfs but does not work with powerpoint files (.pptx). I have searched and found others have been having this issues for many past versions. I found a workaround (print the powerpoint to pdf and then merge the files) but I should not have to do it that way. Can someone help me out? Powerpoint is installed on my computer, the print pdf function works, and the Adobe add-in is active (these are the 3 solution I keep encountering) but it still will not combine a powerpoint file. Any help would be greatly appreciated.
    Thank You,
    Steve

    Hi Stephen ,
    Could you please elaborate a bit more  that what exactly happens when you try to combine .pptx file?
    Do you get any error message?
    If yes ,please share the screen shot of the same.
    Are you facing  challenge with the powerpoint files only?
    I have tried the same on my end and it is working perfectly fine .
    Try updating your Acrobat to the latest version .
    Launch Acrobat>Navigate to Help>Check for Updates .
    Regards
    Sukrit Dhingra

  • Acrobat Pro 11 Local Help Files

    This works for Reader. Where can I find the one for Pro? Or, where can I find the syntax so I can create my own?
    http://helpx.adobe.com/acrobat/kb/install-help-files-offline-reader.html

    To answer my own question....
    Download the help files here.
    http://helpx.adobe.com/acrobat.html
    http://helpx.adobe.com/en/pdf/acrobat_reference.pdf
    Go here and get Example 2.
    http://livedocs.adobe.com/acrobat_sdk/9.1/Acrobat9_1_HTMLHelp/wwhelp/wwhimpl/common/html/w whelp.htm?context=Acrobat9_HTMLHelp&file=JS_API_AcroJS.88.151.html
    This is the output from Acrobat Pro 11.0.3.
    Acrobat JavaScript Debugger Functions Version 11.0
    +-File
    +-Open
    +-endOpenGroup
    +-NewDocument
      +-NewDocFromFile
      +-ScanMenu
       +-ScanPreset5
       +-ScanPreset1
       +-ScanPreset2
       +-ScanPreset3
       +-ScanPreset4
       +-
       +-Scan
       +-
       +-ScanConfigurePreset
      +-Web2PDF:OpnURL
      +-ImageConversion:Clipboard
      +-
      +-NewDocCombineFiles
      +-CreateMultiplePDFFiles
      +-
      +-AcroForm:Forms_CreateNewForm
      +-endCreatePDFGroup
      +-NewDocCreateCollection
    +-
    +-Save
    +-SaveAs
    +-SaveAsSubmenu
      +-ReduceFileSize
      +-DIGSIG:SaveAndAuthenticate
      +-SaveAsExtendedSubmenu
       +-Annots:ReaderEnableCTT
       +-Annots:ReaderEnable
       +-DIGSIG:UBDoc
      +-PDFOptimizer
    +-endSaveGroup
    +-Email
    +-SPAObject 23
    +-SPAObject 24
    +-
    +-
    +-
    +-Revert
    +-Close
    +-endFormDataGroup
    +-GeneralInfo
    +-endDocInfoGroup
    +-Print
    +-endPrintGroup
    +-RecentFile1
    +-RecentFile2
    +-endRecentFileGroup
    +-Quit
    +-Edit
    +-Undo
    +-Redo
    +-endUndoGroup
    +-Cut
    +-Copy
    +-Paste
    +-Clear
    +-endEditGroup
    +-SelectAll
    +-DeselectAll
    +-endSelectGroup
    +-CopyFileToClipboard
    +-endOleGroup
    +-TouchUp:EditDocument
    +-
    +-SelectGraphics
    +-
    +-Spelling:Spelling
      +-Spelling:Check Spelling
      +-Spelling:Edit Dictionary
    +-LookUpWord
    +-endLookUpGroup
    +-Find
    +-FindSearch
    +-endFindGroup
    +-GeneralPrefs
    +-View
    +-Rotate
      +-RotateCW
      +-RotateCCW
    +-GoTo
      +-FirstPage
      +-PrevPage
      +-NextPage
      +-LastPage
      +-GoToPage
      +-endPageNavGroup
      +-GoBack
      +-GoForward
    +-
    +-PageLayout
      +-SinglePage
      +-OneColumn
      +-TwoPages
      +-TwoColumns
      +-endPageLayoutSubGroup
      +-ShowGaps
      +-ShowCoverPage
      +-
      +-AutoScroll
    +-ZoomSubMenu
      +-ZoomTo
      +-Zoom
      +-ZoomDrag
      +-
      +-ActualSize
      +-FitPage
      +-FitWidth
      +-FitHeight
      +-FitVisible
      +-endFitGroup
      +-PanZoom
      +-Loupe
      +-
      +-Reflow
    +-endGoToGroup
    +-SelectUICustomization
      +-UICustomizationDefaultView
      +-
      +-CreateUICustomization
      +-ManageUICustomizations
      +-
      +-9BD7AB5158C920C2F8053A0BC9B41D2
      +-
      +-FindMoreUICustomizations
    +-endOfCustomizeSeparator
    +-TaskPanesSectionStart
    +-_BasicToolsPane
      +-Tools_Content
      +-Tools_Pages
      +-Tools_InteractiveObjects
      +-Tools_Forms
      +-Tools_ActionWizard
      +-Tools_TextRecognition
      +-Tools_Protection
      +-Tools_DocProcessing
      +-Tools_PrintProduction
      +-Tools_JavaScript
      +-Tools_Accessibility
      +-Tools_Analysis
    +-_BasicEchoSignPane
    +-_BasicCommentPane
    +-TaskPaneSectionEnd
    +-ShowHideSubMenu
      +-Navigation
       +-ShowHideArticles
       +-ShowHideFileAttachment
       +-ShowHideBookmarks
       +-ShowHideContentPanel
       +-ShowHideDestinations
       +-ShowHideOptCont
       +-ShowHideModelTree
       +-ShowHideOrderPanel
       +-ShowHideThumbnails
       +-ShowHideSignatures
       +-ShowHideTagsPanel
       +-endShowHideWindowsGroup2
       +-ShowHideNavigationPane
       +-ResetPanels
       +-
      +-HoldoverToolbars
      +-ShowHideMenuBar
      +-
      +-RulersAndGridsGroup
       +-ShowGrid
       +-SnapToGrid
       +-ShowRulers
       +-ShowGuides
       +-Wireframe
      +-ShowInfo
    +-
    +-ReadingMode
    +-FullScreenMode
    +-endFullScreenGroup
    +-Annots:ReviewTracker
    +-
    +-ReadAloud
      +-ADBE:ReadOutLoudOnOff
      +-ADBE:ReadAloudStart
      +-ADBE:ReadAloudToEnd
      +-ADBE:ReadAloudPauseResume
      +-ADBE:ReadAloudStop
    +-DIGSIG:CompareDocuments
    +-Window
    +-NewWindow
    +-
    +-Cascade
    +-Tile
      +-TileHorizontal
      +-TileVertical
    +-MinimizeAll
    +-endWindowLayoutGroup
    +-SplitWindow
    +-SpreadsheetSplit
    +-WindowMenuSeparator
    +-
    +-Help
    +-HelpUserGuide
    +-Adobe Acrobat XI Pro Help
    +-endGuideGroup
    +-About
    +-AboutAdobeExtensions
    +-endAboutPlugInGroup
    +-
    +-AMTDynamic1
    +-startEBookServicesGroup
    +-endEBookServicesGroup
    +-OnlineSupport
      +-KnowledgeBase
      +-AdobeExpertSupport
      +-AdobeUserCommunity
      +-AccessOnline
      +-
      +-SystemInformation
    +-DetectAndRepair
    I borrowed the original WinReader_Local_Help.js and created WinAcrobat_Local_Help.js which is below. This will install English and French PDF files.
    ADOBE SYSTEMS INCORPORATED
    Copyright (C) 1998-2003 Adobe Systems Incorporated
    All rights reserved.
    NOTICE: Adobe permits you to use, modify, and distribute this file
    in accordance with the terms of the Adobe license agreement
    accompanying it. If you have received this file from a source other
    than Adobe, then your use, modification, or distribution of it
    requires the prior written permission of Adobe.
    /******************************   Hide Menus    ************************************/
    //Hide the default Help menu
    app.hideMenuItem("HelpUserGuide");
    app.hideMenuItem("OnlineSupport");
    app.hideMenuItem("DetectAndRepair");
    var langkey = app.language;
    if (langkey == "FRA")     
      app.addMenuItem({ cName: "Aide d'Adobe Acrobat Pro XI", cParent: "Help", cExec: "fTDocs2()", nPos: 0});
    else
      app.addMenuItem({ cName: "Adobe Acrobat XI Pro Help", cParent: "Help", cExec: "fTDocs1()", nPos: 0});
    // if (langkey == "ENU") {
    //  app.addMenuItem({ cName: "Adobe Acrobat XI Pro Help", cParent: "Help", cExec: "fTDocs1()", nPos: 0});
    /********************************    Functions     *********************************************/
    function fTDocs1()
        {app.openDoc("/C/Program Files/Adobe/Acrobat 11.0/Acrobat/Help/acrobat_reference_EN.pdf");};
    function fTDocs2()
        {app.openDoc("/C/Program Files/Adobe/Acrobat 11.0/Acrobat/Help/acrobat_reference_FR.pdf");};
    Use the Customization Wizard to make your MST.
    Install the WinAcrobat_Local_Help.js file to C:\Program Files\Adobe\Acrobat 11.0\Acrobat\Javascripts
    Install the PDF help files to C:\Program Files\Adobe\Acrobat 11.0\Acrobat\Help
    HTH

  • Adobe Reader 9 can't detect corrupted files?

    I have a program that checks whether a pdf file is corrupted by opening the file using Adobe Reader and detecting any errors raised by it.
    We recently upgraded to using Adobe Reader 9 from Adobe Reader 6. Now, the program can't detect some corrupted files if I don't check each file per page.
    I think this is because th newer versions of Adobe Reader load pdf files on demand instead of loading the whole file upon opening.
    Is there a setting or command line parameter I can use to force Adobe Reader 9 to load whole pdf files upon opening them?

    The application doesn't actually integrate with Adobe Reader, it just opens it by calling it with the command line and using the filename as a parameter. The application only checks if the Reader's window raised an error.

  • Acrobat Pro not opening PDF files when I double click on them- It only works if I bring up the program-.

    I've installed a trial version of Acrobat XI Pro. It will open the file if I hit control->open with->Acrobat Pro Luis: but if I double click on the document it only brings up the Acrobat XI Pro window with the "Open a Recent File", I've changed the "Open With" option on "Get Info" and still can't open the PDF files with a double click. Can anyone help me out? Thanks! LAGA

    When I double click the file after Acrobat is opened nothing happens...
    The PDF file only opens if I start the acrobat program then look for the PDF file or any PDF Files and then I am able to open them.
    What is going on
    Luis G. 
    Sent from my iPhone

  • Acrobat Pro opens lots of files...

    Hello,
    since a week or so every time i open Acrobat Pro (9.1.3) or double click a pdf Acrobat will open lots of pdfs until the limit of open pdfs is reached - then i get the message, that too many files are open - followed by o.k.. If i click o.k. the message comes up again and again and again... - so i cannot change any setups or even view them.
    I reinstalled Acrobat Pro and did the updates - repaired disk permissions - nothing changes. Any idea - please!
    (MacBookPro, Intel, lots of RAM..., 10.5.7)
    Do i really have to reinstall the whole Package (Creative Suite 4)??? - Will it really change anything???
    Greetings

    This has been popping up here and there. In both the Windows and Mac forum. I think on the Mac side an emptying of the system and user cache has been reported to fix the problem. This is much easier than re-installing the app. This can be done with Applejack at boot in single user mode or with Onyx in Mac OS X after which you have to reboot your system. If it happens again you might give this method a try.

  • Adobe Acrobat Standard -vs- Adobe Acrobat Pro (for large PDF files)

    I need to make a PDF from approximately 600 photos. Is the application Adobe Acrobat Standard competent to achieve this task? Or is it preferable to purchase Adobe Acrobat Pro and why?

    Neither has particular limits relevant to this.
    If you are making for professional publishing, Acrobat Pro contains print production tools.
    However, be aware that YOU DO NOT LAY OUT DOCUMENTS OR MAKE BOOKS IN ACROBAT. Sorry to be emphatic, but some people have received the view that it replaces Word, InDesign, Publisher or whatever. It doesn't.

  • Do I have to install Adobe Acrobat Pro to edit PDF files?

    I am subscribed to Adobe PDF Pack.
    I want the ability to drag and drop to insert, delete, and arrange pages. So it appears I need Adobe Acrobat Pro. Is that correct?
    If I upgrade to Adobe Acrobat Pro, do I have to install anything on my PC? Or can I simply drag and drop to insert, delete, and arrange pages online (in my browser) using the same login I use now for Adobe PDF Pack?
    I don't want to install anything. Hence my question.
    Thank you!
    Bob

    Hi robertm33760217,
    Yes, You would need Adobe Acrobat Pro to insert, delete, arrange pages.
    Yes, You would need to Instal the Acrobat software on your pc as Acrobat software won't work with your browser.
    Do you have any other query?
    Regards,
    Rahul

  • Adobe Acrobat Pro cannot find moved files or files with edited names

    Adobe Acrobat X Pro 10.1 cannot find recent files or files with edited names.
    For instance, if a PDF file is moved in the hard disk from one foder to another, Acrobat cannot find it when trying to open it via "File - Open Recent File".
    Likewise, if the name of the file is changed in the Finder.
    Similarly, if a PDF file is open, it is marked with the yellow fluorescent marker of Acrobat, its name is then changed in the Finder and later on you try to save it, Acrobat says that it cannot find such file.
    Yet, applications like Microsoft Word do not have any of the above problems. It would be great if Adobe could fix these serious productivity issues, which have plagued Acrobat for many years now.
    How to send such feedback to Adobe?

    https://www.adobe.com/cfusion/mmform/index.cfm?name=wishform

  • Acrobat Pro 9 opens multiple files (50) on every start

    Start the program or click on a pdf file and - pro 9 opens and loads every ******* pdf file I've had open in the past however long.  Seems to be a limit of 50 files - tries to load a few more and then stops.  What's changed since I last used it normally yesterday afternoon?  Nothing other than rebooting the computer.
    Appreciate any help.

    This is usually solved by deleting your Acrobat preferences.  Since you did not state your OS I cannot give you the path to your preferences but there should be a doc in the knowledge base pointing you in the right direction.  Good Luck!

  • Is there a software that will detect corrupt files and notify me?

    A back up does no good if a file becomes corrupted, then the back up starts saving over the good file with a corrupt one! How can I know if a file has become corrupted with out opening it? I have thousands of files. Is there some sort of scanner I can run daily to make sure my files will open when I need them. Thoughts? Thanks so much!

    Well, what does "corrupt" mean?
    Exactly. In other words, "file corruption" is a very broad, generic, and catch-all term. Sure, there are utilities which can continually or periodically scan disks and automatically alert the user (and sometimes even correct) the kinds of "corruption" that pertain to the disk data tree which records and organizes the writing of files to your disks.
    But that's an entirely different thing from the kind of "file corruption" that is specific to a particular software and its native file formats. A FileMaker database, for example, can become "corrupt" due to things ranging from bad practice to momentary network outage. The on-disk "file" itself may be perfectly fine, but its content just doesn't entirely "make sense" anymore to the application. That's why many applications (FileMaker included) provide their own built-in file recovery tools.
    You can open a native AI file (or most any application-specific file) on your computer with a text editor, make some text edits in it, and then save it. Doing so can wreck the file in terms its usability in AI; but all the while it will likely be a perfectly valid file in terms of "a file on disk."
    So assuming you're talking about the kind of "file corruption" which AI users frequently complain about when a file suddently can't be opened, or throws up some alert, I doubt you will find a background utility specifically designed to test the AI-native integrity of AI-native files.
    JET

  • TechTool Pro finds a corrupted file

    The latest version of TechTool Pro (v. 4.0.6) found a problem with a file and displayed the following message: "Type List Offset is invalid: Prop-Object.bmp." (Spotlight doesn't locate this file.) The file is probably an image according to Apple Care, but because Apple's Disk Utility gives the computer a clean bill of health, Apple Care says I needn't worry about it, and I don't. However the error/warning message is a minor annoyance whenever I run TechTool Pro. Has anyone on this forum had the same result with TechTool Pro? What is this image/file? Where is it? Can it be safely removed and/or rebuilt? Any information will be appreciated. I am using Tiger (v. 10.4.3) without any problems.
    Any information will be appreciated.
    Simm

    Hi, Simmm —
    I don't know the answer to your question. But, since it's otherwise gathering moss at the moment . . .
    . . . I'll climb way out on the limb with a crazy thought from left field:
    Though .bim is decidedly a graphics file suffix, the rest of the message sounds suspiciously like resource fork lingo . . .
    Now — would someone who understands this ~better than I please try to rescue me (I mean Sam), please? (Or, I suppose, saw off the limb.)
    Either way, it wouldn't surprise me in the least if this were — at "best" — an invisible file. If so, it's quite possibly something you don't want to mess with.
    How thoughtful of TTPro 4.0.6 to leave you hanging like this. Have you considered posting a query to Micromat support?
    Wish I could be of more help.
    Regards,
    Dean
    p.s. Yes, I'm aware of surpassing any acceptable boundary against mixing metaphors...

Maybe you are looking for

  • Updated to itunes 10.6 and now my ipod won't sync.

    Updated my computer yesterday to itunes 10.6, and now my ipod won't sync. Help

  • Thunderbolt to Gigabit Ethernet Adapter or Thunderbolt port stopped working

    Hey problem if anyone can help: I use a Thunderbolt to Gigabit Ethernet Adapter, and all of a sudden it stopped working to connect to the internet on my Macbook Air (MacBook Air (11-inch, Early 2014 with OS X Yosemite 10.10.1 (14B25)).  In my system

  • REP-1213 Error

    Hi, I have created a Formula Column with PL/SQL function in a group query to generate a report. When I call this Formula Column from the report, an error occurs: "REP-1213 Field 'F_1' references column 'Trade_Disc' at a frequency below its group" How

  • Access to file in HTMLDB_APPLICATION_FILES

    Hello, I have uploaded file to HTMLDB_APPLICATION_FILES and now I want to copy data from that file to a table in database. How can I do that? Thanks

  • Canon 7D 720/60p converted to 720/24p in Premiere Pro CS4

    I've exhausted all my resources trying to find a simple answer but it seems like anything regarding 60p to 24p is about slow motion video which I already know how to do and understand thoroughly. My question is, with my Canon 7D, there's no option fo