다음을 통해 공유


AspAppServiceFlags

The AspAppServiceFlags property 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 in the Help that comes with IIS Manager. Set this property at the application level.

This property is an application-level property.

Schema Attributes

Attribute Name

Value

ADSI/WMI Data Type

DWORD

ABO Data Type

DWORD_METADATA

Schema Default

0

Internal Default

0

Upper Bound

Not specified

Lower Bound

Not specified

Internal ID

7044

Friendly ID

MD_ASP_SERVICE_FLAGS

Property Attributes

INHERIT

User Type

ASP_MD_UT_APP

Configurable Locations

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

Metabase Path

IIS Admin Object Type

/LM/W3SVC

IIsWebService

/LM/W3SVC/n

IIsWebServer

/LM/W3SVC/n/ROOT/physical_directory_name

/LM/W3SVC/n/virtual_directory_name/physical_directory_name

IIsWebDirectory

/LM/W3SVC/n/ROOT

/LM/W3SVC/n/ROOT/virtual_directory_name

IIsWebVirtualDir

Flags

Flag Name

AspEnableSxs

Versions Applicable

[IIS 6.0]

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 MDAC, MFS, MSVCRT, MSXML, and so on. For more information, see the COM+ Software Developer Kit (SDK) and see Configuring Applications to Use COM+ Services in the Help that comes with IIS Manager.

Bitmask

2 (hex 0x00000002)

Friendly Bitmask ID

MD_ASP_SERVICE_FLAG_FUSION

Internal ID

7046

Flag Name

AspEnableTracker

Versions Applicable

[IIS 6.0]

Description

A value of true enables COM+ tracker, which allows administrators or developers to debug ASP applications. For more information, see the COM+ Software Developer Kit (SDK) and see Configuring Applications to Use COM+ Services in the Help that comes with IIS Manager.

Bitmask

1 (hex 0x00000001)

Friendly Bitmask ID

MD_ASP_SERVICE_FLAG_TRACKER

Internal ID

7045

Flag Name

AspUsePartition

Versions Applicable

[IIS 6.0]

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 in the Help that comes with IIS Manager.

Bitmask

4 (hex 0x00000004)

Friendly Bitmask ID

MD_ASP_SERVICE_FLAG_PARTITIONS

Internal ID

7047

Requirements

Server: Requires or Windows Server 2003.

Product: IIS

See Also