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

add-in won't load



 
 
Thread Tools Search this Thread Display Modes
  #1  
Old March 29th 09, 06:58 PM posted to microsoft.public.outlook.program_addins
Jason
external usenet poster
 
Posts: 41
Default add-in won't load

One of out customer installed multiple add-ins.
Our older version worked on his machine but not the newer version.
Disable or remove all other add-ins from Outlook add-in manager, re-enable
or reinstall our add-in won't work.
Reinstall Outlook won't work.
Add VSTO environmental variable does not help, not showing or logging
anything.
The loadstatus of registry key is the OK value 3 before uninstall and after
reinstall our add-in.
Other machines have no problem.

Any thoughts?


  #2  
Old March 30th 09, 05:06 PM posted to microsoft.public.outlook.program_addins
Ken Slovak - [MVP - Outlook]
external usenet poster
 
Posts: 5,848
Default add-in won't load

No way for us to know what's going on. You need to use managed code
debugging and Fusion logging to see what's going on, assuming that your
addin is failing to load. If it is loading then you need to run in debug
mode and add lots of error logging to see where things fail.

Assuming the addin just fails to load at all, see
http://blogs.msdn.com/vsod/archive/2...-failures.aspx
for information on troubleshooting addin load failures with managed code.

--
Ken Slovak
[MVP - Outlook]
http://www.slovaktech.com
Author: Professional Programming Outlook 2007.
Reminder Manager, Extended Reminders, Attachment Options.
http://www.slovaktech.com/products.htm


"Jason" wrote in message
...
One of out customer installed multiple add-ins.
Our older version worked on his machine but not the newer version.
Disable or remove all other add-ins from Outlook add-in manager, re-enable
or reinstall our add-in won't work.
Reinstall Outlook won't work.
Add VSTO environmental variable does not help, not showing or logging
anything.
The loadstatus of registry key is the OK value 3 before uninstall and
after reinstall our add-in.
Other machines have no problem.

Any thoughts?



  #3  
Old March 31st 09, 03:59 AM posted to microsoft.public.outlook.program_addins
Jason
external usenet poster
 
Posts: 41
Default add-in won't load

The add-in did not load at all. There is logging as the very 1st statemnt in
startup event handler. Nothing logged.

We'll try the new tips. Thanks Ken.



"Ken Slovak - [MVP - Outlook]" wrote in message
...
No way for us to know what's going on. You need to use managed code
debugging and Fusion logging to see what's going on, assuming that your
addin is failing to load. If it is loading then you need to run in debug
mode and add lots of error logging to see where things fail.

Assuming the addin just fails to load at all, see
http://blogs.msdn.com/vsod/archive/2...-failures.aspx
for information on troubleshooting addin load failures with managed code.

--
Ken Slovak
[MVP - Outlook]
http://www.slovaktech.com
Author: Professional Programming Outlook 2007.
Reminder Manager, Extended Reminders, Attachment Options.
http://www.slovaktech.com/products.htm


"Jason" wrote in message
...
One of out customer installed multiple add-ins.
Our older version worked on his machine but not the newer version.
Disable or remove all other add-ins from Outlook add-in manager,
re-enable or reinstall our add-in won't work.
Reinstall Outlook won't work.
Add VSTO environmental variable does not help, not showing or logging
anything.
The loadstatus of registry key is the OK value 3 before uninstall and
after reinstall our add-in.
Other machines have no problem.

Any thoughts?





  #4  
Old March 31st 09, 06:52 PM posted to microsoft.public.outlook.program_addins
Jason
external usenet poster
 
Posts: 41
Default add-in won't load

The add-in was in the Disabled Items list. After enable it, the add-in was
loaded and the menu appeared. But now email won't go out. They stay in
Outbox forever.

I remember someone had the same email problem and asked for help a while ago
but I could not retrive the mail.It was gone.


"Jason" wrote in message
...
The add-in did not load at all. There is logging as the very 1st statemnt
in startup event handler. Nothing logged.

We'll try the new tips. Thanks Ken.



"Ken Slovak - [MVP - Outlook]" wrote in message
...
No way for us to know what's going on. You need to use managed code
debugging and Fusion logging to see what's going on, assuming that your
addin is failing to load. If it is loading then you need to run in debug
mode and add lots of error logging to see where things fail.

Assuming the addin just fails to load at all, see
http://blogs.msdn.com/vsod/archive/2...-failures.aspx
for information on troubleshooting addin load failures with managed code.

--
Ken Slovak
[MVP - Outlook]
http://www.slovaktech.com
Author: Professional Programming Outlook 2007.
Reminder Manager, Extended Reminders, Attachment Options.
http://www.slovaktech.com/products.htm


"Jason" wrote in message
...
One of out customer installed multiple add-ins.
Our older version worked on his machine but not the newer version.
Disable or remove all other add-ins from Outlook add-in manager,
re-enable or reinstall our add-in won't work.
Reinstall Outlook won't work.
Add VSTO environmental variable does not help, not showing or logging
anything.
The loadstatus of registry key is the OK value 3 before uninstall and
after reinstall our add-in.
Other machines have no problem.

Any thoughts?







  #5  
Old March 31st 09, 07:50 PM posted to microsoft.public.outlook.program_addins
Ken Slovak - [MVP - Outlook]
external usenet poster
 
Posts: 5,848
Default add-in won't load

Usually if an addin is disabled that way it means you have unhandled
exceptions, a cardinal sin for addins. Or that you aren't using a shim to
get your own AppDomain for the addin and some other code in that same
AppDomain is crashing Outlook or has unhandled exceptions.

If it remains in Outbox are you messing with the items after they're sent,
or accessing them in Outbox, or not releasing the object references?

--
Ken Slovak
[MVP - Outlook]
http://www.slovaktech.com
Author: Professional Programming Outlook 2007.
Reminder Manager, Extended Reminders, Attachment Options.
http://www.slovaktech.com/products.htm


"Jason" wrote in message
...
The add-in was in the Disabled Items list. After enable it, the add-in was
loaded and the menu appeared. But now email won't go out. They stay in
Outbox forever.

I remember someone had the same email problem and asked for help a while
ago but I could not retrive the mail.It was gone.


  #6  
Old April 6th 09, 04:39 PM posted to microsoft.public.outlook.program_addins
Jason
external usenet poster
 
Posts: 41
Default add-in won't load

The problem of mail not going out only occurs on Outlook 2007, not 2003.

I believe it is caused by the interception of Explorer's SelectionChange
event.

//class level variable to hold event handler
private Outlook.Explorer explorer = null;

private void ThisAddIn_Startup(object sender, System.EventArgs e)
{
explorer = this.Application.ActiveExplorer();
explorer.SelectionChange += new
Outlook.ExplorerEvents_10_SelectionChangeEventHand ler(ThisAddIn_SelectionChanged);
}

private void ThisAddIn_SelectionChanged()
{
// only handle appointments, nothing else
if (explorer.Selection.Count 0 && explorer.Selection[1] is
Outlook.AppointmentItem)
{
...
}
}

Once a new mail is created, Outlook put it into Outbox folder and fires 3
SelectionChange events.

I know JavaScript DOM event bubble up and vaguely remember one article
mentioned about passing Outlook event out of event handler. How do I pass
the Explorer's SelectionChange event back to Outlook, so Outlook can handle
it as usual?



"Ken Slovak - [MVP - Outlook]" wrote in message
...
Usually if an addin is disabled that way it means you have unhandled
exceptions, a cardinal sin for addins. Or that you aren't using a shim to
get your own AppDomain for the addin and some other code in that same
AppDomain is crashing Outlook or has unhandled exceptions.

If it remains in Outbox are you messing with the items after they're sent,
or accessing them in Outbox, or not releasing the object references?

--
Ken Slovak
[MVP - Outlook]
http://www.slovaktech.com
Author: Professional Programming Outlook 2007.
Reminder Manager, Extended Reminders, Attachment Options.
http://www.slovaktech.com/products.htm


"Jason" wrote in message
...
The add-in was in the Disabled Items list. After enable it, the add-in
was loaded and the menu appeared. But now email won't go out. They stay
in Outbox forever.

I remember someone had the same email problem and asked for help a while
ago but I could not retrive the mail.It was gone.




 




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
Load request form fails: Could not load some objects because they arenot available on this machine [email protected] Outlook - General Queries 1 August 5th 08 11:22 PM
Load MSG into PST MON205[_2_] Add-ins for Outlook 4 July 22nd 08 08:56 AM
load Dll Lisandro Oliveira Outlook and VBA 2 February 21st 07 05:55 PM
Error when add-in tries to load Ken W Outlook - Installation 4 November 14th 06 01:31 PM
Load once Dave C Outlook - Installation 2 January 24th 06 07:42 PM


All times are GMT +1. The time now is 08:21 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.