I am new for crystal report server. Here I'm explaining error details.
I'm using SAP Business Objects CMC for report generation for my application. Below is the version details in image.
When I try to generate report file with more than 1MB of file size it is throwing below error.
Error
The viewer could not process an event. 1c84865dce535c5.pdf File is too large for attachment. [] ---- Error code:0 [CRWEB00000119]
So, I went to following location to check the maximumUploadFileSize.
1. C:\Program Files (x86)\SAP BusinessObjects\tomcat\webapps\dswsbobje\WEB-INF\classes\dsws.properties
2. C:\Program Files (x86)\SAP BusinessObjects\SAP BusinessObjects Enterprise XI 4.0\warfiles\webapps\dswsbobje\WEB-INF\classes\dsws.properties
3. C:\Program Files (x86)\SAP BusinessObjects\SAP BusinessObjects Enterprise XI 4.0\java\pjs\container\work\<ServerName>.WebApplicationContainerServer\businessobjects\dswsbobje\WEB-INF\classes\dsws.properties
#Security measure to limit total upload file size
maximumUploadFileSize = 10485760
It is setted to 10485760 (10 MB), As per my understanding this is default size from this Reference Document.
So, if it is supporting upto 10 MB why it is throwing error when report file exceed 1MB?
And I tried to increase the size by multiple's of 10, meaning 104857600 (100 MB) in all this files, and restarted the server. But with out success, after restarting the server the modified value in third file is again setting to old value (10485760). Please help me in this.
Is there any way to increase maximumUploadFileSize through administrator console?
Please drop your comments, if you have any questions/doubts regarding this.
This issue can be resolved by following steps.
Actually this issue is related to number of records which are trying to generate as report in crystal report server. The default record data size limit is 20,000. By changing the limit into 0 (for Unlimited) we can able to resolve this issue.
Follow below steps to do this setting changes:
Log onto the CMC
Go to Servers in the drop-down menu
Expand Service Categories
Select Crystal Reports Services
In the right window will be listed the currently running services, find CrystalReports2013ProcessingServer under Description.
Double click on that, it will redirect to Properties page.
Set the value 0 for "Database Records Read When Previewing or Refreshing (0 for unlimited)".
Click Save & Close.
Restart CrystalReports2013ProcessingServer.
Now try to generate the large data pdf file, it should work fine.
Related
I am stepping into a new reporting environment and I don't have a lot of background info yet. But my company utilizes a series of crystal reports.
I want to compare two reports that are identical except that they connect to different data sources. I can click on both reports in the Crystal Reports viewer, go to Database > Set Database Location and I am able to see the data source. If I do this for both reports in question, I can see that they both connect to different data sources, as expected.
However, when I export the two Crystal Reports as text files and then compare them using Notepad++, I don't see the datasource / connection string in the report files, so when I do a compare, they are exactly the same.
If the exported text files are exactly the same, how does Crystal Reports Viewer know to point one report towards a prod data source and another report towards the dev data source? It does not appear to be embedded in the exported metadata / report definition file.
Thank you!!
The connection info is simply not part of the exported report definition text.
But, obviously, it is part of the report definition.
If you need to export more detailed report definition information, including connection properties, consider getting a documentation utility. Ken Hamady maintains a list of those here.
We have a customer that generates reports using our software platform that utilizes Crystal Reports. Every now and then changes to the report are requested. All employees have virtual machines that have Crystal Reports and other software installed to make changes to customer items such as this one report template.
Every time we make modifications to the crystal report template and save it, even if it's something as insignificant as moving a text field up by 1 inch, double-sided printing breaks; instead of flipping text on the long edge of the page, two 1-sided pages are printed. However, that there is exactly one employee VM that does NOT break double-sided printing when the rpt is modified.
I have never seen anything like this. We have checked just about everything and don't know where to go next:
Customer printer settings are confirmed set to double-sided printing
Crystal Reports settings are identical
Section formulas and settings are identical
Making a 1:1 copy of the one working VM and making changes on the copy still breaks printing.
The only remaining suspicion I have left is the file format schema. We have access to Crystal Reports 11 Release 2 (11.5), but the schema is version 11.0.0. Can altering an 11.0.0 report using 11.5 cause this issue? Are there any other areas we should check that could be breaking printing?
Turns out our installation files for Crystal Reports XI R2 were corrupt somehow and was missing service packs. I downloaded a fresh copy of Crystal Reports XI R2 with all service packs up to SP6 and reinstalled it on my image. Printing doesn't break now.
I am working on a plugin which is fired on the creation of the "Notes" annotation entity. But when attached file which is more then 10 MB size then plugin not execute.
what I want to know is what is the maximum limit of the data which is passed to the plugin. ?
plugin is working fine if I attached document which is less then 10 MB and is is not working if file size is more then 10 MB.
I have also used Async execution of the plugin so that I can check the error in system job but there is no error , system job is marked as "In Progress"
there is no detail about any error.
any suggestion ?
did you check if the note actually has the file attached? CRM has a configurable limit for attachment size - which defaults to 5MB, so you are probably getting blocked there unless you have increased that limit.
Just adding a bit more to what #Joseph said.
Here is the link which explains how to setup the file size limit for attachments.
CRM must be checking the file size limit before giving a chance to your plugin to be executed.
I was getting error "FORM too large" when I submit a form containing many data. As default size for JETTY server is 2 mb and my form size is exceeded.
I solved the issue locally by using system argument in Eclipse ie by setting max form content to -1, which means no limit to form content. But the problem is in UAT environment. How to do that, if we cannot use Eclipse?
Does any one know how to provide this configuration in JETTY or TOMCAT directly so that max form content is unlimited. I have tried the same configuration in start.ini file in JETTY but it is not working in UAT.
Please geeks share your idea,if any.
Thanks
Unlimited form content size is actually a form of vulnerability. (Look into how map hash key collision can be a harsh form of DOS attack)
Are you really sure you need to send 2MB of form data?
Note: multipart/form-data content that are FILES (not form fields) are handled with different max size configurations.
Look into the <multipart-config> entries in WEB-INF/web.xml or #MultiPartConfig annotations for more about those limits.
is there any limitation in number of pages of a report output?
I use iReport for report design, I have several reports (main and subreports) in a single report.
If data available, 1 Lakh+pages are possible to generate while executing my report from application?
No, there is no page limit. If you're exporting the report in a specific file type (PDF, for example), check and make sure you won't exceed the size limit for that file type.