Microsoft KB Archive/821679

= Outlook objects are not trusted if you access them by using the IOutlookExtCallback callback in an Exchange Client Extension =

Article ID: 821679

Article Last Modified on 1/12/2007

-

APPLIES TO


 * Microsoft Office Outlook 2007
 * Microsoft Office Outlook 2003
 * Microsoft Outlook 2002 Standard Edition

-



SYMPTOMS
When you use a program in Microsoft Outlook (for example, the third-party program, Outlook Spy) to access an Outlook Object Model object from an Exchange Client Extension, you may receive the following warning message:

A program is trying to access e-mail addresses you have stored in Outlook. Do you want to allow this?

If this is unexpected, it may be a virus and you should choose &quot;No&quot;.

You are also prompted to select an option to permit the program access to the Outlook Object Model object for a specified time.



CAUSE
This behavior may occur when a Component Object Model (COM) add-in program tries to access an Outlook Object Model object from an Exchange Client Extension by means of the IOutlookExtCallback interface.

By default, COM add-in programs are trusted and can access Outlook Object Model objects. However, Outlook Object Model objects that are accessed by means of the IOutlookExtCallback interface are not trusted.



WORKAROUND
To work around this behavior, respond to the warning message, and then allow the program to access the Outlook Object Model object. To do so:
 * 1) When you are prompted to select an option to permit the program access to the Outlook Object Model object, click to select the Allow access for check box.
 * 2) In the drop-down list, click the time to allow access (1 minute, 2 minutes, 5 minutes or 10 minutes).
 * 3) Click Yes.

Each time that an Outlook Object Model object is accessed by means of the IOutlookExtCallback interface, you must respond to the warning message to grant the program access.



MORE INFORMATION
For more information about how to use the Outlook Object Model in an Exchange Client Extension, click the following article number to view the article in the Microsoft Knowledge Base:

260216 How to use the Outlook object model in an Exchange Client extension

The third-party products that this article discusses are manufactured by companies that are independent of Microsoft. Microsoft makes no warranty, implied or otherwise, regarding the performance or reliability of these products.

Additional query words: ol2003 OL2007

Keywords: kbprb KB821679

-

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

© Microsoft Corporation. All rights reserved.