"File is too large for attachment." using the Viewer SDK

Post Author: CBurger
CA Forum: JAVA
I'm using the Viewer SDK to retrieve a report from BOE XI 2 SR2.
This is done via the a piece of Java code ...
ReportExportControl exportControl = new ReportExportControl();
ExportOptions exportOptions = new ExportOptions();
IReportSourceFactory psReportSourceFactory = (IReportSourceFactory) enterpriseSession.getService(ReportConstants.REPORT_PSREPORT_FACTORY);
Object reportSource = psReportSourceFactory.openReportSource(report.getID(), Locale.ENGLISH);
exportControl.setReportSource(reportSource);
exportControl.setURI(reportPath.toString());
exportControl.setExportOptions(exportOptions);
exportControl.setExportAsAttachment(true);
exportOptions.setExportFormatType(exportFormat);
exportControl.setParameterFields(reportParameters);
exportControl.processHttpRequest(request, response, getServlet().getServletConfig().getServletContext(), null);
exportControl.dispose();
The report is generated as an Excel file.
If I call for a small Excel - no problem: a dialog pops up asking me to "save as ..."
If I call for a larger Excel (about 20MB) - PROBLEM "File is too large for attachment."
Unfortunatly I don't find any information in the log files.
Any ideas?

Has this ever been resolved?  We are having a similar issue.
Thanks!

Similar Messages

  • File is too large for attachment - BO Integration Error

    I developed Crystal reports (using Universe)in CR XIR2 and deployed in BO XIR 2 Repository.
    Reports database is -DB2.
    I am able to preview the reports in CMC/Infoview.
    But when we are integrating our Application(Called GBS) to BO ,and when I am trying to open CR reprots from BO repository,it is throwing error " File is too large for attachment " .
    The report is not too big even ,it is having only 100 records.
    I am not sure why it is throwing this error?Did anyone faced the same error ever?
    Please let me know any resolution for this,as it is blockign for me.
    is it something related to the application (GBS) or  any Pagerserver/Cacheserver issue ?
    Will wait for any response.
    Nitin

    Has this ever been resolved?  We are having a similar issue.
    Thanks!

  • ERROR : OpenDoc CR to PDF - File is too large for attachment.

    We are getting the following error in 3.1 using an OpenDoc call when we call a large Crystal Report to PDF format...
    Error : 52cf6f8f4bbb6d3.pdf File is too large for attachment.
    It runs OK from BOE when given parameters that returned 44 pages. (PDF = 139 KB)
    We get the error on a parameter-set that returns 174 pages when run via CR Desktop or as a SCHEDULED Instance. (PDF = 446 KB).
    Client application can't use the SDKs to SCHEDULE Instances - only configured for OpenDoc calls.....
    The BOE server is running on SOLARIS - and it's is a 2 Server CMS-Cluster.
    The problem is SPORADIC, so I am thinking the issue is related to a specific setting on one of the servers.
    Any thoughts on where to start looking...?

    Problem is _not _with the number of Rows returned - it is an issue with the size of the PDF file that it is trying to move.
    Found a possible WINDOWS solution on BOB - need to find if there is an equivalent for SOLARIS...
    Check the dsws.properties on web server D:\Program Files\Business Objects\Tomcat55\webapps\dswsbobje\WEB-INF\classes
    See if you can change any parameter to remove size limitation.
    #Security measure to limit total upload file size
    maximumUploadFileSize = 10485760

  • ReportExportControl  -- File is too large for attachment

    Hi all,
    Back with a exception again.
    Few reports deployed on BOXIR2 SP4 comes with an error as following
    com.crystaldecisions.report.web.viewer.ReportExportControl
    15bf5ea9377e1c1.rtf File is too large for attachment.
    Few reports take date range as input and generates result based on that. When date range is small report is generated without any problem. If is large and has large set of records(approx above 10K records) then comes up with the above error.
    Another set of reports whatever be the case throws this error.
    But when the parameters are set in CMS console and run in console report is generated without any problem what ever be the date range.
    After searching a lot no solutions in hand!!
    Please suggest solutions/possible scenarios / checklist to solve this issue.
    Thanks & Regards
    lnarayanan

    It turns out the report was so large it was basically overloading everything (disk space, cache sizes, timeouts, etc.) ... Here's the solution from the case:
    1) For page server and cache server
    Make sure location of Temp Files/Cache files has enough free space (more than 500 MB)
    2) For page server and cache server
    Minutes Before an Idle Connection is Closed = 90
    3) For page server
    Minutes Before an Idle Report Job is Closed = 90
    4) For cache server
    Maximum Simultaneous Processing Threads = automatic
    5) In the command line of page server and cache server, add
    "-requestTimeout 5400000" [without " "]
    6) Maximum Cache Size Allowed (KBytes) = set it to an appropriate value (for e.g. for 500 Mb, value should be 500*1024 = 512000)
    (This setting limits the amount of hard disk space used to store cached pages. If we need to handle large reports, a large cache size is needed. Maximum allowed is 2048 GB)
    After all this, an "Error 500 - Java heap space" happened.  The amount of memory allocated to a JVM application can be set using the options -Xms (the initial size) and -Xmx (the maximum size).
    Regards,
    Bryan

  • Error: f14627469cba51.pdf file is too large for attachment

    Hi,
    Recently we migrated lot of crystal reports from BO XI R2 environment to BO 3.1 SP2 FP 2.5 environment, these crystal reports are integrated with the application.
    Input parameters are given through the application using the Open Document URL and the report will open through the infoview.
    This particular error arises when we try to open the report as PDF using Open Document URL,
    Please find the URL below
    http://bodev.com/OpenDocument/opendoc/openDocument.jsp?sIDType=CUID&iDocID=AUwcueYTQwtLhWDlil29Nvc&sOutputFormat=P&lsS@INVOICEDATE=1/31/2010&lsS@REFSERVICEID=1&lsS@BILLINGCYCLE=1&lsS@INVPREFIX=SC1001&lsS@GUID=99b18bcb-9470-4a49-948d-73961c149f5e
    But we are getting the following error
    "f14627469cba51.pdf file is too large for attachment"
    Please help me out to resolve the issue.
    Thank You,
    Palani Kumar
    +91-9840865865

    Hi Jeff,
    Did you figure out the solution to this problem?
    I also getting the same problem while refreshing crystal report from 3rd party tool using dswsbobje service session
    "Failed to retrieve binary view of the report. 14546ada1c151418.pdf File is too large for attachment. (WRE 02527)"
    Please let me know if you find any solution.

  • I tried to download an app for the iPad and was told the file was too large for the iPad; so I tried to download it on the MacBook but it never showed up; any suggestions? PS, I got the receipt from iTunes store so it was paid for

    I tried to download an app for the iPad and was told the file was too large for the iPad; so I tried to download it on the MacBook but it never showed up; any suggestions? PS, I got the receipt from iTunes store so it was paid for

    FOR ASSISTANCE WITH ORDERS - iTUNES STORE CUSTOMER SERVICE
    For assistance with billing questions or other order inquiries, please refer to our online support page by clicking here: http://www.apple.com/support/itunes/store/. If you cannot find the answers you are seeking in our robust knowledge base, you can contact us by visiting the following URL http://www.apple.com/support/itunes/store/, clicking on the appropriate Customer Service topic, then using the contact button or email form at the bottom of the page. Responses to emails will be provided as soon as possible.
     Cheers, Tom

  • When I attempt to download the lastest OS iPhone update to iTunes, the file is too large for my internet carrier will allow.  My max is 400 MB and the file is what about 583 MB?  Options?  The same is true for the iTunes updates.

    When I attempt to download the lastest version of the iphone 4 OS update or the itunes one for the desktop, the file is too large for my internet carrier.  It will allow only a 400 MB download versus the download size of 583 MB.  Suggestions?

    You can download on your work computer, then place the file on your desktop of your home computer, if you want. Then:
    Launch iTunes
    Option+Click (Mac OS X) or Shift+Click (Windows) the Update button
    Select the IPSW update file you just placed on your desktop
    Let iTunes update your hardware to the latest version
    The .ipsw file is located here:
    Windows XP: \Documents and Settings\username\Application Data\Apple Computer\iTunes\iPhone Software Updates
    Windows Vista & Windows 7: \Users\username\AppData\Roaming\Apple Computer\iTunes\iPhone Software Updates
    You will have to turn on "Show All Hidden Files & Folders" to see it.

  • I tried to send too large an attachment using mail,and now mail is hung up trying to send any message.  How do I reset mail?

    I tried to send too large an attachment using mail,and now mail is hung up trying to send any message.  How do I reset mail?

    It will time out, if it hasn't already. Delete the message from the Outbox.

  • Branch target offset too large for short - using CFThread

    I am just starting to get into using CFThread.  I have a process I am working on to allow clients to order background reports on multiple applicants simultaneously.  I am doing this using CFThread.  Through some trial and error I discovered that I needed to var scope the variables that are used in the CFC's that do the bulk of the report processing.  As soon as I did that I started getting the error "                                                                                                                                                      Branch target offset too large for short". Everything I have read on this error basically says I have too much code in the CFC which doesn't make sense as I am using this CFC in several other places in the site without error.  The problem only occured after var scoping my variables in the CFC and them sticking that CFC inside a CFTHread tag.
    Has only one seen anything like this before?
    Thanks

    Haven't seen it, no.
    Can you revert to your un-VARed code, and then re-VAR the variables one by one, retesting between each, and see if a specific one gives you the error?
    I don't know what this might tell you, but it might help focus where to look.
    NB: you should be VARing your variables within functions as a matter of course, not simply in situations in which the code is being called via <cfthread>.
    Adam

  • Iphone upgrade file is too large for my network space

    Hi
    Does anyone know how to set the disk location that itunes uses for non-music files. My network space is too small for the next iphones upgrade and I can't download it.
    cheers

    Your network space is smaller than 240MB? If it is, that's the smallest allocated space I've ever heard of! Besides, when the update becomes available, you'll be downloading it from Apple's servers directly. If your asking for a place that you can store and then update from, you just have to hold the SHIFT key on a PC or the OPTION/ALT key on a Mac while pressing UPDATE or RESTORE and it will allow you to find the firmware file on your primary C drive or wherever you've placed it.

  • .chm file is too large for application

    Sorry.  This isn't your typical RoboHelp question.
    I have a very large RoboHelp project with about 300 topics and many, many screen captures. Our lead developer has discovered that it would take the customer 3 minutes and 17 seconds to download the application with the help file as part of the build.  For him, that seems like an inordinate amount of time for the customer to have to wait.
    Someone said that I could zip the .chm file, but I don't know how that works.  Doesn't the development team still have to unzip it when they do the build?  And someone else suggested doing a download for the app and a separate one for the help file.  If you do that, does the help file still work within the app?  I've also considered removing all of the screen captures, greatly reducing the size of the file.
    Does anyone know of other solutions to this problem?

    And now, for a different perspective!
    Personally, I fall into the rebel camp that likes to be redundant. I favor including screen captures in the help.
    I hate when a help topic refers to the whatchamacallit on the foozoo screen. As a user, I may not be certain I'm even ON the foozoo screen! So speaking as a user, I love it when I see a nice screen capture that at least tells me I'm on the right screen. Even better if it points out the whatchamacallit.
    However I dislike when folks capture only the whatchamacallit button or area and show that. For example, the image below:
    I much prefer something such as:
    Keep in mind that RoboHelp offers features such as DHTML drop-downs that allow you to keep images hidden until the user chooses to view them. This keeps the page lean and clean if that's your goal.
    I think my last projects in the corporate world had somewhere along the lines of 40,000 files involved. Images, Topics and whatnot. I was catapulted into unemployment in May, 2004. So 300 topics seems like such a small system.
    Cheers.. Rick
    Begin learning RoboHelp HTML 7 within the day - $24.95!
    Click here for Adobe Certified Captivate and RoboHelp HTML Training
    Click here for the SorcerStone Blog
    Click here for RoboHelp and Captivate eBooks

  • We bought a movie on itunes and would like to play it on our TV screen. For that I wold like to transfer it onto a USB stick so I can play it directly on our TV. Its saying the file is too large for my stick although that is not true. What to do?

    We bought and downloaded a movie from Itunes and trying to transfer it onto an USB some can play it back on a TV. We cannot move it onto the stick. It says the stick is too small but thats actually not the case. Rainer

    Films from the iTunes store have digital-rights-management on them, they can only be played via a computer's iTunes or device (iPhone, iPad, iPod Touch, Apple TV). If you don't have Apple TV then do you have a iOS device, and the relevant cables, to connect it to your TV and apply it via the device - or if you bought it on a computer is that close enough (and you have the relevant cable) to connect it to your TV ?

  • Compressed Video File Size Too Large for DVD?

    I exported a one hour and 51 minute FCP Studio sequence to Compressor. I chose the 120 minute 4:3 best quality and Dolby for the audio. It took six hours and thirty five minutes to compress. When I bring the compressed "assets" into DVD Studio Pro, it indicates 5.9 gig. That won't fit on a standard DVD-R disk. Should I have used a different compression scheme when I made my choice in Compressor? Can I fit the movie on a standard DVD, or do I have to go back to FCP to shorten the sequence? What size must it be in FCP to fit on a standard DVD after Compressor and DVD Studio Pro?
    Thanks

    iDVD encodes (compresses) the video before burning
    the DVD, so there's no problem. Your iMovie project
    will fit.
    The iDVD capacity is best expressed in time instead
    of size. iMovie 4/5 can include up to 2 hours of
    video. A little less, counting iDVD features.
    Karl
    Hi Karl
    I have an iMovie file that is 3hr and 10min long. I have a dual layer burner and dual layer DVD's to burn onto. Will this file fit onto the 8.5GB disc? or do I have to compress it somehow? If there is some software that will do this could you let me know?
    The dual layer DVD's say they will fit 215 min of video on them, so why does it reject my file when starting iDVD?
    Thanks for your help

  • IMovie file size too large for one DVD

    I've created my iMovie file and am ready to burn a DVD using iDVD to view on TV. Although my iMovie is only about 35 minutes, it is 7.73 GB. It is a simple movie. I only have a few titles, cross dissolves between clips and some audio.
    How do I reduce my iMovie to fit on one DVD?
    I don't have the option to "Export" under the "File" menu. And I've tried several of the "Share" formats which reduce the size, but none of them have given me TV viewing quality.
    I am using iMovie HD 5 and the movie is widescreen.
    Thanks!

    iDVD encodes (compresses) the video before burning
    the DVD, so there's no problem. Your iMovie project
    will fit.
    The iDVD capacity is best expressed in time instead
    of size. iMovie 4/5 can include up to 2 hours of
    video. A little less, counting iDVD features.
    Karl
    Hi Karl
    I have an iMovie file that is 3hr and 10min long. I have a dual layer burner and dual layer DVD's to burn onto. Will this file fit onto the 8.5GB disc? or do I have to compress it somehow? If there is some software that will do this could you let me know?
    The dual layer DVD's say they will fit 215 min of video on them, so why does it reject my file when starting iDVD?
    Thanks for your help

  • I just upgraded Thunderbird and now I can't send emails: error message reads "file size too large" which is not the case

    error message reads "size of message exceeds temporary size limit of server"; The message is 1 word long so that's obviously not the problem;
    I upgraded automatically to the latest version on 7-16-14 and that's when the problem started

    The size of the message you are trying to send exceeds a temporary size limit of the server. The message was not sent; try to reduce the message size or wait some time and try again. The server responded: 4.5.3 Your message has too many recipients. For more information regarding
    4.5.3 Google's sending limits, please visit:
    4.5.3 http://support.google.com/mail/bin/answer.py?answer=22839 u5sm10938190obv.10 - gsmtp.
    I get this message when attempting to send a message to my distribution list. Problem started today. Single recepients work okay.

Maybe you are looking for

  • Significance of BC Set Activation for GRC AC 5.3

    Dear Members, Request you to please help me understand the significance of the BC Set Activation in an HR implemented ABAP system, w.r.t. AC 5.3 The AC 5.3 runs separately on the a java instance and connected to ABAP with the help of JCo's. Kindly as

  • Oracle 8i on redhat 7.1 doesnt come through at all

    hi, i have gone thru all ur posts and tried to exactly as posted. got linux81701.tar and also jdk118v3 from blackdown and then first set all the required variables and then installed jdk118 onto /usr/local/java and then untarred the or8i distribution

  • IPhoto or Photoshop Elements?

    I recently purchased a nice scanner (Epson V500) and in the package got a copy of Photoshop Elements. May be committing a faux pas here, but I'd be interested if anyone had opinions about using one or the other, or both. Thanks, Eric Weir Message was

  • How to halt the execution of JSP page..

    Hello all, I want to halt the execution of JSP page suppose for 10 seconds can anyone tell me how to do this Thanks Uttam

  • Use of function module

    can anyone explain me the use and the purpose of the following FM. 1. EXIT_RSAQEXCE_001 please explain it will be a great help for me. thanks, Phyrose