Help
  • Explore Community
  • Get Started
  • Ask the Community
  • How-To & Best Practices
  • Contact Support
Notifications
Login / Register
Community
Community
Notifications
close
  • Forums
  • Knowledge Center
  • Events & Webinars
  • Ideas
  • Blogs
Help
Help
  • Explore Community
  • Get Started
  • Ask the Community
  • How-To & Best Practices
  • Contact Support
Login / Register
Sustainability
Sustainability

Join our "Ask Me About" community webinar on May 20th at 9 AM CET and 5 PM CET to explore cybersecurity and monitoring for Data Center and edge IT. Learn about market trends, cutting-edge technologies, and best practices from industry experts.
Register and secure your Critical IT infrastructure

Errors When Generating Crystal Reports

Geo SCADA Knowledge Base

Access vast amounts of technical know-how and pro tips from our community of Geo SCADA experts.

cancel
Turn on suggestions
Auto-suggest helps you quickly narrow down your search results by suggesting possible matches as you type.
Showing results for 
Show  only  | Search instead for 
Did you mean: 
  • Home
  • Schneider Electric Community
  • Knowledge Center
  • Geo SCADA Knowledge Base
  • Errors When Generating Crystal Reports
Invite a Co-worker
Send a co-worker an invite to the portal.Just enter their email address and we'll connect them to register. After joining, they will belong to the same company.
You have entered an invalid email address. Please re-enter the email address.
This co-worker has already been invited to the Exchange portal. Please invite another co-worker.
Please enter email address
Send Invite Cancel
Invitation Sent
Your invitation was sent.Thanks for sharing Exchange with your co-worker.
Send New Invite Close
Top Labels
Top Labels
  • Alphabetical
  • database 32
  • Web Server and Client 31
  • WebX 19
  • Request Form 18
  • Lists, Events & Alarms 16
  • ViewX 15
  • Application Programming 12
  • Setup 12
  • Telemetry 8
  • Events & Alarms 7
  • Lists 7
  • Mimic Graphics 7
  • Downloads 6
  • Support 5
  • IoT 5
  • SCADA 5
  • Geo SCADA Expert 5
  • Drivers and Communications 4
  • Security 4
  • DNP 3 3
  • IEC 61131-3 Logic 3
  • Trends and Historian 2
  • Virtual ViewX 2
  • Geo Scada 1
  • ClearSCADA 1
  • Templates and Instances 1
  • Releases 1
  • Maps and GIS 1
  • Mobile 1
  • Architectures 1
  • Tools & Resources 1
  • Privacy Policy 1
  • OPC-UA 1
  • Previous
  • 1 of 4
  • Next
Latest Blog Posts
  • OPC UA - Driver and Server
  • Requirements for Generating a Valid OPC UA Server Certificate
  • Load Events Using LoadRecord and LoadRecords
  • Geo SCADA Embedded Component Licenses
  • Geo SCADA 2023 Known Issues
Related Products
product field
Schneider Electric
EcoStruxure™ Geo SCADA Expert

Invite a Colleague

Found this content useful? Share it with a Colleague!

Invite a Colleague Invite
Anonymous user
Not applicable
‎2021-06-09 11:41 AM
0 Likes
0
2465
  • Bookmark
  • Subscribe
  • Email to a Friend
  • Printer Friendly Page
  • Report Inappropriate Content

Link copied. Please paste this link to share this article on your social media post.

‎2021-06-09 11:41 AM

Errors When Generating Crystal Reports

Originally published on Geo SCADA Knowledge Base by Anonymous user | June 09, 2021 08:41 PM

📖 Home  Back  
There are a number of different errors that can be returned when Generating a crystal report. The exact text of the error message can be found in the event journal. These are typically strings returned directly from the Crystal Reports APIs.

Table Not Found


The error shown is "Generate report request failed - Failed to generate report, The table '' could not be found..."

This error is displayed when the table referenced in the report is not defined within the ClearSCADA database schema. This most often happens when the table being queried is a historic view or data grid which has not been defined, or named incorrectly. To resolve this issue, either change the name of the table in ClearSCADA, or change the Crystal report to reference the table name correctly.

Data Not Constrained


The error shown is "Generate report request failed - Failed to generate report, Failed to retrieve data from the database..."

This error is displayed when the database link is unable to provide data to Crystal reports. The most common cause of this is when data is queried from a historic table an insufficient constraints are placed on the data set being requested. For example, when querying the CDBHistoric table (or a historic view) it is important to constrain the query by time ie. specify a WHERE clause that limits the amount of records being returned.

For a query on a historic view, it is also important to link the report to also retrieve point information from the CDBPoint table as well as the historic data from the historic view.

No Interface to Driver


The error shown is displayed in a popup inside ViewX stating "InvokeMethod returns 0XC0140026. No interface to driver."

This will be followed up with an event in the event journal stating "Generate report request rejected - Driver 'Crystal Reports' is not running".

This error is displayed when you have requested to generate, export or print a report when the Crystal Reports driver is not running.

Some causes of the driver not running include:
  • driver failing on startup due to an invalid printing user

  • licence not configured for Crystal Reports (Crystal Reports is a free driver. If this is the case, please contact your support representative for an updated licence).

  • driver connection to server failed. This could be due to a resource issue on the machine ie. some other application using up all available TCP sockets.


To view the status of the driver, browse to the Modules window of the server status dialog.

Failed Logon


Each Crystal Report can be configured with a user that is used to logon to the system to access the required data. If this logon is incorrect, or the user has no permissions in the system, an error stating 'Generate report request failed - Failed to generate report, Logon Failed...'

To resolve this issue, modify either the users security permissions to allow them to access part of the system, or check that the report user is still valid in the system.

Incorrect DSN Configuration


ClearSCADA uses a standard ODBC Data Source Name (DSN) configured in the Windows control panel to connect to the database and retrieve information required for the report. If the configured DSN does not match the name of the DSN configured in the Global Parameters - Crystal Reports section of the ClearSCADA Server Configuration dialog, then an error stating 'Generate report request failed - Failed to generate report, Failed to open the connection...' will be displayed.

The obvious solution to this problem is to ensure that the configured DSN matches the name of the DSN configured in ClearSCADA.

Note that if the DSN configured in ClearSCADA is modified to match an existing ODBC DSN on the machine, either the Crystal Reports driver must be restarted to pick up this change.

Go: Home Back

Author

Biography

Anonymous user

Link copied. Please paste this link to share this article on your social media post.

  • Back to Blog
  • Newer Article
  • Older Article
To The Top!

Forums

  • APC UPS Data Center Backup Solutions
  • EcoStruxure IT
  • EcoStruxure Geo SCADA Expert
  • Metering & Power Quality
  • Schneider Electric Wiser

Knowledge Center

Events & webinars

Ideas

Blogs

Get Started

  • Ask the Community
  • Community Guidelines
  • Community User Guide
  • How-To & Best Practice
  • Experts Leaderboard
  • Contact Support
Brand-Logo
Subscribing is a smart move!
You can subscribe to this board after you log in or create your free account.
Forum-Icon

Create your free account or log in to subscribe to the board - and gain access to more than 10,000+ support articles along with insights from experts and peers.

Register today for FREE

Register Now

Already have an account? Login

Terms & Conditions Privacy Notice Change your Cookie Settings © 2025 Schneider Electric

This is a heading

With achievable small steps, users progress and continually feel satisfaction in task accomplishment.

Usetiful Onboarding Checklist remembers the progress of every user, allowing them to take bite-sized journeys and continue where they left.

of