Re: ASP 3.0 not releasing objects to pool (Windows 2003 Server)
- From: "Egil Hogholt" <EgilH@xxxxxxxxxxxxxxxxxxxxxxxxx>
- Date: Fri, 3 Aug 2007 16:12:12 +0200
"jmzl666" <jmzl666@xxxxxxxxx> wrote in message news:1185924271.432749.273520@xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
Hi all, i have a COM+ component that works great from ASP.NET but in
ASP the objects are not released in Windows 2003, the same code runs
ok on my testing machine (Windows XP), I'm using the framework version
1.1.4322.573, every time i create an object the activated column in
the component services snap in adds one, but it never release it, here
is the code of my component.
Try to add this in your finally block:
ContextUtil.DeactivateOnReturn = true; ContextUtil.SetComplete();
Cheers,
Egil
http://www.egilh.com/
.
- References:
- Prev by Date: ASP 3.0 not releasing objects to pool (Windows 2003 Server)
- Next by Date: Serviced Components & Role-Based Security
- Previous by thread: ASP 3.0 not releasing objects to pool (Windows 2003 Server)
- Next by thread: Serviced Components & Role-Based Security
- Index(es):
Relevant Pages
|