Wrox Programmer Forums
BOOK: Professional Crystal Reports for VS.NET
This is the forum to discuss the Wrox book Professional Crystal Reports for Visual Studio .NET by David McAmis; ISBN: 9780764544033
Welcome to the p2p.wrox.com Forums.

You are currently viewing the BOOK: Professional Crystal Reports for VS.NET section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
Old April 3rd, 2006, 12:03 PM
Authorized User
Join Date: Jul 2003
Posts: 16
Thanks: 0
Thanked 0 Times in 0 Posts
Default Disconnecting web report connection

I'm using the CrystalReports Classes to view a report, somthing like this:

CrystalDecisions.CrystalReports.Engine.ReportDocum ent reportDocument1 = new ReportDocument();

CrystalDecisions.Web.CrystalReportViewer reportViewer = new CrystalDecisions.Web.CrystalReportViewer();



reportViewer.ReportSource = reportDocument1;









catch {}

The thing is, that each time I view a Report, it opens a connection to my database on my Unix machine but doesn't release it.

From the looks of things Crystal is maintaining the connection and isn't issuing a 'decisive' disconnect. Is there a configurable connection timeout or an explicit disconnect method I can code?

Similar Threads
Thread Thread Starter Forum Replies Last Post
CRYSTAL REPORT 9 Changing Connection Properties aquiintac VB Components 0 November 6th, 2007 05:17 AM
vb connection with crystal report freeska Pro VB 6 2 September 19th, 2007 10:30 PM
Database Connection with Web.Config RPG SEARCH Classic ASP Databases 7 July 26th, 2004 06:10 PM
Crystal Report Database Connection winnie1778 Crystal Reports 2 October 15th, 2003 07:50 PM
How to load a Web Server report into a Report Doc dshadle Crystal Reports 3 September 30th, 2003 03:47 PM

Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.