Microsoft KB Archive/923504

= A COM add-in does not function in a 2007 Office suite =

Article ID: 923504

Article Last Modified on 10/15/2007

-

APPLIES TO


 * Microsoft Office Ultimate 2007
 * Microsoft Office Enterprise 2007
 * Microsoft Office Professional 2007
 * Microsoft Office Professional Plus 2007

-



Important This article contains information that shows you how to help lower security settings or how to turn off security features on a computer. You can make these changes to work around a specific problem. Before you make these changes, we recommend that you evaluate the risks that are associated with implementing this workaround in your particular environment. If you implement this workaround, take any appropriate additional steps to help protect the computer.

Important This article contains information about how to modify the registry. Make sure that you back up the registry before you modify it. Make sure that you know how to restore the registry if a problem occurs. For more information about how to back up, restore, and modify 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 open a program in a 2007 Microsoft Office suite, you may experience one or more of the following symptoms:
 * A Component Object Model (COM) add-in does not function.
 * A control cannot be used.
 * A control is missing from a document.



CAUSE
This issue occurs when the InsecureQI registry key is set to 1 or 2.

The 2007 Office suites introduced a random interface check registry key named InsecureQI. When a malicious or faulty implemented COM component is identified, the component is prevented from executing code. When the InsecureQI registry key is set to 0 (zero), the 2007 Office suite does not identify malicious or faulty implemented COM components.

The InsecureQI random interface check registry key uses the following values:
 * 0: The random interface check is turned off.
 * 1: The random interface check is turned on. Additionally, if the COM component reports that it supports the random interface check, the COM component is not loaded. Additionally, a Watson report is generated. The Watson report lets the administrator locate the affected class ID.
 * 2: The random interface check is turned on. Additionally, if the COM component reports that it supports the random interface check, the 2007 Office suite calls the Release method to release the COM component from memory.

Note If the 2007 Office suite does not find the InsecureQI registry key, the random interface check is performed.



RESOLUTION
To resolve this issue, reimplement the COM component's QueryInterface implementation. Alternatively, set the InsecureQI registry key to 0 to turn off the random interface check.

To set the InsecureQI registry key to 0, follow these steps.

Warning This workaround may make a computer or a network more vulnerable to attack by malicious users or by malicious software such as viruses. We do not recommend this workaround but are providing this information so that you can implement this workaround at your own discretion. Use this workaround at your own risk.

Warning Serious problems might occur if you modify the registry incorrectly by using Registry Editor or by using another method. These problems might require that you reinstall the operating system. Microsoft cannot guarantee that these problems can be solved. Modify the registry at your own risk.  Log on to the computer that is running the 2007 Office suite by using an account that has administrative permissions. Click Start, click Run, type regedit in the Open box, and then click OK. In Registry Editor, locate and then click the following registry subkey:

HKEY_CLASSES_ROOT\CLSID\{ }

Note In this subkey,  is a placeholder for the class ID. For example, the class ID may appear as follows:

{00000000-0000-0010-8000-00AA00000000}

 In Registry Editor, click Edit, click New, and then click DWORD Value. Type InsecureQI for the name of the new DWORD value. Double-click InsecureQI.</li> In the Edit DWORD Value dialog box, type 0 in the Value data field, and then click OK. This procedure turns off the random interface check.</li></ol>

Additional query words: OFF2007 Office2007 Office 2007

Keywords: kbtshoot kbprb kbexpertiseinter KB923504

-

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

© Microsoft Corporation. All rights reserved.