This only applies to sites or applications that are running in-process. This is the default in IIS 4. In IIS 5, the default is pooled out-of-process.
- Configure the IIS site or application to run in a separate process.
For IIS 4: Open Properties for the Web site or virtual directory application, and click the Home Directory tab. Select Run in separate memory space (isolated process), and then click ok.
For IIS 5: Open Properties for the Web site or virtual directory application, and then click the Home Directory tab. From the Application Protection dropdown list, choose either Medium (pooled) or High (isolated). For more information on these settings, see the IIS Help.
If you want to continue to use the wshell object in an isolated Web application, you must set some registry keys.
For additional information, click the article number below to view the article in the Microsoft Knowledge Base:221081 HOWTO: Use Windows Script Host Scripts as CGI Scripts
- Unregister the wshell object.
To do this, execute the following from a command line:regsvr32 -u <path>\Wshom.ocxThe <path> is usually %SYSTEMROOT%\System32
Artikelnummer: 278319 – Letzte Überarbeitung: 19.06.2014 – Revision: 1