FIX: An access violation occurs when you run a .NET Framework 2.0-based application that has a virtual call the IList<T>, IEnumerable<T>, or ICollection<T> interface in an LCG method

When you run a .NET Framework 2.0-based application, an access violation occurs. This problem occurs when all of the following conditions are true:
  • The application calls the IList<T>, IEnumerable<T>, or ICollection<T> interface in a virtual function.
  • The T parameter is a type that is defined in an assembly that is not loaded as domain neutral.
  • The call is made on an instance of an array of reference types in a Lightweight Code Gen (LCG) dynamic method.
  • The LCG dynamic method is defined to have an owner which is loaded as domain neutral.
This problem occurs because the virtual call stubs are created in the location of the loader allocator of the parent type but not in the location of the allocator. Therefore, LCG dynamic methods consider these two locations to be different.

Hotfix Replacement Information

The hotfix that corresponds to KB971030 has been superseded with the hotfix KB981574, which contains all fixes that were previously included in KB971030. You should use the hotfix KB981574 to fix the issues described in KB971030. For more information, click the following article number to view the article in the Microsoft Knowledge Base:
981574 The splash screen stays open longer than usual when you try to start Excel on a computer that has the .NET Framework 3.5 SP1 installed

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

Article ID: 971030 - Last Review: 08/04/2010 03:36:00 - Revision: 3.0

Microsoft .NET Framework 3.5 Service Pack 1, Microsoft .NET Framework 2.0 Service Pack 2

  • kbHotfixServer kbexpertiseadvanced kbqfe kbsurveynew KB971030