Cannot Set AppRoot OutProc, MTS Package Identity Set to "Y"

ID: Q195956


The information in this article applies to:
  • Active Server Pages, included with:
    • Microsoft Windows NT 4.0
  • Microsoft Internet Information Server version 4.0


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 Explorer (MTS), 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_MachineName account (or a different account specified by the user) in the metabase (the Internet Information Server [IIS] 4.0 registry) is different from the password set for that same account in the User Manager for Domains.


RESOLUTION

  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. Open the User Manager for Domains, and reset the password for the account returned in step 1. 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".





Additional query words:

Keywords : kbGrpASP
Version : winnt:4.0
Platform : winnt
Issue type : kbprb


Last Reviewed: November 18, 1999
© 2000 Microsoft Corporation. All rights reserved. Terms of Use.