ActiveReports for .NET 2.0 Support

Started by The Yorkshireman at 12-17-2009 11:11 AM. Topic has 12 replies.

Print Search Rate
Sort Posts:    
   12-17-2009, 11:11 AM
The Yorkshireman is not online. Last active: 7/13/2010 3:58:31 PM The Yorkshireman

Top 100 Posts
Joined on 12-01-2006
Posts 87
Increase PDF file size
PDF files sizes created by an ActiveReports project have suddenly increased in size ( x10).

The ActiveReports installation and the project files have not changed.

The whole project can be copied to another machine and it works perfectly. This is not an issue with images, embedded fonts or data.

What external factors can be causing this increase in PDF size?


   Report 
   12-18-2009, 12:40 AM
AashishB is not online. Last active: 12/24/2010 3:51:14 PM AashishB

Top 25 Posts
Joined on 12-11-2008
Posts 818
Re: Increase PDF file size
Yorkshireman,

Could you please answer few questions so that we can try to isolate this issue.

1) Which build and version of Active Reports are you using?
2) Which Operating System do you use? Was there a change in Operating system or development environment?
3) By size you mean the size of PDF on the disk and not the zoom size.
4) Try saving the RDF layout of the report on both machines and compare there size. Also attach the RDF here so that we can also test the same at our end. Here is help to save the RDF file.

Any other information that you can provide would be helpful.

Regards,
Aashish

   Report 
   01-04-2010, 5:28 AM
The Yorkshireman is not online. Last active: 7/13/2010 3:58:31 PM The Yorkshireman

Top 100 Posts
Joined on 12-01-2006
Posts 87
Re: Increase PDF file size
It is the file size.
e.g 5MB instead of 500KB.

The reports actually look fine.

A PDF compression tool will reduce the filesize.


The Operating system is Microsoft Server 2003.

We are using AR .NET 2.0.
This has not changed for a long time.

How can I produce a RFD file?
AR is embedded within a reporting application which is in use at a client site - it is the client who experiences the problem.

I use the same software and I cannot reproduce it.





   Report 
   01-05-2010, 8:35 PM
subodh.sinha is not online. Last active: 2/10/2012 10:42:28 AM subodh.sinha

Top 25 Posts
Joined on 10-06-2009
Posts 1,091

DDStaff
Re: Increase PDF file size
Hello,

If I understood the issue correctly then you have a report which is exported to PDF format and the memory size of pdf is increased by almost ten times at a client site. However you could not replicate the issue at your end.

If this is the said scenario then I would like to know if this issue was reported by all the clients or a particular client. To analyse the issue I would also request you to send us RDF file. You can click on this link for help on how to save and load RDF file.

Regards
Subodh
   Report 
   01-06-2010, 8:28 AM
The Yorkshireman is not online. Last active: 7/13/2010 3:58:31 PM The Yorkshireman

Top 100 Posts
Joined on 12-01-2006
Posts 87
Re: Increase PDF file size
Yes,
The filesize is 10 times bigger!

This only happens for one client. I cannot recreate it even when I use exactly the same files and data.

I'm not sure how to export the RDF file. I have followed the link and cannot get it to work. Is that a C# script?

I do not want to recompile/reinstall anything on my clients site if I can help it.
   Report 
   01-07-2010, 4:38 AM
subodh.sinha is not online. Last active: 2/10/2012 10:42:28 AM subodh.sinha

Top 25 Posts
Joined on 10-06-2009
Posts 1,091

DDStaff
Re: Increase PDF file size
Hello Yorkshireman,

I would like to inform you that it is quite difficult to understand why it increases the file size as it’s specific to one client. Would you please provide the complete system information of the client? Is he saving the PDF file from the website?

Also I would like to inform you that you can save the RDF file of the report by putting the following code snippet in any buttons click event on which you want save the RDF
For Visual Basic:

Dim rpt As New ActiveReport1()
   Private Sub saveRDF()
   rpt.Run()
   rpt.Document.Save(server.MapPath() + "\NewRDF.RDF")
   End Sub

For C#:

    ActiveReport1 rpt = new ActiveReport1();
    rpt.Run();
    rpt.Document.Save(server.MapPath() + "\NewRDF.RDF");

 If you can send us the RDF file then we can test it our end.

Regards
Subodh
   Report 
   01-11-2010, 6:18 AM
The Yorkshireman is not online. Last active: 7/13/2010 3:58:31 PM The Yorkshireman

Top 100 Posts
Joined on 12-01-2006
Posts 87
Re: Increase PDF file size
So you are suggesting we add this code to the application and compile a new release?

This is time consuming and will require a UAT period for the client.


Could the issue be related to this post regarding pdf filesizes and Citrix?

http://forums.citrix.com/thread.jspa?threadID=43658&tstart=0
   Report 
   01-11-2010, 7:55 AM
The Yorkshireman is not online. Last active: 7/13/2010 3:58:31 PM The Yorkshireman

Top 100 Posts
Joined on 12-01-2006
Posts 87
Re: Increase PDF file size
.
   Report 
   01-12-2010, 1:33 AM
subodh.sinha is not online. Last active: 2/10/2012 10:42:28 AM subodh.sinha

Top 25 Posts
Joined on 10-06-2009
Posts 1,091

DDStaff
Re: Increase PDF file size
Hello Yorkshireman,

I have received a mail from you with a statement “OK. I created an RDF file using a C# script.” However in the forum I found it to be blank. I would request you to kindly repost it and if you have created the RDF file then I would request you to send it.

Regards,
Subodh

   Report 
   01-13-2010, 3:11 AM
The Yorkshireman is not online. Last active: 7/13/2010 3:58:31 PM The Yorkshireman

Top 100 Posts
Joined on 12-01-2006
Posts 87
Re: Increase PDF file size
I now have 2 RFD files created: One large, One small: associated with 2 PDF reports. One large one small.

The reports appear identical except that the small one is 1MB the large one is 5MB.

I will send you the RDFs but as they contain client information I don't want to attach them here. Can I email them directly to you?

Thanks
   Report 
   01-13-2010, 3:20 AM
GauravCh is not online. Last active: 7/7/2010 9:24:53 PM GauravCh

Not Ranked
Joined on 01-12-2010
Posts 13
Re: Increase PDF file size

Hello,

You can send these files to DataDynamics support email address : support@grapecity.us.com

Thanks.

Gaurav


   Report 
   01-13-2010, 3:54 AM
The Yorkshireman is not online. Last active: 7/13/2010 3:58:31 PM The Yorkshireman

Top 100 Posts
Joined on 12-01-2006
Posts 87
Re: Increase PDF file size
OK thanks.
Email has been sent.
   Report 
   01-14-2010, 5:02 AM
AashishB is not online. Last active: 12/24/2010 3:51:14 PM AashishB

Top 25 Posts
Joined on 12-11-2008
Posts 818
Re: Increase PDF file size
Thank you, we have replied your to your email for more information.

Regards,
Aashish

   Report 
GrapeCity » Product Support » ActiveReports f... » Re: Increase PDF file size

Privacy Policy | Copyright © 1997-2012 — GrapeCity, inc.
All trademarks mentioned are the property of their respective owners.