Re: ASP 3.0 not releasing objects to pool (Windows 2003 Server)

Tech-Archive recommends: Fix windows errors by optimizing your registry



"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/


.



Relevant Pages

  • Re: Should we stay with M$
    ... Windows, and not on Linux. ... MS has a poor track record, has done since People started 'targetting' ... Apache does not have support for full-blown ASP ...
    (RedHat)
  • RE: ASP, Wscript.Shell on a Windows 2003 Server Web Edition
    ... could have something to do with a different set of server environment/account ... > In this group we typically deal with issues related to migrating Windows ... > migrate the current ASP code to this new environment. ... > In one of the ASP pages, a scheduled task is set up via Wscript.Shell ...
    (microsoft.public.windows.server.migration)
  • Re: Windows CE webserver with ASP <--> C++ application
    ... object that supports the IDispatch interface. ... that runs in ASP as well as a set of ASP pages that make use of it in the ... since the process will be very similiar for Windows CE and the ... © 2003 Microsoft Corporation. ...
    (microsoft.public.windowsce.embedded)
  • IIS doesnt display ASP pages, COM+ damaged
    ... Original post: ... I have a problem with ASP Pages not working on my Windows XP ... Component services, open up the node for Component services and click ...
    (microsoft.public.windowsxp.general)
  • Re: Looking for e-commerce recommendations
    ... I would generally stay with .asp on a windows server unless there was a PHP ...
    (microsoft.public.frontpage.programming)