Troubleshooting export providers

Contents[Hide]

1. Overview

Dundas BI provides the ability to share dashboards, reports, and other views in an exported format such as PDF, image, Excel and PowerPoint.

This article describes some error messages you might see while sharing your work and how to troubleshoot them. 

2. Pre-requisites for export

The Chrome Embedded Framework (CEF) plugin used in the exports requires Visual C++ Redistributable Packages for Visual Studio 2013 and a Microsoft .NET framework 4.5.2 or higher. These can be downloaded from the following pages:

3. HTTP error code

Any export process failed error message with an error code between 300 and 500 is an HTTP error. More information on these can be found on the internet.

4. CEF

4.1. The export process failed (1004): <exception>

This error message means there is a JavaScript exception in the browser. Open the browser developer tools to verify which script on the dashboard is throwing an exception.

The error message includes details about the script errors that are preventing export. For example:

The export process failed (1004): Script Exception -  https://reporting/Dundas.BI.Web.WebApp/Scripts/bunches/dundas/base.min.js?v=86694048814(11): Script error - Adapter: 'table1' Event Name: 'datachanged' Script Name: 'script 2' TypeError: Cannot read property 'cellset' of null

This error message would indicate an error from the script added to the data changed event of table1 is causing the export to fail.

4.2. The export process failed (1006): The operation has timed out. Verify the Internal Application URL in configuration is correct.

The export process has timed out before the report could be rendered. To allow a longer time for exporting larger reports, go to the application's configuration settings in Administration and increase the Export Render Timeout from the default 45 seconds.

4.3. The export process failed (1007): Unexpected error encountered

Any error message starting with The Export Process failed (1007): Unexpected error encountered, and followed by a three digit negative number and a short caption, indicates that the internal application URL being used for the export process is incorrect or set to a value other than the home page of the instance URL.

Internal Application URL is a configuration setting in Administration.

Common error codes include:

(-102) - Connection Refused - The port number is incorrect

(-105) - Name not resolved - The hostname is incorrect

(-104) - Connection failed - Check the internet connection

Please contact Dundas Support if you encounter any other 1007 error.

4.4. Export file generated with no data

If you are exporting a visualization and it does not show any data, check whether Disable Auto Data Loading was selected on that visualization in the Properties window.

If this setting is meant to be selected, you can add a script in the Before Export action of the dashboard/view to load the data automatically before the export takes place.

For example, the following script can be used to load the data for a table:

e.isAsync= true;
var def = table1.loadData();
def.done(function (results) {
  e.deferred.resolve();
});

5. Contacting Dundas Support

If you come across any other error message or if the provided solution does not resolve the error, please contact Dundas Support.

When contacting support, send the full error message with the stack trace and the config.dat file generated during the export process.

5.1. Obtaining the config.dat file

To obtain the config.dat file, turn on Verbose Logging:

  1. Edit the Log Filter configuration setting in Administration.
  2. Find Extensions > Standard Export Providers, and change its Level setting to Verbose.
  3. Submit the changes and perform the export again.
  4. View the application logs in Administration.
  5. Find the log entry with a message starting with config.dat.
  6. View the message and copy the contents when sending the email to support.

6. See also

Dundas Data Visualization, Inc.
500-250 Ferrand Drive
Toronto, ON, Canada
M3C 3G8

North America: 1.800.463.1492
International: 1.416.467.5100

Dundas Support Hours: 7am-6pm, ET, Mon-Fri