FIX: When you run a Microsoft ASP.NET-connected application that has custom URLs in the Microsoft .NET Framework 1.1, a memory leak occurs (911309)



The information in this article applies to:

  • Microsoft .NET Framework 1.1 Service Pack 1 (SP1)

SYMPTOMS

When you run a Microsoft ASP.NET-connected application that has custom URLs in the Microsoft .NET Framework 1.1, a memory leak occurs. This problem occurs only in the .NET Framework 1.1 Service Pack 1 (SP1).

CAUSE

ASP.NET caches assemblies to improve performance. When a user requests an .aspx file, the ASP.NET runtime searches for cached assemblies by using a key. This key was changed in the .NET Framework 1.1 Service Pack 1. Instead of using the physical path of the .aspx file, the key now uses the virtual path of the .aspx file. Because the virtual path is based on the URL, different custom URLs cannot use the same cached assemblies from the first URL request of an .aspx file. Instead, the assembly must be regenerated and then added to the cache. Therefore, the assembly cache grows with the number of unique virtual paths. This behavior eventually causes a very large assembly cache and high memory usage.

RESOLUTION

Hotfix information

A supported hotfix is now available from Microsoft, but it is only intended to correct the problem that is described in this article. Only apply it to systems that are experiencing this specific problem. This hotfix may receive additional testing. Therefore, if you are not severely affected by this problem, we recommend that you wait for the next Microsoft .NET Framework 1.1 service pack that contains this hotfix.

To resolve this problem immediately, contact Microsoft Product Support Services to obtain the hotfix. For a complete list of Microsoft Product Support Services telephone numbers and information about support costs, visit the following Microsoft Web site:Note In special cases, charges that are ordinarily incurred for support calls may be canceled if a Microsoft Support Professional determines that a specific update will resolve your problem. The usual support costs will apply to additional support questions and issues that do not qualify for the specific update in question.

Prerequisites

There are no prerequisites.

Restart requirement

You must restart the computer after you apply this update.

Hotfix replacement information

This hotfix does not replace any other software updates.

File information

The English version of this hotfix has the file attributes (or later file attributes) that are listed in the following table. The dates and times for these files are listed in Coordinated Universal Time (UTC). When you view the file information, it is converted to local time. To find the difference between UTC and local time, use the Time Zone tab in the Date and Time tool in Control Panel.
File nameFile versionFile sizeDateTimeHashes
Aspnet_isapi.dll1.1.4322.2359258,04813-Dec-200500:34MD5: 6AF9D63D5422FB5A335D41C9C420743D
SHA1: 4528173312B184DECD9F7362E8189D5238FF3F2E
Aspnet_wp.exe1.1.4322.235932,76813-Dec-200500:34MD5: 925BC4045C49F521ED46FB832D9EDAFD
SHA1: 269EBFB0423CC82644431AF93C3146F83E99F6C9
Netfxupdate.exe1.0.3705.0106,49630-Aug-200500:02MD5: 31FF1D32876C295C2F1C36ECF451F1D5
SHA1: 115964E21967B0F4727BEDD7E311E374ED21B3D4
Setregni.exe1.1.4322.2034106,49630-Aug-200500:02MD5: B692B9B743AB411F294C350F8DAE08C7
SHA1: 6C73A77CA8FF853FCF9E14ADFA68FF3B01BAF580
System.web.dll1.1.4322.23591,265,66412-Dec-200523:42MD5: 38F61E2B39E0093E8413B235BB9BD952
SHA1: C62D52EFFFA1B7B12716FD27A7A482EE745FED76
Togac.exe1.1.4322.573118,78418-Nov-200500:10MD5: 60505C698E763DA37D45939DCD5C208A
SHA1: CA3A4DE31A0211E8AFA377B7AFB75ECFC533CEFC

STATUS

Microsoft has confirmed that this is a problem in the Microsoft products that are listed in the "Applies to" section.

MORE INFORMATION

How to implement this hotfix

This hotfix does not change the default behavior of the .NET Framework 1.1 SP1. The .NET Framework 1.1 SP1 still caches pages by using the virtual path. However, after you apply this hotfix, you can make a project configuration change to revert to the pre-.NET Framework 1.1 SP1 behavior of caching pages by using the physical path. To do this, create a Web.config file in the project folder, and then add the following code to the Web.config file.

Note If there is already a Web.config file in the project folder, only add the line that contains the <compilation> tag.
<?xml version="1.0"?>
<configuration>
<system.web>
  <compilation usePhysicalPathKey="true"/>
</system.web>
</configuration>
Note The default value for usePhysicalPathKey is false.

For more information, click the following article number to view the article in the Microsoft Knowledge Base:

824684 Description of the standard terminology that is used to describe Microsoft software updates


Modification Type:MinorLast Reviewed:7/26/2006
Keywords:kbNetFrame110preSP2fix kbBug kbfix kbQFE kbHotfixServer kbpubtypekc KB911309 kbAudDeveloper