In my situation the disabled add-in does not appear in Help | About |
Disabled items. Instead it's missing from the COM Add-Ins window.
According to
http://msdn2.microsoft.com/en-us/library/ms269003.aspx and
http://msdn2.microsoft.com/en-us/library/ms268871.aspx , that's called
a "soft disable". These articles also square with your contention that
an unhandled exception is the likely culprit.
Most of our customers do not encounter this problem. It's just this one
organization. At the risk of sounding like I'm fishing or being too
general, is there anything that is environment specific that can
trigger an unhandled exception like this that is practically
unreproducible anywhere else?
Ken Slovak - [MVP - Outlook] wrote:
Unhandled exceptions is the #1 cause.
Disabled addins can usually be re-enabled only by deleting the registry key
for disabling addins or by removing the addin from the disabled items list
in the Help, About, Disabled Items dialog.
Another cause of disabling can be script stoppers. If you use "New" or
"CreateObject" in your code or access Windows Scripting your addin might be
disabled because the script stopper causes that to fail, the exception is
unhandled and the addin gets disabled. Also very common.
--
Ken Slovak
[MVP - Outlook]
http://www.slovaktech.com
Author: Absolute Beginner's Guide to Microsoft Office Outlook 2003
Reminder Manager, Extended Reminders, Attachment Options
http://www.slovaktech.com/products.htm
wrote in message
oups.com...
One of my company's customers is experiencing a strange problem with an
Outlook add-in we built. The add-in is often disabled when some of the
users start Outlook, and they have to go into COM add-ins to add it
back. The problem is that this happens pretty regularly. They'd add the
add-in, it'd work for a while, but some days later, when they start
Outlook again, the add-in disappears again, and they have to add it
back again.
Some (but not all) of these users have
HKCU\Software\Microsoft\Office\Outlook\Addins\OurO utlookAddin.OutlookAddin
set to 0 or 1. But changing it to a 3 hasn't worked.
Are there any known causes that leads to an Outlook addin being
constantly disabled?
TIA