FIX: ASP 115 Error Occur With The Session Object

Last reviewed: March 10, 1998
Article ID: Q177036
The information in this article applies to:
  • Microsoft Active Server Pages version 1.0b

SYMPTOMS

In Active Server Pages ASP 115 errors may occur when values are stored in the session object variables such as "Session("lngCustomerMasterID")=52999." The following error page appears:

   error 'ASP 0115'
   Unexpected error

  /<vroot>/<page>

   A trappable error occurred in an external object. The script cannot
   continue running.

CAUSE

The session object was attempting to free Variant data because the Variant data type was not set correctly.

Variant data types are used to store values in the session object since a variant can be used to represent a wide variety of data types from data to object pointers. When a variant is used to store a value, the data type field must be set in the variant structure so the Variant APIs know how to handle the data. For example an integer would have a different data type setting than an object pointer, so the VariantClear API would know to set the data to 0 instead of free an object pointer.

RESOLUTION

To resolve this problem, obtain the following fix (Asp-sesfix.exe) or wait for the next Microsoft Windows NT Server version 4.0 Service Pack.

The fix should have the following timestamp:

   12/9/97   2:15PM              Version 1.24.09 (i386)
   12/9/97   2:58PM              Version 1.24.09 (Alpha)

This hotfix has been posted to the following Internet location:

   ftp://ftp.microsoft.com/bussys/iis/iis-public/fixes/usa/asp/
   asp-sesfix

NOTE: The above link is one path; it has been wrapped for readability.

NOTE: Internet Information Server 3.0, included with Windows NT Server Service Pack 3, must be applied to Windows NT 4.0 prior to applying this fix. The new version of the Asp.dll file must be registered using the following command: "Regsvr32.exe Asp.dll."

STATUS

Microsoft has confirmed this to be a problem in Microsoft Active Server Pages version 1.0b. A supported fix is now available, but has not been fully regression tested and should be applied only to systems experiencing this specific problem. Unless you are severely impacted by this specific problem, Microsoft recommends that you wait for the next Service Pack that contains this fix. Contact Microsoft Technical Support for more information.

REFERENCES

For the latest Knowledge Base articles and other support information on Visual InterDev and Active Server Pages, please see the following pages on the Microsoft Technical Support site:

   http://support.microsoft.com/support/vinterdev/default.asp

   http://support.microsoft.com/support/iis/default.asp

   http://support.microsoft.com/Support/activeserver/default.asp


Additional query words: asp
Keywords : AXSFMisc
Technology : kbInetDev
Version : WINNT: 1.0b
Platform : winnt
Hardware : ALPHA x86
Issue type : kbbug
Solution Type : kbfix


THE INFORMATION PROVIDED IN THE MICROSOFT KNOWLEDGE BASE IS PROVIDED "AS IS" WITHOUT WARRANTY OF ANY KIND. MICROSOFT DISCLAIMS ALL WARRANTIES, EITHER EXPRESS OR IMPLIED, INCLUDING THE WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. IN NO EVENT SHALL MICROSOFT CORPORATION OR ITS SUPPLIERS BE LIABLE FOR ANY DAMAGES WHATSOEVER INCLUDING DIRECT, INDIRECT, INCIDENTAL, CONSEQUENTIAL, LOSS OF BUSINESS PROFITS OR SPECIAL DAMAGES, EVEN IF MICROSOFT CORPORATION OR ITS SUPPLIERS HAVE BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES. SOME STATES DO NOT ALLOW THE EXCLUSION OR LIMITATION OF LIABILITY FOR CONSEQUENTIAL OR INCIDENTAL DAMAGES SO THE FOREGOING LIMITATION MAY NOT APPLY.

Last reviewed: March 10, 1998
© 1998 Microsoft Corporation. All rights reserved. Terms of Use.