Microsoft KB Archive/195956

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

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".

<div class="cause_section">

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.

<div class="resolution_section">

RESOLUTION
To resolve this problem, follow these steps: <ol>  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: <pre class="fixed_text">  c:\winnt\system32\inetsrv\adminsamples> adsutil GET w3svc/ WAMUserName

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

WAMUserPass                   : (String) "Password" </li> Stop the World Wide Web Publishing Service by using the net stop iisadmin /y command. This will stop all services running under IISAdmin.</li> 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.</li>  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: <pre class="fixed_text">     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. </li> 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.</li> In the Properties dialog box, select the Run in separate memory space check box and click OK.</li></ol>

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

<div class="workaround_section">

WORKAROUND
<div class="moreinformation_section">

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

-

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

© Microsoft Corporation. All rights reserved.