ID: Q195379
The information in this article applies to:
Running a Collaboration Data Objects (CDO) application in an Active Server Pages (ASP) page, may return the following error from the Internet Information Server (IIS) server:
ASP 0115.
This is sometimes caused by not properly closing a CDO session from within an .asp application environment.
Make sure that you close all of the currently open CDO sessions that you are using. Following are two ways to do this:
-or-
The Global.asa file provides the Application and Session objects with the location to run script for their OnStart and the OnEnd events.
The Application_OnStart event fires when an .asp page is requested from the application directory for either the first or the last IIS restart or application timeout. The Session_OnStart event fires when a new page is called that is not involved with the current active session, good for creating user specific variables and objects. The Session_OnEnd event is triggered when the Session timeout period has expired or a session is abandoned. The default timeout value is 30 minutes. The Application_OnEnd event is triggered when the last session is closed or the application is closed.
For more information about the ASP 0115 error, please see the following articles in the Microsoft Knowledge Base:
ARTICLE-ID: Q194190
TITLE : PRB: ASP 0115 a Trappable Error Has Occurred
ARTICLE-ID: Q191979
TITLE : VB Component Not Marked Apartment Produces ASP 0115 Error
Microsoft Developer Network, topic: "Global.asa Reference".
Additional query words:
Keywords : kbASP kbCDO110 kbCDO120 kbCDO121 kbMsg kbVBScript
Version : WINDOWS:1.1,1.2,1.21
Platform : WINDOWS
Issue type : kbprb
Last Reviewed: November 10, 1998