The information in this article applies to:
SYMPTOMSUnder certain circumstances, you may see a Genereral Protection Fault (GPF) when a session expires, or when Microsoft Internet Information Server is shut down. CAUSEThis error is caused by a reference counting problem in Active Server Pages (ASP, which can occur if you attempt store an array containing objects in a Session variable. Consider the code example below:
When the session ends, or is terminated by an Internet Information Server
shutdown, the object pointer is released. In addition, VariantClear() is
called on the Variant containing the array "Arr". This results in a second
attempt to release the object pointer stored in "Arr", and thus a GPF.
RESOLUTIONThe best workaround for this problem is to avoid storing arrays of objects in Session variables. STATUSMicrosoft has confirmed this to be a bug in the Microsoft products listed
at the beginning of this article. MORE INFORMATIONSteps to Reproduce BehaviorThe following ASP page may cause the described error to occur when IIS is shut down or the session expires.PAGE1.ASP
REFERENCESFor the latest Knowledge Base articles and other support information on Visual InterDev and Active Server Pages, see the following page on the Microsoft Technical Support site: http://support.microsoft.com/support/vinterdev/ Additional query words:
Keywords : kbASP kbASPObj kbWinOS2000fix kbWebServer kbGrpASP kbiis400bug kbiis500fix |
Last Reviewed: December 8, 1999 © 2000 Microsoft Corporation. All rights reserved. Terms of Use. |