Microsoft KB Archive/837522

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

Article ID: 837522

Article Last Modified on 4/7/2006

-

APPLIES TO


 * Microsoft .NET Framework 1.1

-





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



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 &quot;Symptoms&quot; 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.  Click Start, click Run, type regedit, and then click OK. In Registry Editor, create the following registry subkey:

 Add a value to the registry key that you created in step 2. To do this, follow these steps:  On the Edit menu, point to New, and then click DWORD Value. In the right pane of Registry Editor, replace the selected text with DisableAsyncFinalization under the Name column, and then press ENTER.</li> On the Edit menu, click Modify.

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

<div class="status_section">

STATUS
Microsoft has confirmed that this is a problem in the Microsoft products that are listed in the &quot;Applies to&quot; section.

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

<div class="moreinformation_section">

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

Keywords: kberrmsg kbbug kbfix kbqfe kbcomservices kbnetframe110sp1fix kbnetframe110presp1fix kbhotfixserver KB837522

-

[mailto:TECHNET@MICROSOFT.COM Send feedback to Microsoft]

© Microsoft Corporation. All rights reserved.