Compartir a través de


AspAppServiceFlags Metabase Property

Applies To: Windows Server 2003, Windows Server 2003 with SP1

The AspAppServiceFlagsproperty contains the flags that must be set to enable COM+ services on your IIS applications. Once you enable the flags, you may also need to set other properties. For more information, see Configuring Applications to Use COM+ Services. Set this property at the application level.

Attribute Name Attribute Value

XML Data Type

DWORD

WMI Data Type

SINT32

ADSI Data Type

DWORD

ABO Data Type

DWORD

ABO Metabase Identifier

MD_ASP_SERVICE_FLAGS

Attributes

INHERIT

Default Value

0

MetaFlagsEx

CACHE_PROPERTY_MODIFIED

User Type

ASP_MD_UT_APP

ID

7044

Configurable Locations

You can configure this property at the following locations in the IIS metabase.

Metabase Path IIS Admin Object Type

/LM/W3SVC/n/ROOT /LM/W3SVC/n/ROOT/virtual_directory_name

IIsWebVirtualDir

/LM/W3SVC/n

IIsWebServer

/LM/W3SVC

IIsWebService

/LM/W3SVC/n/ROOT/physical_directory_name /LM/W3SVC/n/virtual_directory_name/physical_directory_name

IIsWebDirectory

Flags

Flag Name AspEnableTracker

Description

A value of true enables COM+ tracker, which allows administrators or developers to debug ASP applications. For more information, see the COM+ Software Development Kit (SDK) and see Configuring Applications to Use COM+ Services.

Metabase Bitmask Identifier

MD_ASP_SERVICE_FLAG_TRACKER

Decimal Value

1

Hexadecimal Value

0x00000001

Flag Name AspEnableSxs

Description

A value of true enables COM+ side-by-side assemblies, which allow ASP applications to specify which version of a system DLL or classic COM component to use, such as WinHTTP 5.1, Shell Common Controls version 6.0 (Comctl32.dll), GDI Plus version 1.0 (GDIplus.dll), and Visual C++ Run-time Libraries version 6.0. For more information, see the COM+ Software Development Kit (SDK) and see Configuring Applications to Use COM+ Services.

Metabase Bitmask Identifier

MD_ASP_SERVICE_FLAG_FUSION

Decimal Value

2

Hexadecimal Value

0x00000002

Flag Name AspUsePartition

Description

A value of true enables COM+ partitioning, which can be used to isolate Web applications into their own COM+ partitions. COM+ partitions can hold different versions of your own custom COM components. If you set this flag, also set the AspPartitionID Metabase Property. For more information, see Configuring Applications to Use COM+ Services.

Metabase Bitmask Identifier

MD_ASP_SERVICE_FLAG_PARTITIONS

Decimal Value

4

Hexadecimal Value

0x00000004

Code Example

For general code examples, see Code Examples to Configure Metabase Properties.