• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 1751
  • Last Modified:

Reports Failing "Failed to open the connection." error

I am using BOXIR2 SP2. I am running reports using Crystal Reports against a Universe connected to a SQL Server 2005 database.

I created a report scheduler using the java API that runs infoview reports. When the scheduler runs it schedules 3 batches of 5 concurrently running reports. (So it runs up to 15 reports at a time.)

The first few reports fail with a "failed to open the connection" error (see example below) viewable through the history in infoview, but some of the following reports will run successfully. It is inconsistent as to how many run and fail at a given time. As the scheduler continues to run it will retry the reports that have failed and they will run successfully, but in a batch of 15 about 6 of them generally fail.

Does anyone know what could be the cause of this problem?



Error Example:
Failed to open the connection. D:\Program Files\Business Objects\BusinessObjects Enterprise 11.5\Data\procSched\myserver.reportjobserver\~tmp1eb85bed6bde626.rpt
1 Solution
You probably are trying to run too many reports at the same time.

Crystal has a limit on the number of open connections.  Unless you have purchased additional licenses it is 5.  Can you schedule the reports so there are at most 5 running at a time?  That may still be too many beacuse a report with subreports may open multiple connections.

Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

Join & Write a Comment

Featured Post

Train for your Pen Testing Engineer Certification

Enroll today in this bundle of courses to gain experience in the logistics of pen testing, Linux fundamentals, vulnerability assessments, detecting live systems, and more! This series, valued at $3,000, is free for Premium members, Team Accounts, and Qualified Experts.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now