Solved

Crystal Reports displaying differently on web server

Posted on 2011-09-19
5
393 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

Gigs: Get Your Project Delivered by an Expert

Select from freelancers specializing in everything from database administration to programming, who have proven themselves as experts in their field. Hire the best, collaborate easily, pay securely and get projects done right.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

There have always been a lot of questions related to when Crystal Reports evaluates report components (such as formulas, summaries, cross-tabs, charts, to name a few examples). Crystal Reports uses a two-pass reporting process to provide greater …
Hello everyone, Hope you find this as helpful as we did. We have on the company I work for an application built in Delphi V with Crystal Reports 8. We all know that Crystal & Delphi can be temperamental sometimes and the worst thing is, nearly…
This tutorial gives a high-level tour of the interface of Marketo (a marketing automation tool to help businesses track and engage prospective customers and drive them to purchase). You will see the main areas including Marketing Activities, Design …
Email security requires an ever evolving service that stays up to date with counter-evolving threats. The Email Laundry perform Research and Development to ensure their email security service evolves faster than cyber criminals. We apply our Threat…

776 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