Article ID: 952831 - Last Review: July 18, 2008 - Revision: 1.0 How to prevent the Outlook Object Model security dialog boxes from opening when you use the Duet for Microsoft Office and SAP add-inOn This PageINTRODUCTIONThis article describes how to prevent the Outlook Object Model security dialog boxes from opening in Microsoft Office Outlook 2003 or in Microsoft Office Outlook 2007 when you use the Duet for Microsoft Office and SAP add-in. Outlook security dialog boxes may open if you configured custom security settings in Outlook. To prevent these dialog boxes from opening, you must register the Microsoft Visual Studio Tools for Office (VSTO) Add-in Loader (AddinLoader.dll) on the Trusted Code page of the Outlook Security Settings form. This article also describes the risk level and other security considerations of registering AddinLoader.dll. MORE INFORMATIONDuet for Microsoft Office and SAP installs a COM add-in on client computers that are created by using the VSTO development environment. By default, this Duet COM add-in runs without triggering Outlook security dialog boxes. However, if you configured custom Outlook security settings in the Microsoft Exchange Server public folder, the Outlook security dialog boxes open every time that the Duet COM add-in processes a control message. For Duet to function correctly, the Duet COM add-in must be able to process the control messages. To prevent the Outlook security dialog boxes from opening, you must explicitly register the VSTO Add-in Loader (AddinLoader.dll) on the Trusted Code page of the Outlook Security Settings form. Note The name of the Outlook Security Settings public folder is either "Outlook Security Settings" or "Outlook 10 Security Settings." Description of AddinLoader.dllAddinLoader.dll is used to load managed COM add-ins that were created by using VSTO development tools and by using the Microsoft Visual Studio 2005 Tools for Office Second Edition (VSTO 2005 SE) runtime. AddinLoader.dll can load the following add-ins:
Will all COM Add-ins be able to run without triggering the Outlook security dialog boxes when you register AddinLoader.dll?When AddinLoader.dll is registered on the Trusted Code page of the Outlook Security Settings form, any Outlook COM add-in that is already installed or configured on the client computer and that requires the VSTO 2005 SE runtime will run without triggering Outlook security dialog boxes. Other COM add-ins may still trigger the Outlook security dialog boxes.Important notes
For more information about how to configure .NET Runtime security policies, visit the following MSDN Web site: http://www.msdn.microsoft.com/en-us/library/2bc0cxhc(VS.71).aspx
(http://www.msdn.microsoft.com/en-us/library/2bc0cxhc(VS.71).aspx)
Risk LevelRegistering AddinLoader.dll on the Trusted Code page of the Outlook Security Settings form is considered low risk. By default, AddinLoader.dll is registered in this folder when you are using standard installations of Outlook 2003 and of Outlook 2007.More information about the Outlook security settingsThe Outlook Object Model Guard features were created for Microsoft Outlook 2000 to help prevent script-based viruses and malware from programmatically enumerating the user’s Address Book and then sending e-mail. The Outlook Object Model Guard feature applies to the following scriptable messaging APIs:
To configure custom security settings in Outlook, download the Outlook Administrator Pack from the Office 2003 Resource Kit. For more information about the Office 2003 Resource Kit, click the following article number to view the article in the Microsoft Knowledge Base: 826519
(http://support.microsoft.com/kb/826519/
)
How to obtain the Microsoft Office 2003 Resource Kit
For more information about Outlook 2003 security settings, visit the following MSDN Web site:
http://msdn.microsoft.com/en-us/library/aa168140(office.11).aspx
(http://msdn.microsoft.com/en-us/library/aa168140(office.11).aspx)
For more information about Outlook 2007 Security settings, visit the following MSDN Web site:
http://msdn.microsoft.com/en-us/library/bb226709.aspx
(http://msdn.microsoft.com/en-us/library/bb226709.aspx)
| Article Translations
|
Back to the top
