Addin will not load in Vista/Outlook 2007

M

Mike

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

Ken Slovak - [MVP - Outlook]

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

Mike

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

Ken Slovak - [MVP - Outlook]

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

Andrei Smolin [Add-in Express]

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
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top