This metabase property specifies whether IIS will check the threading model of any components that your application instantiates.
Important It is usually best to leave this metabase property set to its default value (FALSE), so that ASP will not use system resources to track the threading model. and your ASP application will usually provide 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 will generate an error when you try to instantiate the component. For more information about this topic, see Building Components for ASP.
Tip Another reason to leave this property at its default setting (FALSE), is that any objects instantiated in your ASP application that lack the OnStartPage or OnEndPage method will be released earlier than they would be otherwise. This should improve your application's scalability.
For more details on improving performance, see Developing Scalable ASP Applications.
Note In IIS 4.0, the default for this metabase property was TRUE.
The Web service setting for this property is applicable to all in-process and pooled out-of-process application nodes, at all levels. Metabase settings at the Web server level or lower will be ignored for in-process and pooled out-of-process applications. However, settings at the Web server level or lower will be used if that node is an isolated out-of-process application.
Data type | Boolean |
Default value | FALSE |
Inheritance | Inheritable |
This property is accessible at the following locations:
Metabase Path | Key Type |
/LM/W3SVC | IIsWebService |
/LM/W3SVC/N | IIsWebServer |
/LM/W3SVC/N/ROOT | IIsWebVirtualDir |
/LM/W3SVC/N/ROOT/WebVirtualDir | IIsWebVirtualDir |
/LM/W3SVC/N/ROOT/WebVirtualDir/WebDirectory | IIsWebDirectory |
The following table lists additional information required only for code that uses the IIS Admin Base Object.
Metabase identifier | MD_ASP_TRACKTHREADINGMODEL |
Data type | DWORD_METADATA |
User type | ASP_MD_UT_APP |