Microsoft KB Archive/182059

= Cache ISAPI Application Option Causes ASP to Return Error =

Article ID: 182059

Article Last Modified on 6/12/2007

-

APPLIES TO


 * Microsoft Internet Information Server 4.0
 * Microsoft Internet Information Services 5.0

-



This article was previously published under Q182059



SYMPTOMS
It is possible to configure the way that Microsoft Internet Information Services (IIS) caches Internet Server Application Programming Interface (ISAPI) applications. Changing the default selection from caching ISAPI application to not caching ISAPI application causes IIS to return the following error to the browser when an Active Server Page (ASP) is executed on the server:

The requested resource is in use



CAUSE
This setting can be changed from the Web Site properties by selecting Configuration on the Home Directory tab. In Application Mappings there is a checkbox for the Cache ISAPI Applications option. Changing this selection modifies the default behavior of IIS. This option is for non-production testing only.

If the Cache ISAPI Applications option is deselected, IIS does not cache ISAPI applications. All ISAPI applications are loaded and unloaded from IIS memory immediately after the ISAPI application is executed on the server, including ASP. ASP sets up application and session state object and variable that must be gracefully unloaded from memory. ASP returns the error when it is being unloaded from memory and an ASP page is attempting to execute. When ASP is loaded and unloaded from memory, an event is logged in the Windows NT Application event log. Event ID of Event 3 "Service started" and Event 4 "Service stopped" will be logged every time ASP is loaded or unloaded from memory.



MORE INFORMATION
This behavior is by design. Microsoft welcomes suggestions or comments about changes in functionality and product design.

Keywords: kbbug kbpending KB182059

-

[mailto:TECHNET@MICROSOFT.COM Send feedback to Microsoft]

© Microsoft Corporation. All rights reserved.