Server.CreateObject() for a WSC Component in ASP Pages Does Not Work in Windows XP (321276)



The information in this article applies to:

  • Microsoft Internet Explorer (Programming) 6.0, when used with:
    • the operating system: Microsoft Windows XP

This article was previously published under Q321276

SYMPTOMS

If you open an ASP page that calls Server.CreateObject to create a Windows Script Component (WSC) object in Internet Explorer 6 on Microsoft Windows XP, you may receive the following error message:
HTTP 500.100 - Internal Server Error - ASP error
Internet Information Services

Error Type: Server object, ASP 0177 (0x8007000E) Ran out of memory
This problem occurs after a random period of time. This problem does not occur in Microsoft Windows 2000.

CAUSE

The WSC runtime (Scrobj.dll) relies on monikers (Urlmon.dll) to load WSC files. When they are used in ASP pages, WSC files are frequently loaded and unloaded (this includes Urlmon.dll). The problem occurs after Urlmon.dll has been loaded and unloaded several times.

RESOLUTION

To resolve this problem, obtain the latest service pack for Internet Explorer 6. For additional information, click the following article number to view the article in the Microsoft Knowledge Base:

328548 How to Obtain the Latest Internet Explorer 6 Service Pack

STATUS

Microsoft has confirmed that this is a problem in Microsoft Internet Explorer 6 for Windows XP. This problem was first corrected in Internet Explorer 6 Service Pack 1.

Modification Type:MinorLast Reviewed:4/4/2005
Keywords:kbbug kbfix kbIE600preSP1fix kbIE600sp1fix KB321276