The information in this article applies to:
SYMPTOMS
When storing the Scripting.Dictionary object in an Application variable the
following error occurs:
CAUSEThe Dictionary object's threading model is incorrectly set to "Both" in the registry when Internet Information Server (IIS) 4.0 is initially installed. This is documented in the IIS documentation, which also includes instructions to update the ThreadingModel registry key. When Visual Studio 6.0 is installed it updates/corrects the threading model of the Dictionary object, setting it to "Apartment." RESOLUTION
To work around this problem, create all global Scripting.Dictionary objects
with a session scope as follows:
STATUSThis behavior is by design. REFERENCES
Please refer to the following Windows NT 4.0 Option Pack Product
Documentation for Scope and Threading guidelines:
Please refer to the following Windows NT 4.0 Option Pack Release Notes for information on the Scripting.Dictionary object registry key:
Keywords : kbASPObj kbVisID600 kbGrpASP |
Last Reviewed: May 4, 1999 © 2000 Microsoft Corporation. All rights reserved. Terms of Use. |