Select the product you need help with
- Internet Explorer
- Windows Phone
- More products
FIX: A TypeLoadException exception occurs when you run a .NET Framework 3.5 SP1-based application
Article ID: 970510 - View products that this article applies to.
When you run a managed application on a computer that has the .NET Framework 3.5 Service Pack 1 (SP1) installed, a TypeLoadException exception occurs and then you receive an error message that resembles the following:
Could not load type ‘type name’' from assembly ‘assembly name, Version=18.104.22.168, Culture=neutral, PublicKeyToken=null'.
This problem occurs when the application loads a specific generic type. Consider the following sample code:
In this situation, this problem occurs when the application loads class C.
Note This problem does not occur on earlier versions of the .NET Framework.
Hotfix Replacement InformationThe hotfix that corresponds to KB970510 has been superseded with the hotfix KB981574, which contains all fixes that were previously included in KB970510. You should use the hotfix KB981574 to fix the issues described in KB970510. For more information, click the following article number to view the article in the Microsoft Knowledge Base:
(http://support.microsoft.com/kb/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.