Upload Failed:
org.apache.commons.fileupload.FileUploadBase$SizeLimitExceededException:
the
request was rejected because its size (132923375) exceeds the configured
maximum (30000000)
I was not able to upload an rtf
template because of its size. I did not realize that the four page template I
created is over 130MB!! It does
not make sense to configure BI Publisher to handle this kind of size. I could
sense that this is something related to my rtf file. I was using
Microsoft Office 2007 to create this rtf. Here’s what I found at Microsoft
Support website – “If an
EMF, a PNG, a GIF, or a JPEG graphic is inserted into a Word document, when the
document is saved, two copies of the graphic are saved in the document.
Graphics are saved in the applicable EMF, PNG, GIF, or JPEG format and are also
converted to WMF (Windows Metafile) format.” This according to Microsoft is by
design.
Check
this link to find out more- Document file size increases with EMF, PNG, GIF, or
JPEG graphics in Word (http://support.microsoft.com/kb/224663). I ran the patch available on this
page which reduced the size of the template to 3MB enabling me to upload the
template.
Hope it helps.
Cheers!
Deepak
Thank you very much for this great tip!
ReplyDeleteIt was very useful for me!
Nice....
ReplyDeleteThanks Very much, that was very helpful!
ReplyDelete