FIX: You may receive an "E_INVALIDARG" error message when you try to create an instance of a .NET serviced component (837522)
The information in this article 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 SYMPTOMSWhen 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. CAUSEWhen 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.RESOLUTIONTo 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 WORKAROUNDWarning 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:
HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\COM3\System.EnterpriseServices - 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.
- On the Edit menu, click Modify.
The Edit DWORD Value dialog box appears. - In the Value data box, replace the existing text with 00000001, and then click OK.
- On the File menu, click Exit to close Registry Editor.
STATUSMicrosoft 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.
Modification Type: | Major | Last Reviewed: | 4/7/2006 |
---|
Keywords: | kbQFE KBHotfixServer kbNetFrame110sp1fix kbCOMServices kberrmsg kbBug kbfix kbNetFrame110preSP1fix KB837522 kbAudDeveloper |
---|
|