This article was previously published under Q275293
This article has been archived. It is offered "as is" and will no longer be updated.
When you use Microsoft JScript to write Windows Script Components (WSC) and launch them from an Active Server Pages (ASP) page that is written in JScript, the DLLHOST process is terminated if the component throws an error on a Microsoft Windows 2000-based computer.
NOTE: This problem does not occur with script components that are written in other languages such as Microsoft Visual Basic Scripting Edition (VBScript), Microsoft Visual Basic, or Microsoft Visual C++, even though they have code that is similar to the JScript component and throw a similar error. Also, this problem does not occur if you change the scripting language from JScript to VBScript, either in the ASP page or in the component.
To resolve this problem, obtain the latest service pack for Windows 2000. For additional information, click the following article number to view the article in theMicrosoft Knowledge Base:
260910 How to Obtain the Latest Windows 2000 Service Pack
Microsoft has confirmed that this is a problem in the Microsoft products that are listed at the beginning of this article. This problem was first corrected in Windows 2000 Service Pack 2.
Steps to Reproduce Behavior
In Notepad, create a new text file named JTest.wsc, and then paste the following code: