msoutlook.org Forum Index
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister   ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

Addin will not load in Vista/Outlook 2007

 
Post new topic   Reply to topic    msoutlook.org Forum Index -> Outlook Programs Add-Ins
Author Message
Mike



Joined: 12 Aug 2007
Posts: 36

PostPosted: Fri Feb 01, 2008 2:28 pm    Post subject: Addin will not load in Vista/Outlook 2007 Reply with quote

Hello. I have an addin that works fine on XP/Outlook 2007, but once we
install it on Vista, it won't load in Outlook 2007. Looking in the Tools -->
Trust Center --> Addins, etc., I see the generic message "Not loaded. A
runtime error occurred during the loading of the COM Add-in."

How can I further troubleshoot this error? I see no logs being generated,
nothing in the Event viewer, etc. How can I determine the cause of this
problem?

I also already tried installing CDO, but that didn't help either.

Thanks in advance for any help provided.

Archived from group: microsoft>public>outlook>program_addins
Back to top
View user's profile Send private message
Mike



Joined: 12 Aug 2007
Posts: 36

PostPosted: Fri Feb 01, 2008 2:33 pm    Post subject: RE: Addin will not load in Vista/Outlook 2007 Reply with quote

Also, one more thing, this is NOT a VSTO addin.

"Mike" wrote:

> Hello. I have an addin that works fine on XP/Outlook 2007, but once we
> install it on Vista, it won't load in Outlook 2007. Looking in the Tools -->
> Trust Center --> Addins, etc., I see the generic message "Not loaded. A
> runtime error occurred during the loading of the COM Add-in."
>
> How can I further troubleshoot this error? I see no logs being generated,
> nothing in the Event viewer, etc. How can I determine the cause of this
> problem?
>
> I also already tried installing CDO, but that didn't help either.
>
> Thanks in advance for any help provided.
Back to top
View user's profile Send private message
Ken Slovak - [MVP - Outlo



Joined: 12 Aug 2007
Posts: 405

PostPosted: Fri Feb 01, 2008 7:04 pm    Post subject: Re: Addin will not load in Vista/Outlook 2007 Reply with quote

CDO is not supported for managed code at all. It causes memory errors and
other problems.

Are you using a manifest file for your addin for Vista? Can you run in debug
mode on Vista? Are you strong naming your assemblies? Are all prerequisites
and requirements installed on that Vista system? Are you using a shim or
using the default shared AppDomain?

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


"Mike" wrote in message @microsoft.com...
> Also, one more thing, this is NOT a VSTO addin.
>
> "Mike" wrote:
>
>> Hello. I have an addin that works fine on XP/Outlook 2007, but once we
>> install it on Vista, it won't load in Outlook 2007. Looking in the
>> Tools -->
>> Trust Center --> Addins, etc., I see the generic message "Not loaded. A
>> runtime error occurred during the loading of the COM Add-in."
>>
>> How can I further troubleshoot this error? I see no logs being
>> generated,
>> nothing in the Event viewer, etc. How can I determine the cause of this
>> problem?
>>
>> I also already tried installing CDO, but that didn't help either.
>>
>> Thanks in advance for any help provided.
Back to top
View user's profile Send private message
Mike



Joined: 12 Aug 2007
Posts: 36

PostPosted: Fri Feb 01, 2008 7:25 pm    Post subject: Re: Addin will not load in Vista/Outlook 2007 Reply with quote

Not sure what you mean by manifest file. The tool I'm using (AddinExpress)
provides a loader, which uses it's own manifest file if that's what you mean.

The assembly is strong-named.

If you mean pre-reqs for my application, yes, they're all installed. In
fact, I created a bare-bones, Hello World add-in with no dependencies on
anything but AddinExpress just to see if it would load, same error.

Not sure if you mean the loader AddinExpress provides, which is what I think
of as a shim, and yes, I'm using that, but I've tried it using mscoree.dll as
well, same issue.

Thank you for your quick response.


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

> CDO is not supported for managed code at all. It causes memory errors and
> other problems.
>
> Are you using a manifest file for your addin for Vista? Can you run in debug
> mode on Vista? Are you strong naming your assemblies? Are all prerequisites
> and requirements installed on that Vista system? Are you using a shim or
> using the default shared AppDomain?
>
> --
> 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
>
>
> "Mike" wrote in message
> @microsoft.com...
> > Also, one more thing, this is NOT a VSTO addin.
> >
> > "Mike" wrote:
> >
> >> Hello. I have an addin that works fine on XP/Outlook 2007, but once we
> >> install it on Vista, it won't load in Outlook 2007. Looking in the
> >> Tools -->
> >> Trust Center --> Addins, etc., I see the generic message "Not loaded. A
> >> runtime error occurred during the loading of the COM Add-in."
> >>
> >> How can I further troubleshoot this error? I see no logs being
> >> generated,
> >> nothing in the Event viewer, etc. How can I determine the cause of this
> >> problem?
> >>
> >> I also already tried installing CDO, but that didn't help either.
> >>
> >> Thanks in advance for any help provided.
>
>
Back to top
View user's profile Send private message
Ken Slovak - [MVP - Outlo



Joined: 12 Aug 2007
Posts: 405

PostPosted: Sat Feb 02, 2008 7:13 pm    Post subject: Re: Addin will not load in Vista/Outlook 2007 Reply with quote

If you're using Add-in Express you'll have to take this up with them. They
have their own loaders and shims and PIA's, so that's the place to go.

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


"Mike" wrote in message @microsoft.com...
> Not sure what you mean by manifest file. The tool I'm using
> (AddinExpress)
> provides a loader, which uses it's own manifest file if that's what you
> mean.
>
> The assembly is strong-named.
>
> If you mean pre-reqs for my application, yes, they're all installed. In
> fact, I created a bare-bones, Hello World add-in with no dependencies on
> anything but AddinExpress just to see if it would load, same error.
>
> Not sure if you mean the loader AddinExpress provides, which is what I
> think
> of as a shim, and yes, I'm using that, but I've tried it using mscoree.dll
> as
> well, same issue.
>
> Thank you for your quick response.
Back to top
View user's profile Send private message
Andrei Smolin [Add-in Exp



Joined: 24 Oct 2007
Posts: 4

PostPosted: Mon Feb 04, 2008 5:33 pm    Post subject: Re: Addin will not load in Vista/Outlook 2007 Reply with quote

Hello Mike,

Please contact our support guys; see the support address in readme.txt.

We will need the following info: Add-in Express version, Visual Studio
version, Office version and SPs installed.. We'd also like to look at
adxloader.log located in Documents and Settings\%Profile%\My
Documents\Add-in Express\.

Regards from Belarus (GMT+2),

Andrei Smolin
Add-in Express Team Leader
www.add-in-express.com

"Mike" wrote in message @microsoft.com...
> Not sure what you mean by manifest file. The tool I'm using
> (AddinExpress)
> provides a loader, which uses it's own manifest file if that's what you
> mean.
>
> The assembly is strong-named.
>
> If you mean pre-reqs for my application, yes, they're all installed. In
> fact, I created a bare-bones, Hello World add-in with no dependencies on
> anything but AddinExpress just to see if it would load, same error.
>
> Not sure if you mean the loader AddinExpress provides, which is what I
> think
> of as a shim, and yes, I'm using that, but I've tried it using mscoree.dll
> as
> well, same issue.
>
> Thank you for your quick response.
>
>
> "Ken Slovak - [MVP - Outlook]" wrote:
>
>> CDO is not supported for managed code at all. It causes memory errors and
>> other problems.
>>
>> Are you using a manifest file for your addin for Vista? Can you run in
>> debug
>> mode on Vista? Are you strong naming your assemblies? Are all
>> prerequisites
>> and requirements installed on that Vista system? Are you using a shim or
>> using the default shared AppDomain?
>>
>> --
>> 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
>>
>>
>> "Mike" wrote in message
>> @microsoft.com...
>> > Also, one more thing, this is NOT a VSTO addin.
>> >
>> > "Mike" wrote:
>> >
>> >> Hello. I have an addin that works fine on XP/Outlook 2007, but once
>> >> we
>> >> install it on Vista, it won't load in Outlook 2007. Looking in the
>> >> Tools -->
>> >> Trust Center --> Addins, etc., I see the generic message "Not loaded.
>> >> A
>> >> runtime error occurred during the loading of the COM Add-in."
>> >>
>> >> How can I further troubleshoot this error? I see no logs being
>> >> generated,
>> >> nothing in the Event viewer, etc. How can I determine the cause of
>> >> this
>> >> problem?
>> >>
>> >> I also already tried installing CDO, but that didn't help either.
>> >>
>> >> Thanks in advance for any help provided.
>>
>>

Back to top
View user's profile Send private message
Display posts from previous:   
Related Topics:
Compile Addin for OL 2000 thru 2007 I have an addin for Outlook that works in 2000 thru 2003. It also works in 2007 with a few changes. However, the 2007 version puts the buttons in the Add-Ins tab. I have made changes to customize the Ribbon with my own tab & everything works if I compile

VS2008 OL2007 add-in with ClickOnce : Does not load I have created a one-liner vanilla hello-world C# Outlook add-in using VS2008 and published it using default settings. Copied everything in \Publish folder to CD and installed on several machines (none with VS2008). In all cases, the setup downloads .Net

Error deleting second attach from RTF Msg w/ Outlook 2007 I get an error, 0x80030002 "%1 could not be found.", when I try to delete the second attachment from an rtf email message only in Outlook 2007. The first attachment gets processed with no problems. I've tried getting a new and a

vb6 DoEvents locks up Outlook 2007 when new mailitem is open I have been using vb6 to build a COM Add-in for Outlook. There are parts of the code that run in a long loop and require a DoEvents. In the case of Outlook 2007, all is fine until a new mailitem is opened and user starts typing an email. Once the user sta

Outlook und Outlook Connector? Fehler! Hallo zusammen Ich habe Office 2003 (ohne Outlook) und Office 2007 (mit Outlook) installiert. Nun wollte ich heute den Outlook Connector installieren. Bei der Installation ergaben sich eigentlich keine Probleme. Ich kann jetzt nur kein Konto hinzufügen. W
Post new topic   Reply to topic    msoutlook.org Forum Index -> Outlook Programs Add-Ins All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group