Microsoft KB Archive/888186

= A Web site does not appear in the IIS Server list when you create an IIS Server Instance on a Windows 2000 server cluster =

Article ID: 888186

Article Last Modified on 10/30/2006

-

APPLIES TO


 * Microsoft Windows 2000 Advanced Server

-





SYMPTOMS
If you try to create a Microsoft Internet Information Services (IIS) Server Instance resource on a Microsoft Windows 2000-based server cluster, the Web site that you created does not appear in the IIS Server list of the Parameters dialog box. However, if you try to stop or try to start the Web site by using the Internet Information Services Microsoft Management Console (MMC) snap-in, you receive the following error message:

You must use Cluster Administrator to start or stop this item.

Therefore, you cannot manage the Web site.



CAUSE
This issue occurs if the metabase determines that this Web site is managed by the Cluster service. A managed Web site does not appear in the IIS Server list when you configure a new IIS Server Instance resource.



RESOLUTION
To resolve this issue, configure the Web site so that it is no longer managed by the Cluster Service. To do this, follow these steps:

Step 1: Determine the instance number of the affected Web site
To determine the instance number of the affected Web site, follow these steps:  Click Start, click Run, type cmd, and then click OK. Change to the Inetpub\Adminscripts folder. To do this, type cd \inetpub\adminscripts, and then press ENTER. Type cscript adsutil.vbs enum w3svc/1, and then press ENTER. View the information that is returned to determine the name of the Web site. For example, information that is similar to the following is returned:

Microsoft (R) Windows Script Host Version 5.1 for Windows Copyright (C) Microsoft Corporation 1996-1999. All rights reserved.

KeyType            : (STRING) &quot;IIsWebServer&quot; ServerState        : (INTEGER) 2 ServerComment          : (STRING) &quot;Default Web Site&quot;

Note that this example shows the default Web site. Follow steps 3 and 4 to determine the instance number of the Web site that you experience this problem with. To do this, increment the instance number that appears after w3svc/ in the Adsutil command by one every time that you run the command. For example, the second time that you run this command, type cscript adsutil.vbs enum w3svc/2, and then press ENTER.</ol>

Step 2: Set the ClusterEnabled property of the affected Web site to False
After you determine the correct instance number of the Web site that you experience this problem with, set the Web site properties so that this Web site is not managed by the cluster. To do this, set the ClusterEnabled property to False. To do this, follow these steps:
 * 1) Click Start, click Run, type cmd, and then click OK.
 * 2) Change to the Inetpub\adminscripts directory. To do this, type cd\inetpub\adminscripts, and then press ENTER.
 * 3) Type cscript adsutil.vbs set w3svc/ /ClusterEnabled false, and then press ENTER. For example, if you experience this issue with the Web site instance 2, type cscript adsutil.vbs set w3svc/2/ClusterEnabled false , and then press ENTER.

Step 3: Restart Internet Information Services
Restart Internet Information Services to cause these settings to take effect. To do this, follow these steps:
 * 1) Click Start, click Run, type cmd, and then click OK.
 * 2) Type iisreset, and then press ENTER.

<div class="moreinformation_section">

MORE INFORMATION
Even if the Web site does not appear in the IIS Server list when you try to create a new IIS Server Instance resource, you can still create the IIS Server Instance by using command-line commands. To do this, follow these steps:
 * 1) Click Start, click Run, type cmd, and then click OK.
 * 2) View the existing cluster resources. To do this, type cluster res, and then press ENTER.
 * 3) Create a new IIS Server Instance resource. To do this, type cluster res   /create /group:&quot; &quot; /type:&quot;IIS Server Instance&quot;, and then press ENTER. For example, to create a resource that is named WWWcluster in the group that is named Disk Group 1, type cluster res WWWcluster /create /group:&quot;Disk Group 1&quot; /type:&quot;IIS Server Instance&quot; , and then press ENTER.

Note The new cluster resource is created in an offline state.
 * 1) Configure a resource dependency to the IP address resource for your Web site. To do this, type cluster res   /adddep:&quot; &quot;, and then press ENTER. For example, to configure a resource dependency to an IP Address resource that is named WWWip, type cluster res   /adddep:&quot;wwwip&quot; , and then press ENTER.

Note This IP Address resource must be in the same group that you created your IIS Server Instance resource in.
 * 1) Configure the correct instance ID for the IIS Server Instance resource. To do this, type cluster res   /priv instanceId=, and then press ENTER. For additional information about how to determine the Web site instance number, see the &quot;Resolution&quot; section.
 * 2) Configure the service name for the IIS Server Instance resource. To do this, type cluster res   /priv ServiceName=nullvalue, and then press ENTER.

The new resource is configured. You can manage this new resource by using the Cluster Administrator program.

Note The IIS Server Instance resource stores the information about the Web site that it manages in the following registry subkey:

Additional query words: mscs

Keywords: kbtshoot kbprb kbclustering KB888186

-

[mailto:TECHNET@MICROSOFT.COM Send feedback to Microsoft]

© Microsoft Corporation. All rights reserved.