locked
Load report failed on web server RRS feed

  • Question

  • User1496983688 posted

    Hello,

    We started to have a weird problem about a week ago. Suddenly about once a day all Crystal reports on the web server stop loading ("Load report failed."). All of them at once (we have around hundred). There is no apparent reason for this. To fix the problem I have to re-publish the ASP.NET application. What's more - this is a server specific. We have 3 web servers where this application runs, and only one of them has this issue.

    We had tried to reboot the server, clear the cache - no luck. What could be an issue? Any suggestions would be appreciated.

    Thank you.

    Monday, September 29, 2014 3:02 PM

Answers

  • User1496983688 posted

    We have found the problem. One of the pages with the Report Viewer had garbage collection disabled. As a result the server was overloaded with the tmp files. After we re-enabled it, we don't see this problem anymore.

    protected void Page_Unload(object sender, EventArgs e)

        {

            if (rpt != null)

            {

                rpt.Close();

                rpt.Dispose();

                GC.Collect();  // forces garbage collection

            }

        }

    • Marked as answer by Anonymous Thursday, October 7, 2021 12:00 AM
    Thursday, October 9, 2014 6:33 PM

All replies

  • User61956409 posted

    Hi peterafonin,

    Thanks for your post.

    Load report failed".

    As for your problem, the error occurs in the following scenarios.

    1. Permission issue
    2. Invalid File path or File name
    3. Unmanaged resources

    You could refer to the following article to resolve it.

    Hope it will be helpful to you.

    Best Regards,

    Fei Han

    Tuesday, September 30, 2014 3:25 AM
  • User1496983688 posted

    Thanks this is not it. As I mentioned in my post, this happens suddenly to all reports on the server without any intervention from our side. Could be the server load issue, caching or something like this.

    Tuesday, September 30, 2014 11:18 AM
  • User-37275327 posted

    Check with latest windows update. If nothing unusual, try registering asp.net with IIS from the command prompt.

    aspnet_regiis -i

    Thursday, October 2, 2014 2:22 AM
  • User1496983688 posted

    Thank you, we'll try.

    Peter

    Thursday, October 2, 2014 10:00 AM
  • User1496983688 posted

    We have found the problem. One of the pages with the Report Viewer had garbage collection disabled. As a result the server was overloaded with the tmp files. After we re-enabled it, we don't see this problem anymore.

    protected void Page_Unload(object sender, EventArgs e)

        {

            if (rpt != null)

            {

                rpt.Close();

                rpt.Dispose();

                GC.Collect();  // forces garbage collection

            }

        }

    • Marked as answer by Anonymous Thursday, October 7, 2021 12:00 AM
    Thursday, October 9, 2014 6:33 PM