Article ID: 322027 - View products that this article applies to.
This article was previously published under Q322027
This article has been archived. It is offered "as is" and will no longer be updated.
If you use Visual Studio .NET to develop an Outlook 2002 Component Object Model (COM) add-in, and then you try to register the add-in in the Outlook Security Settings folder, one of the following symptoms may occur:
This problem occurs because COM add-ins that are developed by using Visual Studio .NET do not generate a typical COM DLL for the COM add-in. Instead, a .NET DLL, or assembly, is generated. This .NET DLL interacts with the Microsoft universal runtime file (Mscoree.dll).
The Mscoree.dll file acts as a COM wrapper for the .NET assemblies. If you trust the COM add-in with respect to the Outlook Security Settings public folder on the Exchange computer, and you trust the actual COM add-in DLL (assembly), the add-in is not trusted. You have to trust the actual in-process implementation of the add-in assembly, which is Mscoree.dll. However, if you trust this DLL, all of the COM add-ins that you used Visual Studio .NET to develop are trusted.
To resolve this problem, create an unmanaged proxy DLL that acts as a proxy shim to the universal runtime file implementation of your managed COM add-in DLL. Make sure that the InprocServer32 value points to your proxy DLL, instead of the Mscoree.dll file. Then you can trust the shim DLL in the Outlook Security Settings public folder.
For additional information about how to create a proxy or shim file to trust COM add-ins, view the following Microsoft MSDN Web sites:
Deployment of Managed COM Add-Ins in Office XP
Using the COM Add-in Shim Solution to Deploy Managed COM Add-ins in Office XP
To work around this problem, use one of the following methods:
For more information about Outlook 2002 security features, click the following article number to view the article in the Microsoft Knowledge Base:
290500For additional information about customizing the security settings and registering trusted COM add-ins in the Outlook Security Settings folder, click the article number below to view the article in the Microsoft Knowledge Base:
(http://support.microsoft.com/kb/290500/ )Description of the developer-related e-mail security features in Outlook 2002
(http://support.microsoft.com/kb/290499/EN-US/ )OL2002: Administrator Information About E-Mail Security Features
Article ID: 322027 - Last Review: October 26, 2013 - Revision: 3.0
Contact us for more help
Connect with Answer Desk for expert help.