Connection leak problem
67070May 23 2003 — edited Jun 6 2006Oracle client 9.2.0.2
Oracle ODP.NET 9.2.0.2.102
.NET framework SP2
I've got a connection leak problem with my Web site. Even if I close and dispose my connections, they "get stuck" in the connection pool (stays INACTIVE in then connection pool). The only way I find to release them is to kill the aspnet_wp.exe and dllhosts.exe process. I try to use de "Connection Lifetime" attribute of the connectionstring but it doesn't work. It brings up another bug, I if kill the oracle session related to those connections, they doesn't disappear from the connection pool so when I try to execute a query on my database, I get a "End of file on communication channel" error. It seems that the connections aren't "refreshed" and properly released by the Oracle ODP.NET driver and the connection pool. We were using Oracle OLEDB provider before and this problem does not exist with this driver. I've read the article Q330126 from Microsoft related with the same bug with their native driver for Oracle but Oracle does not seem to have the same fix. Does anybody have a idea ???
Thanks