Microsoft KB Archive/226358: Difference between revisions

From BetaArchive Wiki
(importing KB archive)
 
m (Text replacement - """ to """)
 
Line 44: Line 44:
== SUMMARY ==
== SUMMARY ==


Microsoft Internet Information Services (IIS) 5.0 for Windows 2000 introduces a new metabase property named "AspEnableApplicationRestart." This is used to enable or disable the automatic restart of applications when the Global.asa file is updated.
Microsoft Internet Information Services (IIS) 5.0 for Windows 2000 introduces a new metabase property named "AspEnableApplicationRestart." This is used to enable or disable the automatic restart of applications when the Global.asa file is updated.


</div>
</div>
Line 51: Line 51:
== MORE INFORMATION ==
== MORE INFORMATION ==


'''IMPORTANT''': This article contains information about editing the metabase. Before you edit the metabase, make sure you understand how to restore it if a problem occurs. For information about how to do this, view the &quot;Configuration Backup/Restore&quot; Help topic in the Internet Services Manager Snap-In for the Microsoft Management Console (MMC).<br />
'''IMPORTANT''': This article contains information about editing the metabase. Before you edit the metabase, make sure you understand how to restore it if a problem occurs. For information about how to do this, view the "Configuration Backup/Restore" Help topic in the Internet Services Manager Snap-In for the Microsoft Management Console (MMC).<br />
<br />
<br />
'''WARNING''': Editing the metabase incorrectly can cause serious problems that may require you to reinstall your operating system. Microsoft cannot guarantee that problems resulting from incorrect editing of the metabase can be solved. Edit the metabase at your own risk.<br />
'''WARNING''': Editing the metabase incorrectly can cause serious problems that may require you to reinstall your operating system. Microsoft cannot guarantee that problems resulting from incorrect editing of the metabase can be solved. Edit the metabase at your own risk.<br />
Line 57: Line 57:
'''NOTE''': You should always back up the metabase before you edit it.<br />
'''NOTE''': You should always back up the metabase before you edit it.<br />
<br />
<br />
In IIS version 4.0 and earlier, an application is restarted each time a change is made to the Global.asa file. In IIS 5.0 this is still the default behavior; however, it can be disabled by setting the &quot;AspEnableApplicationRestart&quot; value to FALSE for an application.<br />
In IIS version 4.0 and earlier, an application is restarted each time a change is made to the Global.asa file. In IIS 5.0 this is still the default behavior; however, it can be disabled by setting the "AspEnableApplicationRestart" value to FALSE for an application.<br />
<br />
<br />
To disable or enable the automatic application restart for your default Web site, use the following steps:
To disable or enable the automatic application restart for your default Web site, use the following steps:
Line 81: Line 81:
Changes saved to the Global.asa file will restart the application.<br />
Changes saved to the Global.asa file will restart the application.<br />
<br />
<br />
'''NOTE''': Toggling the &quot;AspEnableApplicationRestart&quot; property to TRUE will restart the application.</li></ol>
'''NOTE''': Toggling the "AspEnableApplicationRestart" property to TRUE will restart the application.</li></ol>





Latest revision as of 13:43, 21 July 2020

Knowledge Base


Using the AspEnableApplicationRestart Metabase Property

Article ID: 226358

Article Last Modified on 11/21/2006



APPLIES TO

  • Microsoft Internet Information Services 5.0



This article was previously published under Q226358

SUMMARY

Microsoft Internet Information Services (IIS) 5.0 for Windows 2000 introduces a new metabase property named "AspEnableApplicationRestart." This is used to enable or disable the automatic restart of applications when the Global.asa file is updated.

MORE INFORMATION

IMPORTANT: This article contains information about editing the metabase. Before you edit the metabase, make sure you understand how to restore it if a problem occurs. For information about how to do this, view the "Configuration Backup/Restore" Help topic in the Internet Services Manager Snap-In for the Microsoft Management Console (MMC).

WARNING: Editing the metabase incorrectly can cause serious problems that may require you to reinstall your operating system. Microsoft cannot guarantee that problems resulting from incorrect editing of the metabase can be solved. Edit the metabase at your own risk.

NOTE: You should always back up the metabase before you edit it.

In IIS version 4.0 and earlier, an application is restarted each time a change is made to the Global.asa file. In IIS 5.0 this is still the default behavior; however, it can be disabled by setting the "AspEnableApplicationRestart" value to FALSE for an application.

To disable or enable the automatic application restart for your default Web site, use the following steps:

  1. Open a Command Prompt session on your server.
  2. Change to your X:\InetPub\AdminScripts folder, where X is the drive that you specified for your IIS documents.
  3. Enter one of the following commands:

    To disable application restart:

    CSCRIPT.EXE ADSUTIL.VBS SET W3SVC/1/ROOT/AspEnableApplicationRestart FALSE

    Any changes that are saved to the Global.asa file will not take effect until the application is restarted.

    To enable application restart:

    CSCRIPT.EXE ADSUTIL.VBS SET W3SVC/1/ROOT/AspEnableApplicationRestart TRUE

    Changes saved to the Global.asa file will restart the application.

    NOTE: Toggling the "AspEnableApplicationRestart" property to TRUE will restart the application.


REFERENCES

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

300672 HOW TO: Create a Metabase Backup in IIS 5


Keywords: kbhowto KB226358