cancel
Showing results for 
Search instead for 
Did you mean: 

Crystal Reports , VS 2012, and Oracle Sessions

Former Member
0 Kudos

We are currently running into issues with Crystal Reports in Visual Studio 2012 while connection to Oracle. We have used the Oracle Server Connection to connect and have stayed away from OLE DB. I have upated to support pack 14 in hopes that it might help but it doesn't. Currently after we close and dispose of the reports used there are several connections that remain open for days. This is starting to cause issues. Please advise.

Accepted Solutions (1)

Accepted Solutions (1)

0 Kudos

Hi Andrew,

We've seen this recently also... the problem is most DB's have enabled Connection Pooling and CR by default does a disconnect. But due to the way Clients work now they do not send a complete disconnect so the Servers Connection pooling keeps the connection open.

I believe ODBC does disconnect and if you are using OLE DB you can add/change this property in CR Designer Set Location properties. But OLE DB does have issues with Stored Procedures.

You should see this property:

Change that value to -4 and that should tell the client to do a complete disconnect.

PS - this is an old report so do not use the MS Oracle driver, it only support Oracle 7.

Also, we did update our native Oracle driver but not sure if the fix made it into SP 14 so I pinged the Developer to get more info.

In the mean time see if there is some setting on Oracle that can disable Connection Pooling.

And try ODBC to see if that releases them....

Don

Former Member
0 Kudos

The issue was a combination of things. One, we had to close and dispose of the report properly. Two, evethough we did this we noticed connections not releasing so we went to support pack 14 and this issue seemed to go away. Thanks guys!

Answers (1)

Answers (1)

former_member183750
Active Contributor
0 Kudos

Hi Andrew

Are you closing and disposing the report objects? GS.Collect may not hurt either - after you are done with the report9s).

- Ludek

Senior Support Engineer AGS Product Support, Global Support Center Canada

Follow me on Twitter

Former Member
0 Kudos

That was part oif the issue. Thanks!