>When I'm instantiating business objects on an ASP Page how can I get the ASP to release the object as soon as the script is complete? Or do I have to configure IIS to release the object sooner then the default 20 minutes?
As Philip said, you can set the variable to Nothing to make it explicitly go out of scope. Actually, when the ASP page finishes processing the variable implicitly goes out so you don't really have to do anything.
However, IIS caches COM objects for performance reasons in case it needs to instantiate the server again (another access to the same ASP page). IN order to make IIS release the COM server, you need to stop the IISADMIN process.
net stop iisadmin
This will also stop the web, ftp, smtp, etc. services. You need to start them again afterward. You can do this at the command prompt or an easier way is to go to Control Panel - Services and start them there.
Larry Miller
MCSD
LWMiller3@verizon.netAccumulate learning by study, understand what you learn by questioning. -- Mingjiao