FIX: You receive a "TypeLoadException: MethodImpl's Decl and Body method signatures do not match" error message and your assembly does not load (834292)



The information in this article applies to:

  • Microsoft .NET Framework 1.0

SYMPTOMS

If you have an assembly that is built on the Microsoft .NET Framework version 1.1, and this assembly implements an interface that is defined in an assembly that is built on the .NET Framework version 1.0, the version 1.1 assembly may not load and you may receive the following error message:
TypeLoadException.:
[MD]: Error: MethodImpl's Decl and Body method signatures do not match. [token: 0x00000001]
1 Errors Verifying WindowsApplicationXX.exe
Note In this error message, WindowsApplicationXX is a placeholder for the name of your application.

RESOLUTION

Software update information

A supported software update 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 software update may receive additional testing. Therefore, if you are not severely affected by this problem, Microsoft recommends that you wait for the next Microsoft .NET Framework 1.0 service pack that contains this software update.

To resolve this problem immediately, contact Microsoft Product Support Services to obtain the software update. For a complete list of Microsoft Product Support Services phone 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

You must have the .NET Framework 1.0 Service Pack 2 installed to apply this software update.

Restart requirement

You do not have to restart your computer after you apply this software update.

Software update replacement information

This software update does not replace any other software updates.

File Information

The English version of this software update has the file attributes (or later) 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.
   Date         Time   Version       Size       File name
   ---------------------------------------------------------------------------------------------
   30-Dec-2003  03:42  1.0.3705.480    200,704  Aspnet_isapi.dll
   30-Dec-2003  03:34                    4,169  Aspnet_perf.h
   30-Dec-2003  03:42                  513,302  Aspnet_perf.ini
   30-Dec-2003  03:42                  510,714  Aspnet_perf2.ini
   30-Dec-2003  03:42  1.0.3705.480     24,576  Aspnet_regiis.exe
   30-Dec-2003  03:42  1.0.3705.480     28,672  Aspnet_wp.exe
   30-Dec-2003  02:57  1.0.3705.480     69,632  Corperfmonext.dll
   17-Jun-2003  21:43                   16,597  Installpersistsqlstate.sql
   17-Jun-2003  21:43                   17,331  Installsqlstate.sql
   09-Sep-2003  00:28                   17,807  Installsqlstatetemplate.sql
   30-Dec-2003  02:55  1.0.3705.480    303,104  Mscorjit.dll
   30-Dec-2003  18:05  1.0.3705.480  1,953,792  Mscorlib.dll
   19-Dec-2003  02:44                   10,284  Mscorlib.ldo
   30-Dec-2003  02:56  1.0.3705.480  2,273,280  Mscorsvr.dll
   30-Dec-2003  02:57  1.0.3705.480  2,269,184  Mscorwks.dll
   30-Dec-2003  03:38  1.0.3705.480     20,480  Perfcounter.dll
   23-Aug-2002  02:23                       15  Smartnav.htm
   30-Jul-2003  00:04                    8,728  Smartnav.js
   30-Dec-2003  18:04  1.0.3705.480  1,179,648  System.data.dll
   30-Dec-2003  18:04  1.0.3705.480  1,695,744  System.design.dll
   30-Dec-2003  18:04  1.0.3705.480  1,175,552  System.dll
   30-Dec-2003  18:03  1.0.3705.480    241,664  System.messaging.dll
   30-Dec-2003  18:04  1.0.3705.480    311,296  System.runtime.remoting.dll
   30-Dec-2003  18:03  1.0.3705.480    131,072  System.runtime.serialization.formatters.soap.dll
   30-Dec-2003  18:05  1.0.3705.480  1,200,128  System.web.dll
   30-Dec-2003  18:03  1.0.3705.480    507,904  System.web.services.dll
   30-Dec-2003  18:04  1.0.3705.480  1,994,752  System.windows.forms.dll
   30-Dec-2003  03:48                   16,652  System.windows.forms.ldo
   30-Dec-2003  03:43  1.0.3705.480     57,344  System.windows.forms.tlb
   30-Dec-2003  18:04  1.0.3705.480  1,302,528  System.xml.dll
   30-Dec-2003  18:03  1.0.3705.480     32,768  Tlbimp.exe
   17-Jun-2003  21:43                    1,419  Uninstallpersistsqlstate.sql
   09-Sep-2003  00:28                    2,119  Uninstallsqlstatetemplate.sql
   30-Dec-2003  18:03  1.0.3705.480     65,536  Wsdl.exe

STATUS

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

MORE INFORMATION

For additional information about the terminology that is used to describe Microsoft product updates, 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:10/25/2005
Keywords:kbHotfixServer kbQFE kbBug kbfix kbQFE kbNetFrame100preSP3fix KB834292 kbAudDeveloper