A Microsoft Outlook email forum. Outlook Banter

If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

Go Back   Home » Outlook Banter forum » Microsoft Outlook Email Newsgroups » Add-ins for Outlook
Site Map Home Register Authors List Search Today's Posts Mark Forums Read Web Partners

Outlook add-in is constantly being disabled



 
 
Thread Tools Search this Thread Display Modes
  #1  
Old September 27th 06, 09:49 PM posted to microsoft.public.outlook.program_addins
[email protected]
external usenet poster
 
Posts: 2
Default Outlook add-in is constantly being disabled

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

  #2  
Old September 27th 06, 10:03 PM posted to microsoft.public.outlook.program_addins
Ken Slovak - [MVP - Outlook]
external usenet poster
 
Posts: 5,848
Default Outlook add-in is constantly being disabled

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


  #3  
Old September 27th 06, 10:36 PM posted to microsoft.public.outlook.program_addins
Michael Tissington
external usenet poster
 
Posts: 6
Default Outlook add-in is constantly being disabled

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

"Ken Slovak - [MVP - Outlook]" wrote in message
...
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




  #4  
Old September 27th 06, 11:18 PM posted to microsoft.public.outlook.program_addins
Ken Slovak - [MVP - Outlook]
external usenet poster
 
Posts: 5,848
Default Outlook add-in is constantly being disabled

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


  #5  
Old September 28th 06, 03:01 AM posted to microsoft.public.outlook.program_addins
Michael Tissington
external usenet poster
 
Posts: 6
Default Outlook add-in is constantly being disabled

Hmm, how do I know which binary value relates to my add-in ?

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

"Ken Slovak - [MVP - Outlook]" wrote in message
...
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




  #6  
Old September 28th 06, 03:30 PM posted to microsoft.public.outlook.program_addins
Ken Slovak - [MVP - Outlook]
external usenet poster
 
Posts: 5,848
Default Outlook add-in is constantly being disabled

You don't. That's why it's all or nothing.

--
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
...
Hmm, how do I know which binary value relates to my add-in ?

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


  #7  
Old October 10th 06, 04:54 PM posted to microsoft.public.outlook.program_addins
andy
external usenet poster
 
Posts: 122
Default 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



  #8  
Old September 28th 06, 02:26 AM posted to microsoft.public.outlook.program_addins
[email protected]
external usenet poster
 
Posts: 2
Default Outlook add-in is constantly being disabled

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


  #9  
Old September 28th 06, 03:30 PM posted to microsoft.public.outlook.program_addins
Ken Slovak - [MVP - Outlook]
external usenet poster
 
Posts: 5,848
Default Outlook add-in is constantly being disabled

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?


  #10  
Old October 10th 06, 04:56 PM posted to microsoft.public.outlook.program_addins
andy
external usenet poster
 
Posts: 122
Default 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?



 




Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Outlook 2007 crashing constantly LB Outlook - Installation 10 November 24th 06 01:00 PM
Outlook Express - - Directory Structure constantly requires FIXING BmanGman Outlook Express 10 July 23rd 06 10:28 AM
Outlook 2003 constantly asking for change password Mac Outlook - General Queries 7 April 1st 06 08:53 PM
Outlook 2000 crashes constantly Erez Outlook - General Queries 1 February 22nd 06 01:35 AM
Stop Outlook 2003 from locking up constantly Chelen Outlook - Installation 1 January 14th 06 07:37 PM


All times are GMT +1. The time now is 09:02 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-2025 Outlook Banter.
The comments are property of their posters.