Outlook Banter

Outlook Banter (http://www.outlookbanter.com/)
-   Add-ins for Outlook (http://www.outlookbanter.com/add-ins-outlook/)
-   -   Outlook add-in is constantly being disabled (http://www.outlookbanter.com/add-ins-outlook/28277-outlook-add-constantly-being-disabled.html)

andy October 10th 06 04:54 PM

Outlook add-in is constantly being disabled
 
Hi,
Experiencing the follow issue: We have an outlook addin. When opening a
certain .msg, Outlook will hang. On 're-launch' of Outlook, and choosing
[YES] to disable our addin, this .msg file is opened without issue.

I am trying to work with our developers, but wanted to throw this scenario
out here just in case there is something obvious. I know that the short term
solution (to re-enable out addin) is to delete the resiliency key, but am
banging my head trying to find the root cause of the hanging. I.e. is there
any extra logging, channels for investigation i can pursue? I've tried
regmon, and process-explorer, and netiher seem to have too much 'obvious'
information...

Any words of wisdom appreciated....

Thanks
Andy


"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




andy October 10th 06 04:54 PM

Outlook add-in is constantly being disabled
 
Hi,
Experiencing the follow issue: We have an outlook addin. When opening a
certain .msg, Outlook will hang. On 're-launch' of Outlook, and choosing
[YES] to disable our addin, this .msg file is opened without issue.

I am trying to work with our developers, but wanted to throw this scenario
out here just in case there is something obvious. I know that the short term
solution (to re-enable out addin) is to delete the resiliency key, but am
banging my head trying to find the root cause of the hanging. I.e. is there
any extra logging, channels for investigation i can pursue? I've tried
regmon, and process-explorer, and netiher seem to have too much 'obvious'
information...

Any words of wisdom appreciated....

Thanks
Andy


"Ken Slovak - [MVP - Outlook]" wrote:

It's all or nothing though. If the key is deleted all disabled addins are
re-enabled. Maybe not such a good idea.

Disabling adds a binary value for each addin with a name that's randomly
generated. The Resiliency key exists if there is at least one disabled item,
but if you re-enable the addin then the Resiliency key and DisabledItems
subkey are both deleted. So the presence of the Resiliency key serves as a
general test for the existence of disabled items. You can re-enable the
addin by deleting the specific binary reg value, or by removing the whole
key.

HKEY_CURRENT_USER\Software\Microsoft\Office\11.0\O utlook\Resiliency\DisabledItems

11.0 would be 10.0 for Outlook 2002, 12.0 for Outlook 2007.

--
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


"Michael Tissington" wrote in message
...
I did not know there was a registry key that did the same as removing it
from the list in Help About ... What is the registry key ?

--
Michael Tissington
http://www.oaklodge.com
http://www.sqlview.net




andy October 10th 06 04:56 PM

Outlook add-in is constantly being disabled
 
Hi,
Experiencing the follow issue: We have an outlook addin. When opening a
certain .msg, Outlook will hang. On 're-launch' of Outlook, and choosing
[YES] to disable our addin, this .msg file is opened without issue.

I am trying to work with our developers, but wanted to throw this scenario
out here just in case there is something obvious. I know that the short term
solution (to re-enable out addin) is to delete the resiliency key, but am
banging my head trying to find the root cause of the hanging. I.e. is there
any extra logging, channels for investigation i can pursue? I've tried
regmon, and process-explorer, and netiher seem to have too much 'obvious'
information...

Any words of wisdom appreciated....

Thanks
Andy


"Ken Slovak - [MVP - Outlook]" wrote:

It could be other addins causing a fault, it could be a script stopper, it
could be some other addin interfering with something your addin is doing
causing a fault in your own addin.

Shared addins in .NET that aren't shimmed to use their own namespaces will
disable all other shared addins like that if they fault.

About the only things that you can do are a thorough code review and using
an error log file as well as remote debugging and examining the event logs.
I can't offer anything more specific.

--
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
ups.com...
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] October 10th 06 05:22 PM

Outlook add-in is constantly being disabled
 
Only one post was necessary and it wasn't necessary to start a brand new
thread also with the same problem.

--
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


"Andy" Andy @discussions.microsoft.com wrote in message
...
Hi,
Experiencing the follow issue: We have an outlook addin. When opening a
certain .msg, Outlook will hang. On 're-launch' of Outlook, and choosing
[YES] to disable our addin, this .msg file is opened without issue.

I am trying to work with our developers, but wanted to throw this scenario
out here just in case there is something obvious. I know that the short
term
solution (to re-enable out addin) is to delete the resiliency key, but am
banging my head trying to find the root cause of the hanging. I.e. is
there
any extra logging, channels for investigation i can pursue? I've tried
regmon, and process-explorer, and netiher seem to have too much 'obvious'
information...

Any words of wisdom appreciated....

Thanks
Andy




All times are GMT +1. The time now is 01:25 PM.

Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 2.4.0
Copyright ©2004-2006 OutlookBanter.com