File is damaged and can't be repaired error

I was at the IRS forms page, downloaded and printed some forms, but when I tried to download and print the instruction and tax chart pages, I began getting 'file is damaged and can't be repaired' error. I upgraded my free Reader to version 9, rebooted the computer, and tried again with the same results. I also deleted my internet (Windows XP) history and temp files (but not the cookies), and that didn't help either. I contacted live help from IRS but agent said he was having no problem getting the files to show up so it's something to do with my system. I tried downloading the files to my computer, but again when I tried to open them, got the same error. What could be wrong?
I did have a window pop up from Adobe during the last print out stating that that page was not going to display properly, but in fact it did, and the very next .pdf file and every one since then has now given an error message so I'm unable to get any more of the .pdf files I need.
Any suggestions or help will be much appreciated...
AJH

I think I resolved the problem....I had version 5 installed prior to getting the update of version 9 without realizing that both being installed at the same time would interfere with each other. I had assumed the new version would 'overwrite' the old one. I uninstalled everything (both versions) and saw that version 9 indicated AIR in the Add-Remove Programs list. When I rebooted after uninstalling both, I opened the folder on my desktop that version 9 put in there, opened another folder called 'Reader' and installed ONLY the version 9 which now shows in Add-Remove Programs as Adobe Reader 9 instead of AIR and rebooted again. Went back to the IRS site, and am now printing just fine the documents I needed.
I am going to assume that the older version 5 was not able to view and print some of the documents there since the IRS site probably uses updated versions and that it was the source of my problem since even with the newer version 9, I was experiencing the same problem, and not the AIR file I noticed in Add-Remove Programs.
Although no one was responding to me (not your fault since it was only a short time ago that I posted this problem), I am posting my results so anyone else with this problem will know how I resolved it.
AJH

Similar Messages

  • "The file is damaged and could not be repaired" error when trying to open a PDF in Reader

    A few of our employess (only 3 out of over 100 so far) have been getting the error, "The file is damaged and could not be repaired" when trying to open some PDFs. Other people are able to open the same PDF files with no error. It's happening on about 10% of the time. I've read a bunch of threads here with this isue and tried some suggested fixes and nothing has resolved the issue. Here is what I have found works and does not work and the info on their computers:
    Computers:
    1 Dell Vostro desktop running WIndows 7
    1 Toshiba Satellite C55 runnign Windows 8
    1 Samsung ATIV Book 4 running Windows 8
    All using Adobe Reader XI but we did uninstall that version and tried previous versions and still got the error.
    Did Not Work:
    As suggested by the company that we use online for claims adjustments where this error is occuring, we tried using a different PDF creator since the files were created using a free PDF creator by the employees. PDF995 and PDFcreator (pdfforge) did not resolve the issue. I then created the PDFs with my Adobe Acrobat, uploaded from my computer to the online program, and that did not resolve the issue.
    Saving the file to hard drive and then opening in Adobe did not work.
    Turning off Protected Mode and Enhanced Security did not work.
    Compatibility View settings enabled in Internet Explorer 10 did not resolve the issue. The previously mentioned claims adjustment software company we use online was code for IE so is not fully compatible with other browsers.
    That being said I did try to open the PDF files in Chrome and it also did not work. Same error message.
    Does work:
    I download the file they cannot open onto my hard drive, open in Adobe Acrobat, Save as a pdf, then email it to them and they can open it via email attachment.
    If they close the error and continue trying to open the file over and over sometimes it will eventually open.
    Is there a setting in Windows that is preventing them from opening a small % of files some of the time? Thanks in advance for any help!
    James

    If anyone is reading this still looking for what caused the issue and how to fix it here is what I discovered.
    The antivirus program our company uses, Bitdefender Antivirus Plus, was causing some of the PDF files not to open. After troubleshooting the different modules and settings the culprit was..
    Scan SSL in Privacy Control Settings. Turning it OFF solved the problem and all the PDF files that previously would not open now open just fine. This issue has been sent to Bitdefender for them to review. If you use a different antivirus program and are having this issue try locating the Scan SSL setting and see if turning it off solves the problem.

  • File is damaged and could not be repaired error.

    I am retrieving a SSRS 2005 report Pdf through .net coding.
    when i am browsing that report,it is showing error "File is damaged and could not be repaired". I tried with Adobe reader 9 and Adobe Reader 8 also.Still the error is coming.
    Is there any solution for this.
    Thanks in advance.
    Kiran Mandapaka

    Couple things must help you...
    If you have Windows 7: 
    1. Click the Start button, then 'Control Panel'. 
    2. Click 'Default Programs'. 
    3. Click 'Associate a file type or protocol with a program'. 
    4. In the list that appears, locate '.acsm', click on it to highlight it, then click 'Change 
    program'. 
    5. Select 'Adobe Digital Editions' and click 'OK'. 
    6. Repeat steps 4-5 for the '.epub' extension as well. 
    If you have Windows Vista: 
    1. Click the Start button, then 'Control Panel'. 
    2. Click 'Program'. 
    3. Click 'Default Programs'. 
    4. Click 'Make a File Type Always Open in a Specific Program'. 
    5. In the list that appears, locate '.acsm', click on it to highlight it, then click 'Change 
    program'. 
    6. Select 'Adobe Digital Editions' and click 'OK'. 
    7. Repeat steps 5-6 for the '.epub' extension as well. 
    If you have a Mac OS: 
    1. Hold the Ctrl button and click on the .acsm file. 
    2. Click 'Open With', then click 'Other...'. 
    3. In the list of programs displayed, select Adobe Digital Editions. 
    4. Check the 'Always Open With' box so the .acsm file type will always open in ADE. 
    5. Repeat this process for the .epub extension as well.

  • File is damaged and can not be repaired.

    Adobe 8
    Did a system restore to a past date. That didn't fix the problem. Installed adobe 9.1...didn't fix the problem.
    I have Vista 64 bit. HP Pavillion mf9400
    Also installed the recommended Adobe Digital thingy...that didn't fix the problem.
    So what is the problem? And is there a stupid Vista fix?
    Thanks

    PjonesCET wrote:
    Might do it. But I can't stand it and don't use it. Just the way I feel. Each time you open a new tab 100 percent of all the resources to retain that page in that tab remain there. And, to the amount of memory that the application to use maintain that full page, is added to the application's memeory usuage. They are all active, and even taking up time on the internet, slowing your connection down. There are all time in the Mozilla Forums question about some one having more than to or 20 tabs open and saved, then are wondering why mozilla products are slow. the some one says dump the items in tabs and they act like high powered race cars, after the tab dump.
    Just the way I feel. I am up for new and modern but when it slows things down, I have no use, nor desire for it.
    And I thought I was a Luddite!
    Jay
           I might be, but I am happy, and not worried about by browser choking, by being over loaded with Tabs full of fully runing pages.

  • Cannot open PDF - "file is damaged and could not be repaired"

    We created a signable, saveable, Reader Extended PDF in Acrobat X 10.1.4, with a Submit button that exports it using the "PDF The complete document" format to a .php page on our website using the url: http://www.todayscihld.us/pdfscript/fdf.php?form_name=WebForm 
    This is the .php page that's supposed to receive the export via the submit button and email it as an attachment:
    <?php
    // $form_name is provided in the url that calls this page, allowing this page
    // to be called from different PDF's, yet customized for each one
    $date = (date ("m/d/y"));
    $time = (date ("H:i:s T"));
    $tmpname = (date ("mdy-His"));
    $message = '
    This is a multi-part message in MIME format.
    ------=_NextPart_000_0007_01C37EC6.3F062EA0
    Content-Type: text/plain;
        charset="iso-8859-1"
    Content-Transfer-Encoding: 7bit
    A '.$form_name.' was submitted from the Website at '.$time.' on '.$date.'.
    (attachment: '.$form_name.')
    ------=_NextPart_000_0007_01C37EC6.3F062EA0
    Content-Type: application/vnd.fdf;
        name="PDF-'.$tmpname.'.pdf"
    Content-Transfer-Encoding: base64
    Content-Disposition: attachment;
        filename="PDF-'.$tmpname.'.pdf"
    '.base64_encode(file_get_contents('php://input')).'
    ------=_NextPart_000_0007_01C37EC6.3F062EA0--
    $recip = "[email protected]";
    $subject = $form_name;
    $headers = "From: Website <[email protected]>\n";
    $headers .= "Return-Path: <[email protected]>\n";
    //use the following line for bcc:
    //$headers .= "bcc: [email][email protected][/email]\n";
    $headers .= "Content-Type: multipart/mixed; boundary=\"----=_NextPart_000_0007_01C37EC6.3F062EA0\"\n";
    $status = mail($recip, $subject, $message, $headers);
    Header("Location: http://www.todayschild.us/page.php?3");
    ?>
    Most of the time this works, however some of the time we get blank PDF files (<10KB), and sometimes we get filled PDF files that we cannot open in Adobe Reader X 10.1.4 - we get the "file is damaged and could not be repaired" error.  However, I can view this "damaged" pdf just fine in the Chrome built-in PDF viewer, and I can open it using Foxit Reader and Nitro Reader.  And if I open it in one of those programs and then save it under a new name, I can open the newly saved file in Adobe Reader.  So why is it that everything except Adobe Reader can open this file?
    Here's one of these problem PDF files: https://dl.dropbox.com/u/65535781/PDF-112612-162749.pdf
    Can anyone help me figure out what's going wrong, and what we can do to fix it? 

    Back up all data.
    Triple-click the line of text below to select it, the copy the selected text to the Clipboard (command-C):
    /Library/Internet Plug-ins
    In the Finder, select
    Go ▹ Go to Folder
    from the menu bar, or press the key combination shift-command-G. Paste into the text box that opens (command-V), then press return.
    From the folder that opens, remove any items that have the letters “PDF” in the name. You may be prompted for your login password. Then quit and relaunch Safari, and test.
    The "Silverlight" web plugin distributed by Microsoft can also interfere with PDF display in Safari, so you may need to remove it as well, if it's present.
    If you still have the issue, repeat with this line:
    ~/Library/Internet Plug-ins
    If you don’t like the results of this procedure, restore the items from the backup you made before you started. Relaunch Safari again.

  • When I attempt to open a PDF file I saved from a website, I get the message "There was an error opening this document. The file is damaged and could not be repaired." Is there any way to correct this problem?

    When I attempt to open a PDF file I saved from a website using Safari, I get the message "There was an error opening this document. The file is damaged and could not be repaired." When I save the same PDF file using FireFox it opens up immediately. Is there any way to correct this problem with Safari?

    Back up all data.
    Triple-click the line of text below to select it, the copy the selected text to the Clipboard (command-C):
    /Library/Internet Plug-ins
    In the Finder, select
    Go ▹ Go to Folder
    from the menu bar, or press the key combination shift-command-G. Paste into the text box that opens (command-V), then press return.
    From the folder that opens, remove any items that have the letters “PDF” in the name. You may be prompted for your login password. Then quit and relaunch Safari, and test.
    The "Silverlight" web plugin distributed by Microsoft can also interfere with PDF display in Safari, so you may need to remove it as well, if it's present.
    If you still have the issue, repeat with this line:
    ~/Library/Internet Plug-ins
    If you don’t like the results of this procedure, restore the items from the backup you made before you started. Relaunch Safari again.

  • With OSX10.7.5 and Adobe Reader 11.0.02 when I try to open a PDF downloaded from the web I get 'There was an error opening this document. This file is damaged and could not be repaired. Preview will not open either. Older PDFs OK.

    I am running OS X 10.7.5 and Adobe Reader 11.0.02. In the last few days I have been unable to open PDF's downloaded from the web. Reader gives the error message 'There was an error opening this document. The file is damaged and could not be repaired'. Removing Reader and trying to use Preview to open these files give the error 'Preview cannot open this file. It may be damaged or use a file format that Preview doesn't recognise' (or something like that). Downloading the same files with Reader removed from my Mac Preview opens the files OK.
    I was recently prompted to update Adobe software but did not note exactly what the update was nor when it was done.
    Reader and Preview will both open PDFs I downloaded a week ago. Reader will also open files downloaded on another Mac running OS X 10.0.0 and copied to my Mac. Any ideas?

    Back up all data.
    Triple-click the line of text below to select it, the copy the selected text to the Clipboard (command-C):
    /Library/Internet Plug-ins
    In the Finder, select
    Go ▹ Go to Folder
    from the menu bar, or press the key combination shift-command-G. Paste into the text box that opens (command-V), then press return.
    From the folder that opens, remove any items that have the letters “PDF” in the name. You may be prompted for your login password. Then quit and relaunch Safari, and test.
    The "Silverlight" web plugin distributed by Microsoft can also interfere with PDF display in Safari, so you may need to remove it as well, if it's present.
    If you still have the issue, repeat with this line:
    ~/Library/Internet Plug-ins
    If you don’t like the results of this procedure, restore the items from the backup you made before you started. Relaunch Safari again.

  • I keep getting the message, "the file is damaged and could not be repaired"

    I have a newer Gateway PC equipped with Windows Vista Ultimate, and recently downloaded the free Adobe Reader 8.1.1 version to it.
    I'm not very computer literate, so I'm not sure which terminology to use all the time...sorry.
    When I attempt to open (view, read, download?) a pdf file, it starts the download process, showing the progress at the bottom of the page....for example, it might say, "downloading (16.2kb out of 543.5kb)"
    Usually, about a minute or so into the download, the word "downloading" changes to "downloaded", the action stops, and shortly after (on the window with the gray Adobe Reader background), a smaller message window pops up, declaring, "the file is damaged and could not be repaired".
    A friend suggested that there was probably a problem with the original downloading of Reader and recommended that I completely remove it from my system, then re-install it. Reluctantly, with a very slow dial-up connection network, I did as he suggested, then painfully sat through about a two-hour download AGAIN of Reader 8.1.1
    After the download was completed again, I successfully opened a few of the pdf files which I was previously having the problems with. Problem solved??? NOT QUITE!!! After about three or four successful file downloads (openings/readings of the files), it again started to do the same thing, where it would not complete the downloading/opening process and again leaving the message, "the file is damaged and could not be repaired."
    I am very confident that the files are not the problem, as many of my friends have viewed/opened those same pdf files repeatedly with no issues, BUT WHAT IS CAUSING THIS??? As I said before, I'm not very computer savvy as it is, and adding the newer Windows Vista Ultimate OS probably hasn't helped any.
    1. Is the problem with Windows Vista?
    2. Is the problem with Adobe Reader 8.1.1 (or the downloading of it)?
    3. Is the problem related to the security settings of my computer?
    4. Is the problem likely virus related (I use the purchased McAfee protection)?
    I just don't know where or how to start looking for the solution, other than thru this forum, and I simply can't afford the time to remove and re-install Adobe Reader 8.1.1 each time I need the use of my computer.
    Any assistance would be greatly appreciated, and you can e-mail me with suggestions to [email protected], or else call me on my cell
    THANK YOU,
    Don Maycumber
    Republic, WA
    509-570-8114 Verizon mobile

    I'm having the same problem but with high speed access.
    Anyone know the answer?
    ~Chris

  • Upgrade from Snow Leopard to Mavericks failed - disk is damaged and can't be repaired.

    Hello,
      I'm afraid the answer is exactly what I don't want.  But here is my situation.
      I've been trying to download and install Mavericks - I was running Snow Leopard.  My system was working fine - I wanted to upgrade so that I could run a game on it - but it required Mavericks. 
      Finally, it looked like Mavericks was installing.  Once I restarted my computer, I got the following message:
    "Install Failed. OS X could not be installed on your computer (there's a big scary yellow triangle with an exclaimation point in it below this). The OS X upgrade couldn't be started because the disk Macintosh HD is damaged and can't be repaired. After your computer restarts, back up your data, erase your disk, and try installing again. Click Restart to restart your computer and try installing again."
    Every time I restart, I get the same message, I can't back up my data and erase my disk like it wants me to; it won't let me. I can't get back to my normal computer. I've tried restarting in Safe Mode, but it doesn't work - it just keeps restarting over and over again. If my computer is really this determined to not let me have Mavericks, fine, but I at least want my old computer back. As it is now, I can't do anything on it besides restart it.
    If I could just get to Finder, I could save some files and just reformat it - if the hard disk can be repaired.  Even if it can't, I just need my documents.  Here is the Installer Log:
    Jun 13 11:30:49 localhost opendirectoryd[101]: opendirectoryd (build 339.100.2) launched - installer mode
    Jun 13 11:30:49 localhost opendirectoryd[101]: Logging level limit changed to 'notice'
    Jun 13 11:30:50 localhost opendirectoryd[101]: Initialize trigger support
    Jun 13 11:30:50 localhost opendirectoryd[101]: created endpoint for mach service 'com.apple.private.opendirectoryd.rpc'
    Jun 13 11:30:50 localhost opendirectoryd[101]: set default handler for RPC 'reset_cache'
    Jun 13 11:30:50 localhost opendirectoryd[101]: set default handler for RPC 'reset_statistics'
    Jun 13 11:30:50 localhost opendirectoryd[101]: set default handler for RPC 'show'
    Jun 13 11:30:50 localhost opendirectoryd[101]: starting endpoint for service 'com.apple.private.opendirectoryd.rpc'
    Jun 13 11:30:51 localhost opendirectoryd[101]: no dynamic data found at '/System/Library/OpenDirectory/DynamicData/Configure.plist'
    Jun 13 11:30:51 localhost opendirectoryd[101]: Registered node with name '/Configure' as hidden
    Jun 13 11:30:51 localhost opendirectoryd[101]: no dynamic data found at '/System/Library/OpenDirectory/DynamicData/Local.plist'
    Jun 13 11:30:51 localhost opendirectoryd[101]: Registered node with name '/Local' as hidden
    Jun 13 11:31:32 localhost Unknown[352]: kern.boottime: { sec = 1402684227, usec = 0 } Fri Jun 13 11:30:27 2014
    Jun 13 11:31:33 localhost Unknown[363]: Launching the Language Chooser for an OS Install
    Jun 13 11:31:56 localhost Language Chooser[364]: Waiting for prepaired devices to appear
    Jun 13 11:32:09 localhost Language Chooser[364]: Prepaired wait done.
    Jun 13 11:32:10 localhost Unknown[365]: Keyboard Layouts: duplicate keyboard layout identifier -16899.
    Jun 13 11:32:10 localhost Unknown[365]: Keyboard Layouts: keyboard layout identifier -16899 has been replaced with -28673.
    Jun 13 11:32:10 localhost Unknown[365]: Keyboard Layouts: duplicate keyboard layout identifier -16900.
    Jun 13 11:32:10 localhost Unknown[365]: Keyboard Layouts: keyboard layout identifier -16900 has been replaced with -28674.
    Jun 13 11:32:10 localhost Language Chooser[364]: Set keyboard to id: 0
    Jun 13 11:32:10 localhost Language Chooser[364]: Found primary language hint "en"
    Jun 13 11:32:10 localhost Language Chooser[364]: Could not write to /var/log/CDIS.custom
    Jun 13 11:32:11 localhost Unknown[365]: Setting boot completed.
    Jun 13 11:32:11 localhost Language Chooser[364]: Launching the Installer using language code "en"
    Jun 13 11:32:12 localhost OSInstaller[380]: LSExceptions [0x7f7fd3529060] loaded
    Jun 13 11:32:12 localhost OSInstaller[380]: OS X Installer application started
    Jun 13 11:32:12 localhost OSInstaller[380]: 1 display(s) found.
    Jun 13 11:32:12 localhost OSInstaller[380]: Display[1] is NOT using OpenGL acceleration.
    Jun 13 11:32:12 localhost OSInstaller[380]: @(#)PROGRAM:Install  PROJECT:Install-846
    Jun 13 11:32:12 localhost OSInstaller[380]: @(#)PROGRAM:OS X Installer  PROJECT:OSInstaller-525
    Jun 13 11:32:12 localhost OSInstaller[380]: Hardware: MacBookPro4,1 @ 2.50 GHz (x 2), 4096 MB RAM
    Jun 13 11:32:12 localhost OSInstaller[380]: Running OS Build: Mac OS X 10.9.3 (13D65)
    Jun 13 11:32:12 localhost OSInstaller[380]: Env: __CF_USER_TEXT_ENCODING=0x0:0:0
    Jun 13 11:32:12 localhost OSInstaller[380]: Env: PATH=/usr/bin:/bin:/usr/sbin:/sbin
    Jun 13 11:32:12 localhost OSInstaller[380]: Env: PWD=/
    Jun 13 11:32:12 localhost OSInstaller[380]: Env: SHLVL=1
    Jun 13 11:32:12 localhost OSInstaller[380]: Env: __OSINSTALL_ENVIRONMENT=1
    Jun 13 11:32:12 localhost OSInstaller[380]: Env: CI_DEFAULT_OPENCL_USAGE=0
    Jun 13 11:32:12 localhost OSInstaller[380]: Env: OS_INSTALL=1
    Jun 13 11:32:12 localhost OSInstaller[380]: Env: _=/System/Library/CoreServices/Language Chooser.app/Contents/MacOS/Language Chooser
    Jun 13 11:32:12 localhost OSInstaller[380]: Env: __CHECKFIX1436934=1
    Jun 13 11:32:14 localhost OSInstaller[380]: Using product PKSecureNetEnabledProduct <file:///Volumes/Macintosh%20HD/OS%20X%20Install%20Data/> at distance 5
    Jun 13 11:32:14 localhost OSInstaller[380]: Opening OSInstall automation file '/Volumes/Macintosh HD/OS X Install Data/minstallconfig.xml'.
    Jun 13 11:32:14 localhost OSInstaller[380]: Got dist path: /System/Installation/Packages/OSInstall.mpkg
    Jun 13 11:32:15 localhost OSInstaller[380]: Using product <OSInstallRootProduct> at distance 5
    Jun 13 11:32:15 localhost OSInstaller[380]: Using product <OSInstallDVDProduct> based on media at /Volumes/Mac OS X Install DVD at distance 5
    Jun 13 11:32:16 localhost OSInstaller[380]: /Volumes/Macintosh HD/OS X Install Data/MacOSXInstaller.choiceChanges file found.
    Jun 13 11:32:16 localhost OSInstaller[380]: JS: installCheckScript threw exception TypeError: 'null' is not an object (evaluating 'my.target.systemVersion')
    Jun 13 11:32:17 localhost OSInstaller[380]: V /Volumes/Macintosh HD: DSDB found.
    Jun 13 11:32:17 localhost OSInstaller[380]: Automated Install: Found requested target at /Volumes/Macintosh HD.
    Jun 13 11:32:17 localhost OSInstaller[380]: Applied choice changes from /Volumes/Macintosh HD/OS X Install Data/MacOSXInstaller.choiceChanges.
    Jun 13 11:32:17 localhost Unknown[365]: objc[380]: Class SleepTimerCallback is implemented in both /System/Installation/CDIS/OS X Installer.app/Contents/MacOS/OS X Installer and /System/Installation/CDIS/OS X Installer.app/Contents/Resources/OSXInstallAssistant.bundle/Contents/MacOS/OSXI nstallAssistant. One of the two will be used. Which one is undefined.
    Jun 13 11:32:17 localhost OSInstaller[380]: Allowing machine sleep.
    Jun 13 11:32:17 localhost OSInstaller[380]: Preventing machine sleep.
    Jun 13 11:32:17 localhost OSInstaller[380]: InstallerStatusNotifications plugin loaded
    Jun 13 11:32:17 localhost OSInstaller[380]: =============================================================================== =
    Jun 13 11:32:17 localhost OSInstaller[380]: Choices selected for installation:
    Jun 13 11:32:17 localhost OSInstaller[380]:           Install: "OS X"
    Jun 13 11:32:17 localhost OSInstaller[380]:                     BaseSystemBinaries.pkg : com.apple.pkg.BaseSystemBinaries : 10.9.0.1.1.1306847324
    Jun 13 11:32:17 localhost OSInstaller[380]:                     BaseSystemResources.pkg : com.apple.pkg.BaseSystemResources : 10.9.0.1.1.1306847324
    Jun 13 11:32:17 localhost OSInstaller[380]:                     OSInstall.mpkg : com.apple.mpkg.OSInstall : 10.9.0
    Jun 13 11:32:17 localhost OSInstaller[380]:                     Essentials.pkg : com.apple.pkg.Essentials : 10.9.0.1.1.1306847324
    Jun 13 11:32:17 localhost OSInstaller[380]:                     BSD.pkg : com.apple.pkg.BSD : 10.9.0.1.1.1306847324
    Jun 13 11:32:17 localhost OSInstaller[380]:                     JavaTools.pkg : com.apple.pkg.JavaTools : 10.9.0.1.1.1306847324
    Jun 13 11:32:17 localhost OSInstaller[380]:                     AdditionalEssentials.pkg : com.apple.pkg.AdditionalEssentials : 10.9.0.1.1.1306847324
    Jun 13 11:32:17 localhost OSInstaller[380]:                     AdditionalSpeechVoices.pkg : com.apple.pkg.AdditionalSpeechVoices : 10.9.0.1.1.1306847324
    Jun 13 11:32:17 localhost OSInstaller[380]:                     AsianLanguagesSupport.pkg : com.apple.pkg.AsianLanguagesSupport : 10.9.0.1.1.1306847324
    Jun 13 11:32:17 localhost OSInstaller[380]:                     MediaFiles.pkg : com.apple.pkg.MediaFiles : 10.9.0.1.1.1306847324
    Jun 13 11:32:17 localhost OSInstaller[380]:                     JavaEssentials.pkg : com.apple.pkg.JavaEssentials : 10.9.0.1.1.1306847324
    Jun 13 11:32:17 localhost OSInstaller[380]:                     OxfordDictionaries.pkg : com.apple.pkg.OxfordDictionaries : 10.9.0.1.1.1306847324
    Jun 13 11:32:17 localhost OSInstaller[380]:                     X11redirect.pkg : com.apple.pkg.X11redirect : 10.9.0.1.1.1306847324
    Jun 13 11:32:17 localhost OSInstaller[380]:                     OSInstall.pkg : com.apple.pkg.OSInstall : 10.9.0.1
    Jun 13 11:32:17 localhost OSInstaller[380]: =============================================================================== =
    Jun 13 11:32:17 localhost OSInstaller[380]: It took 0.00 seconds to summarize the package selections.
    Jun 13 11:32:17 localhost OSInstaller[380]: Memory statistics for 'Installing' pane:
    Jun 13 11:32:17 localhost OSInstaller[380]: Physical Memory Allocation:   269 MB wired,     3 MB trapped,   290 MB active,   132 MB inactive,  3402 MB free,  3824 MB usable,  4096 MB total
    Jun 13 11:32:18 localhost OSInstaller[380]: Remote Install Assistant found at :(null)
    Jun 13 11:32:18 localhost OSInstaller[380]: Memory statistics for 'Install OS X' pane:
    Jun 13 11:32:18 localhost OSInstaller[380]: Physical Memory Allocation:   269 MB wired,     2 MB trapped,   291 MB active,   132 MB inactive,  3402 MB free,  3825 MB usable,  4096 MB total
    Jun 13 11:32:18 localhost Unknown[365]: 2014-06-13 11:32:18.321 OS X Installer[380:303] *** WARNING: -[NSImage compositeToPoint:operation:] is deprecated in MacOSX 10.8 and later. Please use -[NSImage drawAtPoint:fromRect:operation:fraction:] instead.
    Jun 13 11:32:18 localhost Unknown[365]: 2014-06-13 11:32:18.322 OS X Installer[380:303] *** WARNING: -[NSImage compositeToPoint:fromRect:operation:] is deprecated in MacOSX 10.8 and later. Please use -[NSImage drawAtPoint:fromRect:operation:fraction:] instead.
    Jun 13 11:32:19 localhost OSInstaller[380]: Failed to delete automation file: The volume “Macintosh HD” is read only.
    Jun 13 11:32:20 localhost Unknown[365]: Keyboard Layouts: duplicate keyboard layout identifier -16899.
    Jun 13 11:32:20 localhost Unknown[365]: Keyboard Layouts: keyboard layout identifier -16899 has been replaced with -28673.
    Jun 13 11:32:20 localhost Unknown[365]: Keyboard Layouts: duplicate keyboard layout identifier -16900.
    Jun 13 11:32:20 localhost Unknown[365]: Keyboard Layouts: keyboard layout identifier -16900 has been replaced with -28674.
    Jun 13 11:32:23 localhost OSInstaller[380]: LSExceptions [0x7f7fd3529060] unloaded
    Jun 13 11:32:24 localhost OSInstaller[380]: Dist disk is not root.
    Jun 13 11:32:24 localhost OSInstaller[380]: Set authorization level to root for session
    Jun 13 11:32:24 localhost runner[384]: Administrator authorization granted.
    Jun 13 11:32:24 localhost OSInstaller[380]: Recovery system image located at "/Volumes/Mac OS X Install DVD/BaseSystem.dmg"
    Jun 13 11:32:24 localhost OSInstaller[380]: V /Volumes/Macintosh HD: DSDB found.
    Jun 13 11:32:24 localhost OSInstaller[380]: PK will install package file://localhost/System/Installation/Packages/BaseSystemBinaries.pkg (556750848 b)
    Jun 13 11:32:24 localhost OSInstaller[380]: PK will install package file://localhost/System/Installation/Packages/BaseSystemResources.pkg (366475264 b)
    Jun 13 11:32:24 localhost OSInstaller[380]: IF will install package file://localhost/System/Installation/Packages/OSInstall.mpkg (0 b)
    Jun 13 11:32:24 localhost OSInstaller[380]: PK will install package file://localhost/System/Installation/Packages/Essentials.pkg (4711998464 b)
    Jun 13 11:32:24 localhost OSInstaller[380]: PK will install package file://localhost/System/Installation/Packages/BSD.pkg (728622080 b)
    Jun 13 11:32:24 localhost OSInstaller[380]: PK will install package file://localhost/System/Installation/Packages/JavaTools.pkg (94208 b)
    Jun 13 11:32:24 localhost OSInstaller[380]: IF will install package file://localhost/System/Installation/Packages/OSInstall.mpkg (0 b)
    Jun 13 11:32:24 localhost OSInstaller[380]: PK will install package file://localhost/System/Installation/Packages/AdditionalEssentials.pkg (163948544 b)
    Jun 13 11:32:25 localhost OSInstaller[380]: PK will install package file://localhost/System/Installation/Packages/AdditionalSpeechVoices.pkg (293543936 b)
    Jun 13 11:32:25 localhost OSInstaller[380]: PK will install package file://localhost/System/Installation/Packages/AsianLanguagesSupport.pkg (4018176 b)
    Jun 13 11:32:25 localhost OSInstaller[380]: PK will install package file://localhost/System/Installation/Packages/MediaFiles.pkg (235410432 b)
    Jun 13 11:32:25 localhost OSInstaller[380]: PK will install package file://localhost/System/Installation/Packages/JavaEssentials.pkg (6665216 b)
    Jun 13 11:32:25 localhost OSInstaller[380]: PK will install package file://localhost/System/Installation/Packages/OxfordDictionaries.pkg (102292480 b)
    Jun 13 11:32:25 localhost OSInstaller[380]: PK will install package file://localhost/System/Installation/Packages/X11redirect.pkg (3472384 b)
    Jun 13 11:32:25 localhost OSInstaller[380]: PK will install package file://localhost/System/Installation/Packages/OSInstall.pkg (0 b)
    Jun 13 11:32:25 localhost OSInstaller[380]: Setting external root to: /
    Jun 13 11:32:25 localhost OSInstaller[380]: OSI: com.apple.pkg.BaseSystemResources remapped external root path to: /
    Jun 13 11:32:25 localhost OSInstaller[380]: Total install size including padding: 8247033856 b + 0 b non-OS collection items
    Jun 13 11:32:25 localhost OSInstaller[380]: Can not connect to /var/run/systemkeychaincheck.socket: No such file or directory
    Jun 13 11:32:25 localhost OSInstaller[380]: PK will install signed package file:///Volumes/Macintosh%20HD/OS%20X%20Install%20Data/OSX_10_9_IncompatibleApp List.pkg
    Jun 13 11:32:25 localhost OSInstaller[380]: PFPackage::packageWithURL - can't instantiate package: /System/Installation/Packages/OSInstall.mpkg
    Jun 13 11:32:25 localhost OSInstaller[380]: Error opening package "OSInstall.mpkg".
    Jun 13 11:32:25 localhost OSInstaller[380]: V /Volumes/Macintosh HD: DSDB found.
    Jun 13 11:32:25 localhost OSInstaller[380]: V /Volumes/Macintosh HD: DSDB found.
    Jun 13 11:32:25 localhost OSInstaller[380]: Starting installation:
    Jun 13 11:32:25 localhost OSInstaller[380]: Performing volume consistency check on 'Macintosh HD'.
    Jun 13 11:32:25 localhost OSInstaller[380]: Checking Volume
    Jun 13 11:32:26 localhost OSInstaller[380]: Checking file system
    Jun 13 11:32:26 localhost OSInstaller[380]: Checking Journaled HFS Plus volume.
    Jun 13 11:32:26 localhost OSInstaller[380]: Checking extents overflow file.
    Jun 13 11:32:50 localhost OSInstaller[380]: The volume Macintosh HD could not be verified completely.
    Jun 13 11:32:50 localhost OSInstaller[380]: Verify/Repair failed with error -69845 (File system verify or repair failed)
    Jun 13 11:32:50 localhost OSInstaller[380]: Install failed: The OS X upgrade couldn't be started because the disk Macintosh HD is damaged and can't be repaired.  After your computer restarts, back up your data, erase your disk, and try installing again.
    Jun 13 11:32:51 localhost OSInstaller[380]: V /Volumes/Macintosh HD: DSDB found.
    Jun 13 11:32:52 localhost Unknown[365]: Error while setting volume information for /Volumes/Macintosh HD
    Jun 13 11:32:52 localhost Unknown[365]: Can't set Finder info fields for volume mounted at /Volumes/Macintosh HD: Read-only file system
    Jun 13 11:32:52 localhost OSInstaller[380]: Failed to revert bless to disk Macintosh HD (2)
    Jun 13 11:32:52 localhost OSInstaller[380]: Unable to revert bless to target or imgsrc.
    Jun 13 11:32:52 localhost OSInstaller[380]: Allowing machine sleep.
    Jun 13 11:32:52 localhost OSInstaller[380]: Memory statistics for 'Install Failed' pane:
    Jun 13 11:32:52 localhost OSInstaller[380]: Physical Memory Allocation:   273 MB wired,     4 MB trapped,   375 MB active,   126 MB inactive,  3318 MB free,  3819 MB usable,  4096 MB total
    Jun 13 11:41:53 localhost OSInstaller[380]: System requested sleep.
    Jun 13 11:41:53 localhost OSInstaller[380]: Installer allowed sleep.
    Jun 13 11:41:54 localhost OSInstaller[380]: System is going to sleep.
    Jun 13 11:51:05 localhost OSInstaller[380]: System awoke from sleep.
    Jun 13 12:10:41 localhost OSInstaller[380]: System requested sleep.
    Jun 13 12:10:41 localhost OSInstaller[380]: Installer allowed sleep.
    Jun 13 12:10:41 localhost OSInstaller[380]: System is going to sleep.
    Jun 13 12:10:41 localhost OSInstaller[380]: System awoke from sleep.
    Jun 13 12:31:06 localhost OSInstaller[380]: System requested sleep.
    Jun 13 12:31:06 localhost OSInstaller[380]: Installer allowed sleep.
    Jun 13 12:31:06 localhost OSInstaller[380]: System is going to sleep.
    Jun 13 12:35:20 localhost OSInstaller[380]: System awoke from sleep.
    Jun 13 12:35:39 localhost Unknown[365]: 2014-06-13 12:35 OS X Installer[380] (CarbonCore.framework) FSEventStreamStart: ERROR: FSEvents_connect() => Unknown service name (1102)
    Jun 13 12:35:42 localhost OSInstaller[380]: Connection to sharingd became invalid
    Jun 13 12:35:42 localhost Unknown[365]: 2014-06-13 12:35:42.925 OS X Installer[380:7947] Metadata.framework [Error]: couldn't get the client port
    Jun 13 12:35:43 localhost OSInstaller[380]: Folder Manager is being asked to create a folder (docs) while running as uid 0
    Jun 13 12:35:49 localhost OSInstaller[380]: CoreServices logging is enabled,
    Jun 13 12:35:49 localhost OSInstaller[380]: SFL Favorites initialized.
    Jun 13 12:36:03 localhost OSInstaller[380]: Folder Manager is being asked to create a folder (down) while running as uid 0
    Jun 13 12:36:03 localhost OSInstaller[380]: Folder Manager is being asked to create a folder (down) while running as uid 0
    Jun 13 12:36:04 localhost OSInstaller[380]: Connection to sharingd became invalid
    Jun 13 12:36:04 localhost OSInstaller[380]: Connection to sharingd became invalid
    Jun 13 12:36:04 localhost opendirectoryd[101]: 243.1 - Client: coreservicesd, UID: 0, EUID: 0, GID: 0, EGID: 0
    Jun 13 12:36:04 localhost opendirectoryd[101]: 243.1 - ODNodeCreateWithNameAndOptions request, SessionID: 00000000-0000-0000-0000-000000000000, Name: /Local/Default, Options: 0x0
    Jun 13 12:36:04 localhost opendirectoryd[101]: 243.1 - loading configuration for '/Local' from '/System/Library/OpenDirectory/Configurations/Local.plist'
    Jun 13 12:36:04 localhost opendirectoryd[101]: Loaded bundle at path '/System/Library/OpenDirectory/Modules/PlistFile.bundle'
    Jun 13 12:36:04 localhost opendirectoryd[101]: 243.1 - unable to find authentication module 'AppleID'
    Jun 13 12:36:04 localhost opendirectoryd[101]: 243.1 - unable to find authentication module 'ConfigurationProfiles'
    Jun 13 12:36:04 localhost opendirectoryd[101]: 243.1 - unable to find service discovery callback for module 'PlistFile'
    Jun 13 12:36:04 localhost opendirectoryd[101]: Registering for network changes
    Jun 13 12:36:04 localhost opendirectoryd[101]: Registered subnode with name '/Local/Default'
    Jun 13 12:36:04 localhost opendirectoryd[101]: 243.1.2 - Block: nodestate '/Local/Default'
    Jun 13 12:36:04 localhost opendirectoryd[101]: 243.1.2, Module: PlistFile - Node is 10.7 or later
    Jun 13 12:36:04 localhost opendirectoryd[101]: 101.3 - Block: nodestate '/Local'
    Jun 13 12:36:04 localhost opendirectoryd[101]: failed to open local node for internal record copy
    Jun 13 12:36:04 localhost opendirectoryd[101]: Registering for power changes
    Jun 13 12:36:04 localhost opendirectoryd[101]: Registering for network power changes
    Jun 13 12:36:04 localhost opendirectoryd[101]: 243.1.2 - nodestate - flagging '/Local/Default' online
    Jun 13 12:36:04 localhost opendirectoryd[101]: 101.3 - nodestate - flagging '/Local' online
    Jun 13 12:36:04 localhost opendirectoryd[101]: 101.3 - Block completed
    Jun 13 12:36:04 localhost opendirectoryd[101]: 243.1.2 - Block completed
    Jun 13 12:36:04 localhost opendirectoryd[101]: 243.1, Node: /Local/Default - node assigned UUID - 97F1B07F-4A5E-43DA-9AB8-480F91C37B68
    Jun 13 12:36:04 localhost opendirectoryd[101]: 243.1, Node: /Local/Default - ODNodeCreateWithNameAndOptions completed
    Jun 13 12:36:04 localhost opendirectoryd[101]: 243.4 - Client: coreservicesd, UID: 0, EUID: 0, GID: 0, EGID: 0
    Jun 13 12:36:04 localhost opendirectoryd[101]: 243.4 - ODQueryCreateWithNode request, NodeID: 97F1B07F-4A5E-43DA-9AB8-480F91C37B68, RecordType(s): dsRecTypeNative:config, Attribute: dsAttrTypeStandard:RecordName, MatchType: EqualTo, Equality: CaseExact, Value(s): SharePoints, Requested Attributes: dsAttributesAll, Max Results: 1
    Jun 13 12:36:04 localhost opendirectoryd[101]: 243.4, Node: /Local/Default, Module: PlistFile - client is using a native record type 'config' which is not portable
    Jun 13 12:36:04 localhost opendirectoryd[101]: 243.4, Node: /Local/Default, Module: PlistFile - client is using a native record type 'config' which is not portable
    Jun 13 12:36:04 localhost opendirectoryd[101]: 243.4, Node: /Local/Default, Module: PlistFile - ODQueryCreateWithNode completed
    Jun 13 12:36:04 localhost opendirectoryd[101]: 243.5 - Client: coreservicesd, UID: 0, EUID: 0, GID: 0, EGID: 0
    Jun 13 12:36:04 localhost opendirectoryd[101]: 243.5 - ODNodeCreateRecord request, NodeID: 97F1B07F-4A5E-43DA-9AB8-480F91C37B68, RecordType: dsRecTypeNative:config, RecordName: SharePoints, Attributes: <none>
    Jun 13 12:36:04 localhost opendirectoryd[101]: 243.5, Node: /Local/Default, Module: PlistFile - client is using a native record type 'config' which is not portable
    Jun 13 12:36:04 localhost opendirectoryd[101]: 243.5, Node: /Local/Default, Module: PlistFile - ODNodeCreateRecord completed, delivered 1 result
    Jun 13 12:36:04 localhost opendirectoryd[101]: 243.6 - Client: coreservicesd, UID: 0, EUID: 0, GID: 0, EGID: 0
    Jun 13 12:36:04 localhost opendirectoryd[101]: 243.6 - ODQueryCreateWithNode request, NodeID: 97F1B07F-4A5E-43DA-9AB8-480F91C37B68, RecordType(s): dsRecTypeNative:config/SharePoints, Attribute: dsAttrTypeStandard:RecordName, MatchType: Any, Equality: CaseExact, Value(s): dsRecordsAll, Requested Attributes: dsAttrTypeStandard:GeneratedUID,dsAttrTypeNative:ftp_guestaccess,dsAttrTypeNati ve:smb_name,dsAttrTypeNative:sharepoint_account_uuid,dsAttrTypeNative:smb_create mask,dsAttrTypeNative:sharepoint_version,dsAttrTypeStandard:AppleMetaNodeLocatio n,dsAttrTypeNative:afp_guestaccess,dsAttrTypeNative:afp_shared,dsAttrTypeStandar d:RecordType,dsAttrTypeNative:ftp_shared,dsAttrTypeNative:afp_name,dsAttrTypeNat ive:smb_oplocks,dsAttrTypeNative:afp_use_parent_owner,dsAttrTypeNative:smb_direc torymask,dsAttrTypeStandard:RecordName,dsAttrTypeNative:afp_use_parent_privs,dsA ttrTypeNative:smb_guestaccess,dsAttrTypeNative:smb_inherit_permissions,dsAttrTyp eStandard:AppleMetaRecordName,dsAttrTypeNative:smb_shared,dsAttrTypeNative:direc tory_path,dsAttrTypeNative:smb_strictlocking,dsAttrTypeNative:sharepoint_group_i d,dsAttrTypeNative:ftp_name, Max Results: 2147483647
    Jun 13 12:36:04 localhost opendirectoryd[101]: 243.6, Node: /Local/Default, Module: PlistFile - client is using an old record type 'dsRecTypeNative:config/SharePoints' should be using kODRecordTypeSharePoints
    Jun 13 12:36:04 localhost opendirectoryd[101]: 243.6, Node: /Local/Default, Module: PlistFile - client is using an old record type 'dsRecTypeNative:config/SharePoints' should be using kODRecordTypeSharePoints
    Jun 13 12:36:04 localhost opendirectoryd[101]: 243.6, Node: /Local/Default, Module: PlistFile - flushing record '/private/var/db/dslocal/nodes/Default/config/SharePoints'
    Jun 13 12:36:04 localhost opendirectoryd[101]: 243.6, Node: /Local/Default, Module: PlistFile - ___index_record_block_invoke: sqlite3_prepare_v2: 21
    Jun 13 12:36:04 localhost opendirectoryd[101]: 243.6, Node: /Local/Default, Module: PlistFile - ___index_record_block_invoke: sqlite3_prepare_v2: 21
    Jun 13 12:36:04 localhost opendirectoryd[101]: 243.6, Node: /Local/Default, Module: PlistFile - ODQueryCreateWithNode completed
    Jun 13 12:36:04 localhost OSInstaller[380]: Folder Manager is being asked to create a folder (down) while running as uid 0
    Jun 13 12:36:04 localhost OSInstaller[380]: Folder Manager is being asked to create a folder (down) while running as uid 0
    Jun 13 12:36:04 localhost Unknown[365]: 2014-06-13 12:36 OS X Installer[380] (CarbonCore.framework) FSEventStreamStart: ERROR: FSEvents_connect() => Unknown service name (1102)
    Jun 13 12:36:08 localhost OSInstaller[380]: Folder Manager is being asked to create a folder (down) while running as uid 0
    Jun 13 12:36:08 localhost OSInstaller[380]: Folder Manager is being asked to create a folder (down) while running as uid 0
    Jun 13 12:36:08 localhost OSInstaller[380]: LSExceptions [0x7f7fd5069800] loaded
    Jun 13 12:36:19 localhost OSInstaller[380]: LSExceptions [0x7f7fd5069800] unloaded
    Thank you for any help you can give me.

    You are never going to have the option to repair a disk if you are booted from the same disk.
    I think the place to start is boot off your Snow Leopard DVD install disk by holding down the C key on boot up.
    Under Utilities drop down menu  you will have access to Disk Utility.
    From  here you will have the option to repair Disk (ie not grayed out.)
    option: Either insert and wait for the Mac OS X Install DVD window and double-click the Install icon;  or power down, then start up while holding down the "C" key.  Either way, that takes a few minutes.

  • Trouble opening pdf's - I have received several pdf's from a friend via e-mail (Thunderbird). Some of them open just fine but others give me the message: "There was an error opening this document. The file is damaged and could not be repaired."

    Trouble opening pdf's - I have received several pdf's from a friend via e-mail (Thunderbird). Some of them open just fine but others give me the message: "There was an error opening this document. The file is damaged and could not be repaired." My friend made sure that the files in question opened without issue on his computer (a PC). Further, I was able to open one of these "damaged" files on my Android phone, but I cannot open them on the Macbook Air. Any help would be greatly appreciated.

    Back up all data.
    Triple-click the line of text below to select it, the copy the selected text to the Clipboard (command-C):
    /Library/Internet Plug-ins
    In the Finder, select
    Go ▹ Go to Folder
    from the menu bar, or press the key combination shift-command-G. Paste into the text box that opens (command-V), then press return.
    From the folder that opens, remove any items that have the letters “PDF” in the name. You may be prompted for your login password. Then quit and relaunch Safari, and test.
    The "Silverlight" web plugin distributed by Microsoft can also interfere with PDF display in Safari, so you may need to remove it as well, if it's present.
    If you still have the issue, repeat with this line:
    ~/Library/Internet Plug-ins
    If you don’t like the results of this procedure, restore the items from the backup you made before you started. Relaunch Safari again.

  • File is damaged and could not be repaired, when emailed the PDF Document

    Hi i have the same problem , that what you have resolved, but it doesn't work for me...
    i.e, when i sent a mail from the below code , mail sent but when open it shows "**There was an error in opening this document. the file is damaged and could not be repaired."**
    can u please suggest to over come this problem.. and i m using IBM Websphere 8.
    please advice ....
    thanks alot in advance...
    here is the code :
    AstLogger logger = AstLogger.getInstance();
    logger.info(this.getClass(),"ReportBuilderUtils.sendMail Start....");
    boolean flag = false;
    try {
    javax.naming.InitialContext ctx = new javax.naming.InitialContext();
    javax.mail.Session session = (javax.mail.Session) ctx.lookup(AstProps.getInstance().getWebCollectLoginMailSession());
    Message msg = new MimeMessage(session);
    InternetAddress addressFrom = new InternetAddress(from);
    logger.info(this.getClass(), "Report Builder Utils - Email From :" + from);
    msg.setFrom(addressFrom);
    String log = "";
    double tempFilesize=0;
    for(String emailId : recipients) {
    InternetAddress addressTo = new InternetAddress(emailId);
    msg.addRecipient(Message.RecipientType.TO, addressTo);
    log += emailId + ",";
    logger.info(this.getClass(), "Report Builder Utils - Email Recipients :" + log);
    // Setting the Subject and Content Type
    msg.setSubject(subject);
    logger.info(this.getClass(), "Report Builder Utils - Email Subject :" + subject);
    msg.setContent(message, "text/plain");
    msg.setHeader("Content-Type", "multipart/mixed");
    MimeBodyPart mbp1 = new MimeBodyPart();
    mbp1.setText(message);
    logger.info(this.getClass(), "Report Builder Utils - Email Message :" + message);
    mbp1.setDataHandler(new DataHandler(new HTMLDataSource(message)));
    Multipart mp = new MimeMultipart();
    mp.addBodyPart(mbp1);
    // constants to handle the large files
    if(tempFile.exists()){
    tempFilesize = tempFile.length();
    logger.info(this.getClass(), "Report Builder Utils - File Size :" +((tempFilesize/(1024*1024))) +"MB.");
    System.out.println("ATTACHMENT_SIZE ==>" +ATTACHMENT_SIZE);
    if(tempFilesize > ATTACHMENT_SIZE){
    flag = false;
    return flag;
    MimeBodyPart mbp_file = new MimeBodyPart();
    mbp_file.setHeader("Content-Type", "application/pdf");
    mbp_file.setHeader("Content-Transfer-Encoding", "Base64");
    mbp_file.setFileName(fileName);
    mbp_file.setDisposition(Part.ATTACHMENT);
    mbp_file.setDataHandler(new DataHandler(new FileDataSource(tempFile)));
    mp.addBodyPart(mbp_file);
    System.out.println("Mail Successfully sent to :"+recipients);
    msg.saveChanges();
    msg.setContent(mp);
    // even tried by placing here
    // mbp_file.setHeader("Content-Transfer-Encoding", "base64"); base64 is not case-sensitive i hope , i read out on some books
    Transport.send(msg);
    logger.info(this.getClass(), "Report Builder Utils - Email Send successfully...");
    flag = true;
    }catch (Exception e) {
    StringWriter sw = new StringWriter();
    PrintWriter pw = new PrintWriter(sw);
    e.printStackTrace(pw);
    logger.error(this.getClass(), sw.toString());
    AstLogger.getInstance().info(this.getClass(),"ReportBuilderUtils.sendMailAsAttachment End.");
    return flag;
    Edited by: 992445 on Mar 7, 2013 4:05 AM

    You need to get a new copy of the PDF.

  • SSRS PDF Export. There was an error opening this document. This file is damaged and could not be repaired

    Hello,
    I just experienced this problem, and was able to successfully mitigate.  I wanted to share my experience and Solution. 
    The problem started with the following error after succesfully exporting a PDF Document.  "There was an error opening this document. This file is damaged and could not be repaired."
    This is only applicable if you can still export and open SSRS Reports to other formats. Go to the Log files of the SQL Instance. In my particular case I used the Default MSSQL instance:   C:\ Program Files\Microsoft SQL Server\MSRS10_50.MSSQLSERVER\Reporting
    Services\LogFiles  
    The Folder will begin with MSRS (SRS is for SQL Reporting Services)
    Sort the files by date modified and check for the most recent log file: ex.  SQLDmpr0000.log  The 0000 will be the incremental amount of errors you have experienced in SRS. Check for the following error:
    "System.DllNotFoundException: Unable to load DLL 'T2Embed': Access is denied. (Exception from HRESULT: 0x80070005 (E_ACCESSDENIED))"
    Below is a sample from the log. 
    reportrendering!ReportServer_0-1!1b78!02/07/2012-11:56:03:: e ERROR: Throwing Microsoft.ReportingServices.ReportProcessing.UnhandledReportRenderingException: , Microsoft.ReportingServices.ReportProcessing.UnhandledReportRenderingException:
    An error occurred during rendering of the report. ---> Microsoft.ReportingServices.OnDemandReportRendering.ReportRenderingException: An error occurred during rendering of the report. ---> System.DllNotFoundException: Unable to load DLL 'T2Embed': Access
    is denied. (Exception from HRESULT: 0x80070005 (E_ACCESSDENIED))
       at Microsoft.ReportingServices.Rendering.ImageRenderer.FontPackage.TTGetEmbeddingType(Win32DCSafeHandle hdc, UInt32& status)
       at Microsoft.ReportingServices.Rendering.ImageRenderer.FontPackage.CheckEmbeddingRights(Win32DCSafeHandle hdc)
       at Microsoft.ReportingServices.Rendering.ImageRenderer.PDFWriter.ProcessFontForFontEmbedding(PDFFont pdfFont, Dictionary`2 embeddedFonts)
       at Microsoft.ReportingServices.Rendering.ImageRenderer.PDFWriter.EndReport()
       at Microsoft.ReportingServices.Rendering.ImageRenderer.PDFRenderer.Render(Report report, NameValueCollection deviceInfo, Hashtable renderProperties, CreateAndRegisterStream
    createAndRegisterStream)
       at Microsoft.ReportingServices.Rendering.ImageRenderer.RendererBase.Render(Report report, NameValueCollection reportServerParameters, NameValueCollection deviceInfo,
    NameValueCollection clientCapabilities, Hashtable& renderProperties, CreateAndRegisterStream createAndRegisterStream)
       --- End of inner exception stack trace ---
       at Microsoft.ReportingServices.Rendering.ImageRenderer.RendererBase.Render(Report report, NameValueCollection reportServerParameters, NameValueCollection deviceInfo,
    NameValueCollection clientCapabilities, Hashtable& renderProperties, CreateAndRegisterStream createAndRegisterStream)
       at Microsoft.ReportingServices.ReportProcessing.ReportProcessing.RenderFromOdpSnapshot(IRenderingExtension newRenderer, String streamName, ProcessingContext
    pc, RenderingContext rc)
       --- End of inner exception stack trace ---;
    If you notice the error states that T2Embed.dll access is denied. In my case this due to a hotfix installed by Microsoft: 
     MS11-087: Vulnerability in Windows kernel-mode drivers could allow remote code execution: December 13, 2011
    Be advised, in order to fix your problem and render pdf's, a vulnerability shall be created.
     To fix this issue and allow the export to PDF work correctly, you must give the system Read/Execute Permissions, and Built-in\Administrators Full Control. 
    Go to Windows\System32 and find the T2Embed.dll Go to Security and modify the permissions as listed above. Do the same to the T2Embed.dll in the SysWow64 folder.
    Restart Reporting Services and you will be able to export to PDF. 
    Best Wishes! 
    Mariano
    www.lucontech.com 

    I'm not convinced this is the exact cause of the issue.  I will check my log files to see if I find anything like what you described.  However, I get this error when a particular user tries to do a "print preview" from a custom button.  The
    code builds a ReportViewer object, sets the ReportPath, etc.
    The reason I'm not convinced is because we have a separate reports page that has the report viewer embedded into it.  If the user generates the report that way and exports to PDF, Word, etc...the user can generate the file and be on their way.  As
    soon as the user clicks our "Print" button on the page without the ReportViewer embedded, the above mentioned error occurs.  
    UPDATE: Perhaps we have a different problem since my issue is from a custom button.  I found the solution
    here and confirmed the solution with the customer.  It had to do with the code using Response.Flush() instead of Response.End().
    One thing I noticed before I implemented the change: When you would close the PDF, it would ask you to save changes to the PDF.  After implementing Response.End() instead, that prompt went away.  No doubt it has to do with the differences between
    how Response.Flush() and Response.End() handle the stream returned.
    Anyway, posting in case someone has the same issue.

  • Pro 9 Users Receive "There was an error opening this document. The file is damaged and could not be repaired."

    Users with Adobe Acrobat 9 Pro (Windows XP) are not able to open PDFs created on the server. They receive the error message:
    “There was an error opening this document. The file is damaged and could not be repaired.”
    Even if the users save to disk and try to re-open, the error still occurs.
    This error did not surface in our QA testing because we were testing with Adobe Acrobat Reader 8. What can the difference be? Is there additional information that I can look for in order to troubleshoot this?
    Thank you for looking at my post. Please provide guidance in trying to resolve this issue.
    Elsa

    So, I'm not sure how much this will help but if you save the pdf AHW_Test_05112009xx.pdf and open it in a text editor, and go all the way down to the bottom where the %%EOF marker is, it looks as if the html page is getting appended to the end of the pdf. I recieved the "This file was damaged..." error in Adobe 7.1.0 when trying to open it but if you remove the html at the end, it opens up just fine.
    It appears that whatever's appending the html to the end is causing the issue.
    Below is what the file looks like near the end after the EOF:
    startxref
    400771
    %%EOF
    <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
    <html xmlns="http://www.w3.org/1999/xhtml" >
    <head><title>
        Gartner for IT Executives
    </title>

  • Acrobat 11 there was an error opening this document. the file is damaged and could not be repaired

    we are receiving an error when opening certain pdfs saying "there was an error opening this document. the file is damaged and could not be repaired"
    i've tried a few things to fix this issue with no luck
    tried on a brand new windows 7 install without any added software like anti-virus software, etc
    tried on my home pc (I forwarded the document from my work pc to my home pc and still receiving the same error)
    don't think it's anything related to the computers, thinking it's more an issue with the pdf. i've tried the basics like deleting temp files from IE, going to %temp% and deleting that out, doing an acrobat repair, trying in reader instead of acrobat, updating users from acrobat 10 to 11, and still receiving the same issue. the odd thing is, some people can open this document and some receive the error. the other thing is i've tried alternative pdf programs with no avail, same errors from those as well
    i work on the helpdesk with one other person  for the company and not sure what else we can try
    don't think this is a pc issue - tried on pcs in the company, home pcs, personal pcs and all get this error
    got to be an issue with either the pdf, or the way its being sent
    i did reach out to OUR e-mail team here (lotus notes admin) and they've ruled out anything as far as an encryption causing the conflict may go, so notes isn't the issue either
    would it be possible it's on the persons end that's sending the file?

    Unfortunately, CR 10.5 is not supported on WIN 2012 Server. See this wiki for more details. In order to work in a supported environment you will have to upgrade to CR 2008 Service pack 7, or SAP Crystal Reports, developer version for Microsoft Visual Studio (2010 / 2012 / 2013).
    - Ludek
    Senior Support Engineer AGS Product Support, Global Support Center Canada
    Follow us on Twitter

  • Exporting PDF files from SSRS 2012 - "There was an error opening this document. The file is damaged and could not be repaired"

    Good day
    I have the situation where we are exporting PDF files from reporting services in our website. 
    When dividing the data into sections, the report exports perfectly, but when exporting the entire set and trying to open the file, we get the following error in Adobe Reader:
    "There was an error opening this document.  The file is damaged and could not be repaired"
    We tried to repair the file, no luck.  We tried to use different PDF readers, no luck
    We then checked the file sizes.  When exporting the subsections, each section exports a file of about 2mb. 
    When exporting the entire set, the file is about 1.3mb. 
    Adding all the sections together gives me a rough estimate of 40mb.
    Exporting to TIFF works beautifully and returns a file of 41.5mb. Word and Excel formats also work well, only issue there is the page numbering and formatting.
     The problem we have is the clients are adamant about having it in PDF format.
    Any advice please?

    This was one of the temporary suggestions I gave the client...
    Unfortunately they do not like this as the page numbering and formatting in Word does not appear right.  We are talking about over 1300 pages.  I can't expect them to change the formatting with each export.  Additionally,  the data is
    constantly changing and each client has their own data.  The clients export the reports randomly.  I therefore can't post the reports back onto the server.
    Thanks for the speedy response though

Maybe you are looking for

  • Urgent Help Required - Video Not playing on IE11 and Firefox

    Hi, I need Urgent Help , I am trying to Play this Presentation on IE 11 and Firefox and it doesn't play the Video part which is FLV and f4v formats. I have been googeling it but couldn't find a solution so far ,Can anyone please help , its really urg

  • Black Macbook out to Sony Bravia Question

    So I just bought a new Sony Bravia 22" LCD TV. I'm excited to use the TV as a monitor for my computer, or at least so that I can play back Hulu or other such videos on the TV. The TV supports VGA in as a "PC" input as well as 2 HDMI ports. I know I n

  • "The selected cells are read-only" error on Custom Field when trying to insert in Datasheet mode

    I have a custom field that works completely fine. Yesterday our QA team found out that when trying to insert in Datasheet format, the error "The selected cells are read-only" was thrown. Any ideas? I tried passing the following property to my fldtype

  • When printing Firefox does not open the Print Dialog window

    When printing at our office we often need to print to multiple printers and not just the default printer. When printing in Firefox, however, the print automatically gets sent to the default printer and I do not get a print dialog window. I have reset

  • AnyConnect List of Gateways in Connection Tab

    Some of our users (e.g. researchers, technicians,...) need to connect to multiple VPN Gateways outside the scope of our Installation, often alltogether  different companies. They find it tedious to manually change the gateway in the connection tab ba