Crystal Reports displaying differently on web server

Posted on 2011-09-19
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 3.5 installed.  Any suggestions?
Question by:cpkuser
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 3
  • 2
LVL 100

Expert Comment

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.


Author Comment

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

Accepted Solution

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


Author Comment

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.
LVL 100

Expert Comment

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.

Featured Post

Windows Server 2016: All you need to know

Learn about Hyper-V features that increase functionality and usability of Microsoft Windows Server 2016. Also, throughout this eBook, you’ll find some basic PowerShell examples that will help you leverage the scripts in your environments!

Question has a verified solution.

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

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…
The Email Laundry PDF encryption service allows companies to send confidential encrypted  emails to anybody. The PDF document can also contain attachments that are embedded in the encrypted PDF. The password is randomly generated by The Email Laundr…

730 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