Large data scope can cause report delivery to fail


This article applies to:

  • Marshal Reporting Console

Symptoms:

  • On screen report delivery times out
  • On screen report delivery gives error "Out of memory" 
  • Printed reports fail due to timeout or memory condition on printer
  • Excel exports (SQL 2008 R2 reporting server) fail with error message: Number of rows in the Excel sheet exceeded the limit of 65536 rows

Causes:

  • The requested report returns a very large amount of data. The time to process data exceeds a system timeout, or the size of data returned is too large for the configured delivery method.
  • Excel worksheets are limited to 65536 rows (by the design of Excel).
    • The XLSX format allows a greater number of rows. This format is available when you use MRC 2.6 or above with the latest SQL Server versions. All report formatting and exporting from MRC depends on SSRS.

Resolution:

  • If you require a report that returns a very large result set, select delivery to a file in PDF or MHTML format (not Excel).

  • If possible, reduce the data scope or period reported on.

  • Use a 64 bit licensed (full) version of SQL Server and SQL Server Reporting Services, rather than SQL Express. SQL/SSRS allows MRC to take advantage of the SSRS Snapshot feature, allowing faster and more efficient viewing of reports.  

    • Note: When installing 64 bit SQL, remember to set a reasonable value for Maximum Server Memory.

  • If you encounter the ASP.NET exception "execution timed out" while rendering a report to the screen, you can increase the allowed execution time:

    1. On the MRC server, navigate to the MRC installation folder (by default, C:\Program Files (x86)\Marshal\Marshal Reporting Console)
    2. Edit the file web.config
    3. Within the section system.web locate or add the element httpRuntime
    4. Add or edit the attribute executionTimeout
      • The value is in seconds (default 90 seconds); you may need to enter a value of 1800 or more (which translates to 30 minutes or more)
        <system.web>
        .
        .
        .
        <httpRuntime executionTimeout="1800" /></system.web>
      • If the element httpRuntime already exists with other attributes, do not remove the other attributes. Simply add the new attribute.
      • The config file is case sensitive. For general tips on editing XML configuration files, see article Q12705.

The following WebMarshal reports are particularly liable to encounter these issues:

  • URL Browsing by Site
  • URL Browsing by User

However, the issue can occur with any report if the requested scope or data set is large enough.

 


Last Modified 3/1/2020.
https://support.trustwave.com/kb/KnowledgebaseArticle12245.aspx