Solved

Crystal Reports displaying differently on web server

Posted on 2011-09-19
5
385 Views
Last Modified: 2012-08-14
I have a project that produces a crystal report.  I have a report footer that generates a new page before it and suppresses all the other sections but the footer on that new page. When I generate this report on my development machine, it displays exactly how I want it to, but when I publish this to my development web server, it displays the first pages correctly, but on the last page it displays all the other sections but replaces the detail section with my report footer, then prints a blank page after it.  I have tried to reconcile the versions of crystal on my machine as well as the server, but to no avail.  my machine is running visual studio 2008 with crystal reports basic 2008 patched with service pack 1.  the server is a 2003 server and it has asp.net 3.5 installed.  Any suggestions?
0
Comment
Question by:cpkuser
  • 3
  • 2
5 Comments
 
LVL 100

Expert Comment

by:mlmcc
ID: 36560603
WHat printer is installed on the server?

Try installing that printer on your development machine and using it as the printer for the report.

mlmcc
0
 

Author Comment

by:cpkuser
ID: 36560674
The report itself is never actually printed.  The report being displayed on the screen is what is showing up differently.
0
 
LVL 100

Accepted Solution

by:
mlmcc earned 250 total points
ID: 36560720
I understand that.  Crystal uses the printer driver to render the report to the screen so changing the printer can have strange effects.

See this article.  It says it is for CR4-8 but as far as I know they still use the same basic method
http://www.sdn.sap.com/irj/boc/go/portal/prtroot/docs/library/uuid/e0a9cab7-2840-2b10-bf91-adc1039038bd?QuickLink=index&overridelayout=true

mlmcc
0
 

Author Comment

by:cpkuser
ID: 36567489
I was able to reproduce the issue by selecting the XPS Document Writer on my local machine.  The issue is that no matter what I have tried on the server, it still renders the report incorrectly.  I;ve added another printer and made it the default printer.  I've even tried deleting the XPS Document Writer from the server, but it still renders the report incorrectly.
0
 
LVL 100

Expert Comment

by:mlmcc
ID: 36567580
You have to use the same printer on both machines.

There may be an issue with versions of the driver or differneces in drivers between a server version and client version.

Can you build the report on your dev machine so the XPS Document Writer renders correctly?
That might fix the issue.
mlmcc
0

Featured Post

Maximize Your Threat Intelligence Reporting

Reporting is one of the most important and least talked about aspects of a world-class threat intelligence program. Here’s how to do it right.

Join & Write a Comment

Crystal Reports: 5 Tests for Top Performance It is complete, your masterpiece report.  Not only does it meet your customer’s expectations, it blows them out the water, all they want is beautifully summarised and displayed in a myriad of ways. …
I hate sub reports and always consider them the last resort in any reporting solution.  The negative effect on performance and maintainability is just not worth the easy ride they give the report writer.  Nine times out of ten reporting requirements…
Internet Business Fax to Email Made Easy - With eFax Corporate (http://www.enterprise.efax.com), you'll receive a dedicated online fax number, which is used the same way as a typical analog fax number. You'll receive secure faxes in your email, fr…
In this seventh video of the Xpdf series, we discuss and demonstrate the PDFfonts utility, which lists all the fonts used in a PDF file. It does this via a command line interface, making it suitable for use in programs, scripts, batch files — any pl…

706 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

18 Experts available now in Live!

Get 1:1 Help Now