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



The information in this article applies to:

  • Microsoft Office Outlook 2003
  • Microsoft Outlook 2002

SYMPTOMS

When you use a program (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 "No".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.

Modification Type:MinorLast Reviewed:1/6/2006
Keywords:kbprb KB821679 kbAudEndUser kbAudITPRO