AspTrackThreadingModel Metabase Property (IIS 6.0)
The AspTrackThreadingModel property specifies whether IIS checks the threading model of any components that your application creates.
This metabase property is usually best left at the default value (false), so that ASP will not use system resources to track the threading model and your ASP application provides the best possible performance. If this property is set to false, and you give application scope to components that you create, those components must aggregate the free-threaded marshaler. If you do not aggregate the free-threaded marshaler, ASP generates an error when you try to create an instance of the component. For more information about this topic, see the "Building Components for ASP" section in the Platform SDK.
Another reason to leave this property at the default setting (false), is that any objects that are created in your ASP application without the OnStartPage or OnEndPage method are released earlier than they would be otherwise and there is degradation of your application's scalability. For more details about improving performance, see Performance Tuning.
In IIS 4.0, the default value for this property was true.
Setting this property at the IIsWebService level applies to all in-process and pooled out-of-process application keys, at all levels. Metabase settings at the IIsWebServer level or lower are ignored for in-process and pooled out-of-process applications. However, settings at the IIsWebServer level or lower are used if that key is an isolated out-of-process application.
You can configure this property at the following locations in the IIS metabase.
For general code examples, see Code Examples to Configure Metabase Properties.