?
Solved

Crystal Reports displaying differently on web server

Posted on 2011-09-19
5
Medium Priority
?
434 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 101

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 101

Accepted Solution

by:
mlmcc earned 1000 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 101

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

Vote for the Most Valuable Expert

It’s time to recognize experts that go above and beyond with helpful solutions and engagement on site. Choose from the top experts in the Hall of Fame or on the right rail of your favorite topic page. Look for the blue “Nominate” button on their profile to vote.

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. …
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…
Integration Management Part 2
When cloud platforms entered the scene, users and companies jumped on board to take advantage of the many benefits, like the ability to work and connect with company information from various locations. What many didn't foresee was the increased risk…
Suggested Courses
Course of the Month15 days, 12 hours left to enroll

850 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