Word add-in fails to load

T

tobiasebsen

Hi

I've developed a Word add-in using Extensibillity in .NET with C#.

As many others have experienced, the LoadBehavior gets changed from 3
to 2 whenever i start Word. This usually means that the add-in is
throwing an exception. The trouble is that it seems that OnConnection
never gets called wich makes it wery hard to debug.

The add-in works fine on my development system, but fails to load on
any other PCs.

I've checked the registry and the PIAs, but they all seem fine.

Please help!
 
J

Japan Shah

When you deploy your add in to another PC you must set your assembly register
for COM.


1. Select the Primary Output then click properties and goto Register Property
set it to vsdraCOM
2. Also set the same properties to all of your assemblies that you have used
in you project.
3. Also add Assembly Exetnsibility.dll to you deployment project and set
Register for vsdraCOM too.

4. and 1 more important thing select your project click properties and go to
signing Tab and select "sign the assembly"

now make your Delopment project again and try to deploy on another PC.

for more information:
http://msdn2.microsoft.com/en-us/library/aa537179(office.11).aspx
 

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