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

ASP.NET/CR deployment problem

I just developed a ASP.NET app in VS 2010 that uses some Crystal Reports I designed within the IDE. I created a web form and launched the reports with the CrystalReportViewer - works great when running it on my dev workstation. I installed the CR redistributable runtime package on the target web server and published my app to it from within VS. However, when I try to load the page with the CrystalReportViewer, it just hangs in a perpetual loading state and I never see any error messages. Even surveying the event viewer turned up nothing.

Any suggestions on where to go from here?

- Robert -

Add a comment
10|10000 characters needed characters exceeded

Related questions

3 Answers

  • Best Answer
    author's profile photo Former Member
    Former Member
    Posted on Jul 13, 2011 at 04:19 PM

    I'm re-opening this question because I'm experiencing continual problems with these reports. Following a previous commenter's advice, I've tried building my new reports one step at a time trying to identify what causes the report to suddenly stop working on the web server. Since I've got several very similar reports, I've typically been trying to copy objects from a completed working report to my new report.

    What I've discovered is that it will often break when doing something as innocuous as copying a simple text object, e.g. header label or changing the page design from portrait to landscape. I've also noticed an unrelated behavior where a working report will render completely blank the first time I try to display it, but when I go back to the main menu page and try to launch it a second time, it displays just fine. These types of things make me believe there are some serious bugs in the free version of this product. I don't know what else might explain such behavior.

    Not sure whether it's relevant or not, but I thought I should point out that unlike all past Crystal Reports development work I've done (and I've done a lot over 10+ years), these latest reports are using the IBM iSeries as the data source, which did require some special software configuration on both my development workstation and the web server.

    Add a comment
    10|10000 characters needed characters exceeded

    • Former Member Ludek Uher

      "No printer" FTW!

      Thank you so much for directing me to that setting! I now remember having to deal with that on occasion in my distant past. I'm hopefully that this is my only remaining issue with these reports, but I'll keep this thread open for a bit longer just in case.

      - Robert -

  • Posted on Jun 29, 2011 at 09:37 PM

    Most likely the app is under a custom app pool. If that is the case, you need to configure the viewers directory.

    Searching these forums should have given you the following threads that will help:

    Report Viewer not displaying on deployment server

    Crystal viewer is not appear in web forms when publish to web server

    Ludek

    Follow us on Twitter http://twitter.com/SAPCRNetSup

    Got Enhancement ideas? Try the [SAP Idea Place|https://ideas.sap.com/community/products_and_solutions/crystalreports]

    Add a comment
    10|10000 characters needed characters exceeded

  • Posted on Jun 30, 2011 at 05:36 PM

    Your description makes it sound like you can see the viewer, but you are getting the dialog that indicates the report is processing. A screenshot would really help in this case.

    I'd suggest trying to view a very simple report, one that only has a text object in it and no database connection. This will assist in validating that the runtime is installed correctly. If that works then you can look at your code, or the database you are connecting to, or the number of results you might be returning in an ADO.NET dataset.

    Always ensure you are testing the exact same thing in your production app as development. Changing databases could cause issues because more data is in the production database than testing.

    Add a comment
    10|10000 characters needed characters exceeded

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.