Help and Support
 

powered byLive Search

FIX: ASP 0115 Error Occurs With the Session Object Under IIS 3

Article ID:177036
Last Review:May 2, 2006
Revision:3.0
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.

Back to the top

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.

Back to the top

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.

Back to the top

STATUS

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

Back to the top

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

Back to the top

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)

Back to the top


APPLIES TO
Microsoft Active Server Pages 4.0
Microsoft Internet Information Server 3.0

Back to the top

Keywords: 
kbhotfixserver kbqfe kbaspobj kbbug kberrmsg kbfix KB177036

Back to the top

Article Translations

 

Other Support Options

  • Need More Help?
    Contact a Support professional by Email, Online or Phone.
  • Customer Service
    For non-technical assistance with product purchases, subscriptions, online services, events, training courses, corporate sales, piracy issues, and more.
  • Newsgroups
    Pose a question to other users. Discussion groups and Forums about specific Microsoft products, technologies, and services.