?
Solved

Reports Failing "Failed to open the connection." error

Posted on 2009-07-06
1
Medium Priority
?
1,745 Views
Last Modified: 2013-11-15
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?

Thanks,

Matt

Error Example:
Failed to open the connection. D:\Program Files\Business Objects\BusinessObjects Enterprise 11.5\Data\procSched\myserver.reportjobserver\~tmp1eb85bed6bde626.rpt
0
Comment
Question by:matty1stop
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
1 Comment
 
LVL 101

Accepted Solution

by:
mlmcc earned 500 total points
ID: 24790741
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.

mlmcc
0

Featured Post

Industry Leaders: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

1. Set up your parameter at the report level as usual, check the box Multi-value, and set the Data Type to String 2. Set the Stored Procedure Parameter to varchar(max)  --<---- This part here is the key to it's success Example:    @cst_key var…
Hi, I am very much excited today since I'm going to share something very exciting Tool used for Analytical Reporting and that's nothing but MICROSTRATEGY. Actually there are lot of other tools available in the market for Reporting Such as Co…
Have you created a query with information for a calendar? ... and then, abra-cadabra, the calendar is done?! I am going to show you how to make that happen. Visualize your data!  ... really see it To use the code to create a calendar from a q…
In this video, Percona Solutions Engineer Barrett Chambers discusses some of the basic syntax differences between MySQL and MongoDB. To learn more check out our webinar on MongoDB administration for MySQL DBA: https://www.percona.com/resources/we…
Suggested Courses

765 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question