FIX: You may receive an "E_INVALIDARG" error message when you try to create an instance of a .NET serviced component

Article translations Article translations
Article ID: 837522 - View products that this article applies to.
Important This article contains information about modifying the registry. Before you modify the registry, make sure to back it up and make sure that you understand how to restore the registry if a problem occurs. For information about how to back up, restore, and edit the registry, click the following article number to view the article in the Microsoft Knowledge Base:
256986 Description of the Microsoft Windows Registry
Expand all | Collapse all

SYMPTOMS

When you try to create an instance of a Microsoft .NET serviced component that is deployed in the COM+ environment, you may receive the following error message:
E_INVALIDARG
This error message is returned by the activation request.

CAUSE

When you try to create an instance of a new serviced component, an old instance of the serviced component is destroyed. COM+ is supposed to clean up all the other resources that are associated with the old serviced component. However, sometimes this destruction may not be successful, or COM+ may not clean up the associated resources. Therefore, COM+ does not create the instance of the serviced component, and you may receive the error message that is mentioned in the "Symptoms" section.

RESOLUTION

To resolve this problem, obtain the latest service pack for the Microsoft .NET Framework 1.1. The following file is available for download from the Microsoft Download Center:

The Microsoft .NET Framework 1.1 Service Pack 1
http://www.microsoft.com/downloads/details.aspx?FamilyId=A8F5654F-088E-40B2-BBDB-A83353618B38

WORKAROUND

Warning If you use Registry Editor incorrectly, you may cause serious problems that may require you to reinstall your operating system. Microsoft cannot guarantee that you can solve problems that result from using Registry Editor incorrectly. Use Registry Editor at your own risk.
  1. Click Start, click Run, type regedit, and then click OK.
  2. In Registry Editor, create the following registry subkey:

    HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\COM3\System.EnterpriseServices
  3. Add a value to the registry key that you created in step 2. To do this, follow these steps:
    1. On the Edit menu, point to New, and then click DWORD Value.
    2. In the right pane of Registry Editor, replace the selected text with DisableAsyncFinalization under the Name column, and then press ENTER.
    3. On the Edit menu, click Modify.

      The Edit DWORD Value dialog box appears.
    4. In the Value data box, replace the existing text with 00000001, and then click OK.
  4. On the File menu, click Exit to close Registry Editor.

STATUS

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

This problem was first corrected in the Microsoft .NET Framework 1.1 Service Pack 1.

MORE INFORMATION

For additional information, click the following article number to view the article in the Microsoft Knowledge Base:
824684Description of the standard terminology that is used to describe Microsoft software updates

Properties

Article ID: 837522 - Last Review: April 7, 2006 - Revision: 2.1
APPLIES TO
  • Microsoft .NET Framework 1.1
Keywords: 
kbqfe kbhotfixserver kbnetframe110sp1fix kbcomservices kberrmsg kbbug kbfix kbnetframe110presp1fix KB837522

Give Feedback

 

Contact us for more help

Contact us for more help
Connect with Answer Desk for expert help.
Get more support from smallbusiness.support.microsoft.com