Shared Addin Issues

  • Thread starter StuckInProjectAddinHell
  • Start date
S

StuckInProjectAddinHell

Hi Guys,

I had an addin that was working fine and now it crashed.. The addin works
fine on my development machine. I am using the default Setup Project to
deploy it to a test machine and thats where the misery starts. So, to
diagnose the problem I started with a new addin.

I use the Visual Studio 2005 extensibility template to generate a new Share
Add-in. I only make the following modifications:

1. Add references + import statements for the Office Core Assembly and the
Project Assembly
2. Change the type of the applicationObject to a Project Application instead
of an Object
3. I add a MsgBox in the OnConnection

When I deploy this addin from my development machine to my test machine, it
works fine (shows me the msg box, no errors). However, as soon as a single
line:

Dim test As Microsoft.Office.Core.CommandBarButton

The Addin fails to load and gives an error in the Tools->COM Add-in area
saying
A runtime error occured during the loading of the COM Add-in

I have made sure that the target machine has the KB908002 installed as well
as the most recent updates (similar to my development machine).

Everything works fine on my development machine.. I have tried atleast 3
test machines with the same problem happening with all of them. I have
googled the issue to death and have tried everything ..

Help Please....!
 

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