Microsoft KB Archive/195956

From BetaArchive Wiki

Article ID: 195956

Article Last Modified on 7/8/2005



APPLIES TO

  • Microsoft Active Server Pages 4.0, when used with:
    • Microsoft Windows NT Server 4.0 Standard Edition
    • Microsoft Windows NT Workstation 4.0 Developer Edition
  • Microsoft Internet Information Server 4.0



This article was previously published under Q195956

SYMPTOMS

When you try to set up a Web application to run in a separate process in the Internet Service Manager Microsoft Management Console (MMC), the application disappears. If you look in the Microsoft Transaction Server (MTS) Explorer, the package created for your application has the Identity set to run as user "Y".

CAUSE

This behavior is by design. The IWAM account is not being synchronized. The password specified for the IWAM_ComputerName account (or a different account that the user specifies) in the metabase (the Microsoft Internet Information Server [IIS] 4.0 registry) is different from the password that is set for that same account in the User Manager for Domains.

RESOLUTION

To resolve this problem, follow these steps:

  1. Use a GET command to find out what account is being used for the Web Application Manager (WAM) in the metabase (the IIS 4.0 registry). Therefore, an example of http:\\webserver1 would be as follows:

       c:\winnt\system32\inetsrv\adminsamples> adsutil GET w3svc/ 
       WAMUserName
    
       WAMUserName                    : (String) "IWAM_WebServer1"
                        
  2. Reset the password for this account in User Manager for Domains:
    1. Open User Manager for Domains by clicking Start and selecting Run. Then type: usrmgr <servername> (for example, usrmgr webserver1).
    2. Locate the account determined in step 1 (usually IWAM_<servername>) and double-click it.
    3. Type a new password (of your choice) in both the Password and Confirm Password fields. For this example, the password is "Password".
  3. Set the new password in the metabase. From a command prompt type the following:

          c:\winnt\system32\inetsrv\adminsamples> adsutil SET w3svc/ 
          WAMUserPass Password
    
          WAMUserPass                    : (String) "Password"
                        
  4. Stop the World Wide Web Publishing Service by using the net stop iisadmin /y command. This will stop all services running under IISAdmin.
  5. Start the World Wide Web Publishing Service by using the net start w3svc command. You can also start the other services that run under IISAdmin by using the Internet Service Manager.
  6. Remove the package that was created during the first attempt to set the Application Root to run in a separate memory space. Open MMC, and from the Microsoft Transaction Server menu, click Computers, click My Computer, and then click Packages Installed. Select the package from the list, which should look like the following example:

          IIS-{Default Web Site//Root/YourWebSite}
    
                            

    Right-click on the package, click Properties, click Advanced, and clear the Disable deletion check box. Click OK, and then click OK in the warning dialog box that appears. Right-click on your Web site Package, and click Delete.

  7. In the MMC, under the Internet Information Server menu, click My Computer (name), click Default Web Site, and select <YourWebSiteName>. Right-click <YourWebSiteName>, and click Properties. In the Properties dialog box, click the Virtual Directory (or Directory) tab. In the Application Settings window, create your application again by clicking Create.
  8. In the Properties dialog box, select the Run in separate memory space check box and click OK.

RESULT: Your Application does not disappear and the Identity of your MTS Package is now set to "IWAM_Machinename."

WORKAROUND

MORE INFORMATION

Steps to Reproduce Behavior

  1. Open User Manager for Domains and reset the password for IWAM_machinename to something different.
  2. Open the Internet Service Manager MMC. From the Internet Information Server menu, click My Computer (name), and click Default Web Site. From the list, select an application that is not set to run out of process yet.
  3. Right-click your selection, click Properties, and click the Virtual Directory (or Directory) tab. Select the Run in separate memory space check box in the Application Settings window.
  4. Click OK.

RESULT: The Application Settings for Web site have disappeared. You will see a little yellow folder icon instead of the little blue package icon. The MTS Package identity has been set to run as user "Y".


For additional information, click the article number below to view the article in the Microsoft Knowledge Base:

296851 PRB: Error 'User Password/Validation Failed' When You Set IIS 5.0 Application to High (Isolated)


Keywords: kbsysadmin kbsecurity kbprb kbmetabase kbpending KB195956