Microsoft Knowledge Base Email Alertz

(177036) - 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...

Search KbAlertz

Advanced Search

Receive Microsoft Knowledge Base articles by E-Mail?

Every night we scan the Microsoft Knowledge Base. If technologies you're interested in are updated, we'll send you an e-mail. You only get one e-mail a day, and only when new articles are added.

Click here to create a
FREE account
Already have an account?
[Click here to Login]











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

SYMPTOMS

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.

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

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.

STATUS

Microsoft has confirmed this to be a problem in Microsoft Active Server Pages version 1.0b.

MORE INFORMATION

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:
ftp://ftp.microsoft.com/bussys/iis/iis-public/fixes/usa/asp/asp-sesfix (ftp://ftp.microsoft.com/bussys/iis/iis-public/fixes/usa/asp/)

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."

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/search/default.aspx?qu=vinterdev (http://support.microsoft.com/search/default.aspx?qu=vinterdev)

http://support.microsoft.com/support/iis/default.asp (http://support.microsoft.com/?scid=http%3a%2f%2fsupport.microsoft.com%2fsupport%2fiis%2fdefault.asp)

http://support.microsoft.com/Support/activeserver/default.asp (http://support.microsoft.com/?scid=http%3a%2f%2fsupport.microsoft.com%2fsupport%2factiveserver%2fdefault.asp)

APPLIES TO
  • Microsoft Active Server Pages 4.0
  • Microsoft Internet Information Server 3.0
Keywords: 
kbhotfixserver kbqfe kbaspobj kbbug kberrmsg kbfix KB177036
Retired KB ArticleRetired KB Content Disclaimer
This 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