Excel Add-in will install but won't load

I have written a C# addin for Excel using the following article as a template: http://support.microsoft.com/kb/302901
It installs and loads with Excel correctly on my machine and another (non-developer) machine.
However on another user's machine it installs but doesn't load when Excel starts.

We've all got the the same version of Excel (2003 SP3).

As the Add-in is a C# one, it's a DLL not an XLA file, so it doesn't show up in Excel > Tools > Add-Ins.

Does anybody know what I need to do to get the add in working on this other machine?  Let me know if you need any more details.
LVL 6
openshacAsked:
Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

DaveCommented:
I haven't used a DLL addin before, but with a standard XLA you can have an issue if there is a fastopen switch
 /F
in the Registry addin path, under  either
HKEY_CURRENT_USER\Software\Microsoft\Office\11.0\Excel\Options
HKEY_CURRENT_USER\Software\Microsoft\Office\11.0\Excel\Add-in Manager

Cheers

Dave
0
openshacAuthor Commented:
brettdj

Thanks, but I checked and  there are not fastopen switches there in my registry.
0
openshacAuthor Commented:
OK, I think I may have it:

Some of the end users don't have the Office 2003 Primary Interop Assemblies installed.

 http://msdn.microsoft.com/en-us/library/aa159923(office.11).aspx
0
openshacAuthor Commented:
OK, I needed one more thing, which I found at
http://blogs.msdn.com/vsod/archive/2008/04/22/Troubleshooting-com-add-in-load-failures.aspx

2.       If your add-in is supposed to be loaded at application startup, look at the LoadBehavior for your Add-In in registry and make sure it is set to 3. This is necessary because, whenever an Add-In load fails, Office disconnects the Add-In (Loadbehavior changes to 2).

Because it failed when I didn't have the Office 2003 Primary Interop Assemblies installed I had to fix up the load behaviour.
0

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
C#

From novice to tech pro — start learning today.

Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.