Click here to Skip to main content
15,889,116 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
We have a VB.net application using both ADO.net and ADODB connections(both connecting to MS SQl server)
Whenever an ADO.net connection throws an expection, we cleared the pools
Now if any ADO.connection reopened and everything works fine
Is there any way to clear pools for ADODB connection?
Posted

1 solution

Hi srikrishnathanthri,

try adding "pooling=false;" in your connection string, this makes the connection clear the pool after the connection is closed.

Hope it helps you.

Happy Coding :)

Sunny K
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900