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



The information in this article applies to:

  • Microsoft Active Server Pages
  • Microsoft Internet Information Server 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.

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:

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:

Modification Type:MajorLast Reviewed:5/2/2006
Keywords:kbHotfixServer kbQFE kbASPObj kbBug kberrmsg kbfix KB177036