Error message from a BAD PDF

I am using Adobe Reader to render PDF documents as a part of a process and then convert it into TIFF. Some of the documents that come in are corrupt PDF documents and cannot render itself in the reader and hence cannot be converted. This is the error that the reader throws:
ADobe reader could not open "test.PDF" 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)
Now, the process is automated with no human intervention. with the advent of this error message, since there is a modal dialog box waiting for a response from the user, the process is interrupted and needs human intervention.
My question is simply this. Is there an API i could use where i can figure out beforehand if the PDF is bad so i can reject such files early on? research shows that using the adobe forms server which has the PDF utility services, there is a query "Is a PDF document" that is available. I do not want to use a server product.
Is there any other ADOBE product that exposes something similar?

I guess i forgot to add that piece of information. WE do not create the PDFs. We receive PDFs from external sources over which we have absolutely no control  and that explains why we get such corrupt documents in the first place. I was just wondering if there was a simple API event/method/means attached to any ADOBE product which is compatible with .net that tells me if the PDF is corrupt UPFRONT.

Similar Messages

  • I am unable to print PDF's using either Adobe Reader or Safari. In Adobe Reader, I get an error message from my Cannon printer that says, "/usr.libexec/cups/filter/pstocupsraster failed". In Safari, I can only print the first page of a PDF.

    To try to resolve this problem, I have done the following actions.
    1 - I have run Disk Warrior.
    2 - I have repaired permissions.
    3 - I have deleted all plist that are either Cannon or Adobe.
    4 - I have downloaded and installed the lastest versions of Adobe Reader and the Cannon printer drivers.
    I am still unable to print PDF's.
    In Safari, I can print only the first page. In a multipage PDF, Safari only seems to recognize the first page.
    In Adobe Reader, I get an error message from my printer: "/usr/libexec/cups/filter/pstocupsraster failed".
    Any help would be greatly appreicated!

    Quit Safari.
    Open the Library folder in your home folder as follows:
    ☞ If running OS X 10.7 or later, hold down the option key and select Go ▹ Library from the Finder menu bar.
    ☞ If running an older version of OS X, select Go ▹ Go to Folder… from the Finder menu bar and copy the line below into the text box that opens:
    ~/Library
    Delete the following items from the Library folder:
    Caches/com.apple.Safari/Cache.db
    Preferences/com.apple.quicktime.plugin.preferences.plist
    Preferences/QuickTime Preferences
    Relaunch Safari and test.
    Launch the Console application in any of the following ways:
    ☞ Enter the first few letters of its name into a Spotlight search. Select it in the results (it should be at the top.)
    ☞ In the Finder, select Go ▹ Utilities from the menu bar, or press the key combination shift-command-U. The application is in the folder that opens.
    ☞ If you’re running OS X 10.7 or later, open LaunchPad. Click Utilities, then Console in the page that opens.
    Select "/var/log/cups/error_log" from the file list. Post the messages from the time of the last printing attempt.
    Post the log text, please, not a screenshot. If there are runs of repeated messages, post only one example of each. Don’t post many repetitions of the same message.

  • How ro send error message from BADI to BAPI

    i have a BADI which is triggered from a BAPI.This BADI has only importing and changing parameters.How can i send error message to BAPI.Please reply at the earliest.
    High points can be expected.

    Hi Arshi,
         Please check whether the following link is of any use to you,
    how to capture the error message from bapi
    Best Regards.
    Reward points if it is helpful.

  • Adobe updates: I've gotten error messages when trying to download pdfs (very annoying). Read somewhere that mac os has problems with the adobe extensions, thus, causing error messages from adobe. I ignore the updates. Should I?

    Hi All,
    I have stopped updating adobe software b/c I read that the adobe update software inserts extensions into the mac software system, causing annoying/time consuming error messages when downloading new pdfs. I get adobe update notices 2-3x/week. What do you recommend? I use an iMac OS 10.94.
    thanks for your help.

    Preview will do all that and is part of the OS.
    Mac Basics: Preview app views and edits PDFs and images
    With Adobe, if it's working, then it should be fine. See here
    http://www.adobe.com/support/downloads/product.jsp?product=10&platform=Macintosh

  • Error message from Adobe Reader. cannot extract the embedded font 'LICCMC+MyriadPro-Light'. some characters may not display or print correctly. Print looks like gibberish

    Trying to view/print PDF documents from website. Print looks like gibberish and is unreadable. Problem is with the embedded fonts. Error message from Adobe says cannot extract the embedded font 'LICCMC+MyriadPro-Light'. some characters may not display or print correctly.

    Try Adobe support, that's not a Firefox support issue. <br />
    http://forums.adobe.com/index.jspa

  • Get error message  e auth bad device key or pkcs12

    windows 8 os   did a system restore    then when I tried to download a book from my library I get error message
    e auth bad device key or pkcs12
    It was working fine before the restore

    How To Change the Authorized Adobe ID
    http://www.adobe.com/go/digital-editions-createID
    What do you do if your copy of Adobe Digital Editions is authorized with the wrong Adobe ID? This can happen if you’ve started using a different Adobe ID or you somehow messed up the authorization in the past.
    If you’re trying to open an ebook when Adobe Digital Editions is authorized with the wrong Adobe ID, you’ll get an error message like: “License fulfilled by a different user” or something similar referencing licensing or authorization.
    Important note: If you have some ebooks that do require your current authorization, those will become unreadable if you authorize with a different Adobe ID.
    deauthorize
    The first thing to do is deauthorize Adobe Digital Editions. This will remove your current authorization.
    1. Open Adobe Digital Editions
    2. On your keyboard, simultaneously press the Ctrl, Shift, and D buttons (if on Windows) or the Cmd, Shift, and D buttons (if on a Mac)
    3. Click the “Deauthorize” button
    After this you should close Adobe Digital Editions, and then open it again.
    re-authorize
    If you’ve followed the steps above, your copy of Adobe Digital Editions is no longer authorized.
    Open Adobe Digital Editions
    Adobe Digital Editions will behave as if you’ve just installed it, and will prompt you to enter your login information for your Adobe ID. Use the Adobe ID account information that you want to use to authorize Adobe Digital Editions.

  • Error message when saving a PDF to PNG: Error attempting to write file.

    I get an error message when saving a PDF to PNG. JPG and TIFF works, but no PNG.
    Disk space is sufficient! 100GB of 250
    A few weeks ago it was no problem to save as PNG. But now! (Perhaps from last update?)
    Messages:
    When clicking "Ignore":
    Adobe Acrobat XI Standard
    Version 11.0.09

    I have this issue too, but my colleagues do not have this issue(we have same Acrobat Pro 11.0.09). I am sure this issue happens only you updated to 11.0.09, because when you use Windows Restore back to 11.0.08, no issues.

  • Display error message from SLG1 on shopping cart screen

    I have implemented a 'BBP_CATALOG_TRANSFER' badi. I am adding all the custom error messages in ET_SC_MESSAGES export parameter of this badi. As a result of this, all the custom error messages added in the above parameter, gets logged in the application log SLG1 automatically and I can see those custom messages in SLG1. Now how to display this message from SLG1 on the shopping cart screen on the top where you normally see standard error messages in red.
    Can anyone please help me on this?
    Thanks,
    Krupa

    Hi
    Which SRM version are you using ?
    I have not tried this... but I think this is not possible to display error messages
    using BBP_CATALOG_TRANSFER BADI.
    <u>Try to code your logic in using BBP_DOC_CHECK_BADI for filter type - BUS2121 (shopping cart). You need to add your custom message in ET_MESSAGES [] table.</u>
    <b>For sample coding, refer to the link below -></b>
    https://www.sdn.sap.com/irj/sdn/wiki?path=/display/srm/bbp_doc_check_badi-CheckPurchasingDocument&
    <b>Hope this will definitely help.</b>
    Do let me know.
    Regards
    - Atul

  • Getting more detailed error messages from Adobe Acrobat

    Hi
    Is there a way to get more detailed error messages from Adobe Acrobat reader when he detecs an error in a PDF file?
    My program generates PDF files. There is one that throws an error in Acrobat while GhostScript and Google Chromes PDF Reader display it correctly.
    I wonder where the error is, but the error message is just "expected dictionary", when I hold CTRL and press "OK".
    GhostScript usually gives useful error messages, but it has no error this time.

    More specifically, Acrobat Pro!
              - Dov

  • When I use the shortcut to open a new window in safari (command N), I get a 404 error message from Google. How do I change where 'Command N' routes to?

    When I use the shortcut to open a new window in safari (command N) on my Macbook Pro, I get a 404 error message from Google. How do I change where 'Command N' routes to? 

    It's not necessary to change the Command N keystroke..
    From your Safari menu bar click Safari > Preferences then select the Privacy tab.
    Click:   Remove All Website Data
    Then delete the cache.
    Open a Finder window. From the Finder menu bar click Go > Go to Folder
    Type or copy paste the following
    ~/Library/Caches/com.apple.Safari/Cache.db
    Click Go then move the Cache.db file to the Trash.
    Quit and relaunch Safari to test.
    If that didn't help, troubleshoot Safari extensions.
    From the Safari menu bar click Safari > Preferences then select the Extensions tab. Turn that OFF, quit and relaunch Safari to test.
    If that helped, turn one extension on then quit and relaunch Safari to test until you find the incompatible extension then click uninstall.

  • Error message from the source system, Caller 09 contains an error message.

    Hi,
        Guru's, i got an error massage when my process chain is running(Daily) in BIW 7.0, the error got in Data Loading from source to PSA or data targets. The errors having the below details
    Error message from the source system
    Diagnosis
    An error occurred in the source system.
    System Response
    Caller 09 contains an error message.
    Further analysis:
    The error occurred in Extractor .
    Refer to the error message.
    Procedure
    How you remove the error depends on the error message.
    Note
    If the source system is a Client Workstation, then it is possible that the file that you wanted to load was being edited at the time of the data request. Make sure that the file is in the specified directory, that it is not being processed at the moment, and restart the request.   "
    Can any body help me out of this situation what to do and how to resolv ethe problem.
    Thanks and Regards,.
    Taps....

    Caller 09 is a very common issue - please search the forums before posting....
    Arun

  • Error message from source system

    Hi All,
    We have an infocube and ods which is being loaded from another ods. This is included in a process chain.
    In the process chain the Infopackage execution step has failed. When I right click and go for display messages, I found the following message in Messages tab:
    Error message from the source system
    Diagnosis
    An error occurred in the source system.
    System response
    Caller 09 contains an error message.
    Further analysis:
    The error occurred in Extractor .
    Refer to the error message.
    Procedure
    How you remove the error depends on the error message.
    Note
    If the source system is a Client Workstation, then it is possible that the file that you wanted to load was being edited at the time of the data request. Make sure that the file is in the specified directory, that it is not being processed at the
    And in Indiv Messages tab,
    Delta upload is only possible after successful initialization.
    Errors in source system.
    I tried to update the data targets from the initial ODS manualy but in vain.
    Any Help is awarded with points.
    Thanks
    AP

    Hi,
      Goto Info pack -> on menu bar select scheduler -> select init options for source system -> one request with green status -> select it and  click on delete symbol , it will delete the init. you can cross verify this in the base ODS where you dint find data mart status(after refresh). now  select init delta process under that select init without data transfer and schedule the load it will update one record and init flag to your source ODS.
    Note: if the last request is not updated from soruce ods to targets for that also you will find data mart status for this select the particular data mart -> click on delete symbol it will delete for the particular request (if it is updated to target it will not allow you to delete) then do delta load it will update the request which is not loaded from source ods to next targets.
    Regards
    Sankar

  • Error Message from  SAP GUI

    Hi,
    I have designed a Custom screen for one of my requirements. However when the screen is displayed, I am facing an error message from SAP Front End Server that  says " Erroneous data received from server. Application may not work correctly".
    What could be the reason ?
    Thanks & Regards,
    Venkatesh.

    Hi,
    Please check the belos SAP notes
    1453114    Maximum string length
    1161022    Dialog box "Erroneous data received from server"
    1524462 - Erroneous Data received from server. Application may not work correctly.
    Regards,
    Naveen.

  • Error message from Internet Explorer v8.0.6

    My Muse test site is currently on Business Catalyst. The url is http://wfax-test.businesscatalyst.com — my client says that they get an error message from Internet Explorer version 8.0.6 "MuseJSAssert: error calling selector function: error: a security problem occurred". The good news is that this only appears on the "Schedule" page of the site. Any idea what it could be? My client is afraid for me to put the site online because of this error message.

    Hi Artby,
    In your page, you have a link to "http://[email protected]//[email protected]" (Saturday Afternoon at 3:00). This link is technically a valid link, but I'm not sure it is what you intended. If you where looking to create an email there, you should remove the http:// in front of the link and Muse should properly create an email link. If you were trying to go to a website, I'd recommend you check the URL again to make sure you have it right.
    The link is throwing a security error because we have to do some extra processing for some of our links, so we check each of the urls and try to determine if there is extra logic we need. In this case, this link is telling the browser you'd like to "login" to the site qemi.org with the username "apostle". IE 8, by default, will block us from reading information from this type of link in case there is a password, or in case we shouldn't know the username. It is a security measure (thus the error) and should pose no risk.
    If you did intend to have that URL, then this won't quite work at the moment in Muse. To work around this, you could pull out this small snippet into a custom HTML element or something, which Muse won't try and process (though you'd need to remove the class "nonblock" from the link if you copy/pasted the Muse export code).
    Hope that helps,
    Andrew

  • Error message from ABAP to BW portal

    Hi
    I need to write error message from ABAP to BW portal.
    If I write as usual: message E001(ZBW).
    Then I get a dump in portal.
    Does anyone know how to post error message in this case?
    Thanks.

    Hi,
    You need to use the function module RRMS_MESSAGE_HANDLING to post any kind of messages in the report output/web template or portal.
    You can pass the values trough the below parameters:
                  I_CLASS  = 'ZBW'
                  I_TYPE   = 'W'
                  I_NUMBER = '006'
    Regards,
    Shilpa

Maybe you are looking for

  • Ical Applescript questions and missing commands

    This is an advanced itunes question.... I am using itunes with ical and applescript to run a radio station.   I have used alot of things from Doug Adam's and taken some things past where i can get help.   I am using itunes 7...and os X 10.5.8 .   i a

  • My powerbook can't recognize a font!

    Hi, experts! I have a FFIL font(New Baskerville) for my web design job. I've copied it to Fonts folder a few times but either Font Book nor other applications such as Photoshop. Could anyone help me? Thanks in advance.

  • Enquiry in SAP SCRIPT

    Hi, I want to increment the vertical line dynamically according to the line items in SAP SCRIPT. How will I do it?? Pooja

  • MDT 2012- windows update not working

      Windows 2008 r2 MDT 2012 Steps I have completed: 1.applied patch for WSUS sp 3 2. made sure folder browsing is disabled in IIS7 3. restarted server 4. looking at the wsus console I see the new computer. they are listed in "Unassigned Computers" whi

  • Apple Mail to i photo

    Apple mail App unable to send photo attachments direct to iphoto   since  upgrade to mountain lion. Anyone have this problem and can find solution?