You experience issues when you host a Web application that contains lots of ASP files in IIS

Article translations Article translations
Article ID: 954756 - View products that this article applies to.
Expand all | Collapse all

On This Page

SYMPTOMS

You experience the following symptoms when you host a Web application that contains lots of Active Server Pages (ASP) files in Internet Information Services (IIS):
  • When a client computer requests an ASP file, the user receives an error message that resembles the following:
    Server Error 500: Unable to create new sessions.
    Additionally, you may have to reset IIS to bring the site back online.
  • The following event is logged in the Application log on the IIS Web server:

    Event Type: Warning
    Event Source: COM+
    Event Category: Activation
    Event ID: 4238
    Date: Date
    Time: Time
    User: N/A
    Computer: ComputerName
    Description: COM+ has determined that your machine is running very low on available memory. In order to ensure proper system behavior, the activation of the component has been refused.
    If this problem continues, either install more memory or increase the size of your paging file.
    Memory statistics are:
    dwMemoryLoad = 98
    dwTotalPhys = 536358912
    dwAvailPhys = 9453568
    dwTotalPageFile = 1945448448
    dwAvailPageFile = 48668672
    dwTotalVirtual = 2147352576
    dwAvailVirtual = 405975040
    Server Application ID: {3D14228D-FBE1-11D0-995D-00C04FD919C1}
    Server Application Name: IIS Out-Of-Process Pooled Applications

  • The memory dump file on the IIS Web server may display increased memory utilizaton by the ASP Template Cache because of the number of ASP files and include files that are cached.
  • You also cannot access static content (HTML pages) that are hosted on the Web server.

RESOLUTION

To resolve this issue, use one of the following methods.

Method 1

Reduce the number of cached ASP pages. The size of the ASP template cache increases significantly when additional ASP files and a potentially large number of include files are added to the cache. You can reduce the size of the ASP template cache by configuring the AspScriptFileCacheSize property in the Metabase.xml file.

For more information about how to configure the AspScriptFileCacheSize property, click the following article number to view the article in the Microsoft Knowledge Base:
914156 When you host a Web application that is mainly composed of ASP files in Internet Information Services, you notice slow performance, or you receive error messages

Method 2

Reduce the size of the ASP templates by limiting the number of include files for a given page.

Method 3

Upgrade to Microsoft ASP.NET. You can implement caching of objects more efficiently in ASP.NET by using Fragment Caching to cache user controls.

MORE INFORMATION

For more information about how to optimize ASP applications, visit the following Microsoft Web site:
http://msdn.microsoft.com/en-us/library/ms972335.aspx

Properties

Article ID: 954756 - Last Review: June 27, 2008 - Revision: 1.0
APPLIES TO
  • Microsoft Internet Information Services 7.0
  • Microsoft Internet Information Services 6.0
  • Microsoft Internet Information Services 5.1
  • Microsoft Internet Information Services 5.0
Keywords: 
kbevent kbexpertiseadvanced kberrmsg kbtshoot kbprb KB954756

Give Feedback

 

Contact us for more help

Contact us for more help
Connect with Answer Desk for expert help.
Get more support from smallbusiness.support.microsoft.com