Microsoft Knowledge Base Email Alertz

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

Receive Microsoft Knowledge Base articles by E-Mail?

Every night we scan the Microsoft Knowledge Base. If technologies you're interested in are updated, we'll send you an e-mail. You only get one e-mail a day, and only when new articles are added.

Click here to create a
FREE account
Already have an account?
[Click here to Login]

Search KbAlertz

Advanced Search

Webmasters
Put kbAlertz on your website.
[ Click Here for more! ]





ASP.NET 3.5 Web Hosting with Windows 2008 and SQL 2008: Click Here!
Discount ASP.NET Hosting
ASP.NET 2.0 and 3.5
Windows2008 and SQL2008
US and UK Hosting
The ad says 3 - but KBAlertz referrals get
** SIX MONTHS FREE **


Bug Tracking Software
For bug tracking software or defect tracking software or issue tracking software, visit Axosoft.


Community Site



We Send hundreds of thousands of emails using ASP.NET Email



Expert Web Design & Graphic Design
Design44.com

ASP.NET 3.5 Web Hosting with Windows 2008 and SQL 2008: Click Here!
Discount ASP.NET Hosting
ASP.NET 2.0 and 3.5
Windows2008 and SQL2008
US and UK Hosting
The ad says 3 - but KBAlertz referrals get
** SIX MONTHS FREE **




Mentioned In








Microsoft Knowledge Base Article

This article contents is Microsoft Copyrighted material.
©2005-©2007 Microsoft Corporation. All rights reserved. Terms of Use | Trademarks




Article ID: 954756 - Last Review: June 27, 2008 - Revision: 1.0

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

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  (http://kbalertz.com/Feedback.aspx?kbNumber=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 (http://msdn.microsoft.com/en-us/library/ms972335.aspx)

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
       

Community Feedback System

Very often, it takes hours to solve a problem. Very often, you've looked high and low, and have tried a lot of solutions. When you finally found it, chances are, it was because someone else helped you. Here's your chance to give back. Use our community feedback tool to let others know what worked for you and what didn't.

Please also understand that the community feedback system is not warranted to be correct, it's simply a system that we've built to let people try and help each other. If something in a feedback response doesn't make sense to you, or you're not comfortable making changes that the feedback talks about (like registry edits), please consult a professional.

Thank you for using kbAlertz.com Feedback System.

-- Scott Cate

Be the first to leave feedback, to help others about this knowledge base article.

(Optional) Name

(Optional) Public URL Or Email

Comments
No HTML -- Text Only Please