This is a mirror of official site: http://jasper-net.blogspot.com/

Referenced assemblies of a .NET Framework 2.0-based 32-bit application are loaded multiple times

| Sunday, June 6, 2010
SYMPTOMS

You run a Microsoft .NET Framework 2.0-based 32-bit application that references assemblies. However, these referenced assemblies are loaded multiple times into a virtual address space unexpectedly. This issue occurs even when you run the application in a single application domain.

Note You can use the VMMAP tool to inspect the virtual address space that the application uses.

RESOLUTION

Hotfix information

A supported hotfix is now available from Microsoft. However, it is intended to correct only the problem that is described in this article. Apply it only 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 software update that contains this hotfix.

To resolve this problem immediately, contact Microsoft Customer Support Services to obtain the hotfix. For a complete list of Microsoft Customer Support Services telephone numbers and information about support costs, visit the following Microsoft Web site:
http://support.microsoft.com/contactus/?ws=support (http://support.microsoft.com/contactus/?ws=support)
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

You must have the Microsoft .NET Framework 2.0 Service Pack 2 (SP2) installed to apply this hotfix.

Restart requirement

You do not have to restart the computer after you apply the hotfix if affected files are not being used.

Hotfix replacement information

This hotfix does not replace any other hotfixes.

Post-installation information

After you install the hotfix, enable the DisableDoubleMapping property in the application configuration file. This behavior prevents referenced assemblies from being loaded multiple times into a virtual address space. The following sample code shows how to enable the DisableDoubleMapping property in the application configuration file:
<?xml version="1.0" encoding="utf-8" ?>
   <configuration>
       <runtime>
           <DisableDoubleMapping enabled="true" />
       </runtime>
   </configuration>
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 item in Control Panel.
For all supported x86-based versions of Windows Server 2003 and of Windows XP

Collapse this tableExpand this table
File name File version File size Date Time Platform
Mscordacwks.dll 2.0.50727.4448 989,016 09-Apr-2010 05:13 x86
Mscorlib.dll 2.0.50727.4448 4,550,656 09-Apr-2010 05:13 x86
Mscorwks.dll 2.0.50727.4448 5,819,728 09-Apr-2010 05:13 x86
Sos.dll 2.0.50727.4448 388,936 09-Apr-2010 05:13 x86

Read more: KB Alertz

Posted via email from jasper22's posterous

0 comments: