Microsoft Knowledge Base Article
This article contents is Microsoft Copyrighted material.
©2005-©2007 Microsoft Corporation. All rights reserved.
Terms
of Use |
Trademarks
Article ID: 177036 - Last Review: May 2, 2006 - Revision: 3.0
FIX: ASP 0115 Error Occurs With the Session Object Under IIS 3
This article was previously published under Q177036
On a machine running IIS 3, 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.
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.
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.
Microsoft has confirmed this to be a problem in Microsoft Active
Server Pages version 1.0b.
To resolve this problem under IIS 3, obtain the following fix (Asp-
sesfix.exe) or wait for the next Microsoft Windows NT Server version 4.0
Service Pack. Note that the fix is only intended for IIS 3.0 and installing
on a machine running IIS 4.0 will cause problems.
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:
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."
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:
APPLIES TO
- Microsoft Active Server Pages 4.0
- Microsoft Internet Information Server 3.0
| kbhotfixserver kbqfe kbaspobj kbbug kberrmsg kbfix KB177036 |
Retired KB Content DisclaimerThis article was written about products for which Microsoft no longer offers support. Therefore, this article is offered "as is" and will no longer be updated.
Community Feedback System
Very often, it takes hours to solve a problem. Very often, you've looked high
and low, and have tried a lot of solutions. When you finally found it, chances
are, it was because someone else helped you. Here's your chance to give back.
Use our community feedback tool to let others know what worked for you and what
didn't.
Please also understand that the community feedback system is not warranted to be
correct, it's simply a system that we've built to let people try and help each
other. If something in a feedback response doesn't make sense to you, or you're
not comfortable making changes that the feedback talks about (like registry
edits), please consult a professional.
Thank you for using kbAlertz.com Feedback System.
-- Scott Cate