An access violation occurs in the Type Library Importer when you import more than 81 event interfaces (322376)



The information in this article applies to:

  • Microsoft Visual Studio .NET (2002), Professional Edition
  • Microsoft Visual Studio .NET (2002), Enterprise Architect Edition
  • Microsoft Visual Studio .NET (2002), Enterprise Developer Edition
  • Microsoft Visual Studio .NET (2002), Academic Edition

This article was previously published under Q322376

SYMPTOMS

When you use the Type Library Importer (TlbImp.exe) to generate an InterOp Assembly, the Type Library Importer fails, and you receive the following error message:
TlbImp error: System.NullReferenceException - Object reference not set to an instance of an object.

RESOLUTION

To resolve this problem, obtain the latest service pack for the Microsoft .NET Framework. For additional information, click the following article number to view the article in the Microsoft Knowledge Base:

318836 Information about how to obtain the latest .NET Framework service pack

STATUS

Microsoft has confirmed that this is a problem in the Microsoft products that are listed in the "Applies to" section of this article. This problem was first corrected in Microsoft .NET Framework Service Pack 2 (SP2).

Modification Type:MinorLast Reviewed:9/27/2005
Keywords:kbHotfixServer kbQFE kbvs2002sp1sweep kbbug kbfix kbQFE KB322376