Skip to Content
author's profile photo Former Member
Former Member

Upgraded server to crystal 2008 now .Net web reports do not display

Hi, I just upgraded .Net 2008 crystal to Crystal 2008 because of some problems I was having with the .Net version. I have a .Net web application that uses the CrystalReportViewer to display reports. Everything was displaying fine till I upgraded to 2008 on the server. I can view reports on my local machine but when I browse to the server nothing shows up. No errors either. Where did I go wrong in the upgrade? I installed Crystal 2008 sp1 runtimes on the server.

I've checked the web.config; all versions have been bumped up to 12.0.1100.0 or 12.0.2000.0 on all of the Crystal references. The Export functionality seems to be working ok; I have one report that is exported to Word.

Does an empty ReportViewer indicate that there is no report data?

Just spotted an IE script error; 'bobj' is not defined. Do I need to update the CrystalViewer javascript?

I copied javascript files from aspnet_client from my development machine to server and now I am not getting the script error, AND I am seeing the crystalViewer, but I am not seeing any data on the report. The same report exports to word and has all of the data.

Crystal viewer is displaying but with no data; export to word shows all data. I'll have to give up for now.

Appreciate any help.

Thanks,

Tom

Edited by: TomRodgers on Mar 24, 2009 11:54 PM

Edited by: TomRodgers on Mar 25, 2009 12:00 AM

Edited by: TomRodgers on Mar 25, 2009 12:07 AM

Edited by: TomRodgers on Mar 25, 2009 12:21 AM

Edited by: TomRodgers on Mar 25, 2009 12:44 AM

Add a comment
10|10000 characters needed characters exceeded

Related questions

2 Answers

  • Best Answer
    author's profile photo Former Member
    Former Member
    Posted on Mar 25, 2009 at 02:24 PM

    Hi,

    Can you please make sure that the Viewer control used is of the 12.0.2000.0 version. Also, if you move from one page to another page does the data come up or still nothing? In the Browser make sure that you have all the Active X enabled. Do the browser give any kind of java script error?

    Have you opened the reports in CR2008 sp0 designer, previewed them and then re-saved them? (This would upgrade the reports). How does the report behave from the designer?

    Thanks.

    AG.

    Add a comment
    10|10000 characters needed characters exceeded

    • Former Member Ludek Uher

      I recopied my development machine's 'crystalreportviewers12' folder to the server and things started working.

      I believe ultimately I had a mismatch. My server had a copy of the original Crystal 2008 'crystalreportviewers12' and my development machine had SP1's 'crystalreportviewers`12' folder.

      Once I got both development machine and server in sync with the same SP1 files everything worked.

      Thanks for the help.

      Tom

  • author's profile photo Former Member
    Former Member
    Posted on Mar 25, 2009 at 03:00 AM

    Hi,

    Is your .Net application developed using Visual Studio 2008 and Crystal Report 2008?

    VS 2008 is only compatible with CR 10.5 (Bundle version which comes with VS) ,CR 2008 SP0 and SP1.

    Make sure you have applied at least SP 0 to your CR 2008. SP 0 is here:

    https://smpdl.sap-ag.de/~sapidp/012002523100007528552008E/cr2008_sp0.zip

    and SP 1 is here:

    https://smpdl.sap-ag.de/~sapidp/012002523100010503722008E/cr2008_sp1.exe

    Thanks,

    Nikhil Dharme

    Add a comment
    10|10000 characters needed characters exceeded

    • Former Member

      Hi,

      Thanks for responding.

      I've installed SP1 on my development machine and the Server. Still having the same problem. Viewer comes up empty. If I export the report to Word using the viewer's export function, the Word doc displays the expected data.

      Tom

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.