Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 6872177
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 27, 20262026-05-27T03:53:42+00:00 2026-05-27T03:53:42+00:00

I have a report that is taking about 10 minutes to load when opened

  • 0

I have a report that is taking about 10 minutes to load when opened through the application, but only 2 seconds when opened through VS 2008. There are many other reports which all work fine and I don’t know what could be different about this one.

In the application, all of the code to load and setup the report runs fine but when I launch the form that has the viewer on it it displays the form, but hangs for several minutes before the report comes up. It’s clear that it’s not the query itself that is the problem since it only takes a second to run in VS, and all that is on the form is just the viewer.

After setting up my report into a variable named rDoc, I run the following code:

    CrystalReportViewerForm frm = new CrystalReportViewerForm();
    frm.CrystalReportViewer.ReportSource = rDoc;
    Application.Run(frm);

CrystalReportViewerForm has the viewer control on it, and a public property called CrystalReportViewer that exposes the viewer so the calling code can set the ReportSource before opening the form, as you can see in the code. That is literally all the form consists of. When Application.Run(frm); is run it shows the form and viewer, but the report doesn’t load for about 10 minutes.

If anyone else has run into this and solved it please let me know what you did!!

Thanks!

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-27T03:53:43+00:00Added an answer on May 27, 2026 at 3:53 am

    I’ll go ahead and post the way I fixed it here in case it helps anyone, but I’d still like to hear if anyone else knows what the problem actually is…

    My report was using the built in features of CR to select tables with data expert. I got rid of all the tables and added a command with the sql needed to get the data. This solution would obviously be faster because it doesn’t return as much data and the processing is all done in SQL. However, it worked fine the way it was when run through VS so I know that’s not the whole of the problem. At least it works now though.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

The Particulars: I have a report that displays information about invoices. There is a
I have a report that I created with Crystal Reports 2008. This report uses
At work, we have a report that is generated with IP's in it. There
I have two free apps, iSys and iSysMonitor, that report info about my iPhone.
This report used to take about 16 seconds when there were 8000 rows to
I have a report that uses a TChart that I am maintaining. One of
I have a report that renders data returned from a stored procedure. Using profiler
I have a report that is used by a windows service and a form
I have a report that takes two parameters from a couple of text boxes
I have a report that calculates multiple date differences (in business days, not DATEDIFF)

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.