COM Addin in .Net 2.0 not loaded in Excel 2003

D

dom_perron

Hi,

I created an Shared Addin for Word and Excel 2003 with Visual Studio
2003. The addin was loaded correctly in Word and Excel 2003.

My company decided to pass to visual studio 2005, so I converted my
addin project and the setup project to .Net 2.0. I encountered many
problems that I solved. Among other, I added to my addin setup the
prerequisite "Shared Add-in Support Update for Microsoft .NET
Frameword 2.0 (KB908002)" because my addin was not loaded in Word
2003. Now the addin is loaded in Word but not in Excel 2003... Have
you already heard about this problem? I checked in the registry to
see if the addin was there for excel and it is but when I change the
value of the loadbehavior to 3, the value is always reset to 2... I
found on the .net that maybe it caused by a problem of security so I
tried to change the security of the addin directory with this command:

caspol -u -ag 1 -url "<path of the addin>*" FullTrust

but it changes nothing.

Does somebody have an idea?

Thanks
Dominique
 
V

vince

Hi,

I created an Shared Addin for Word and Excel 2003 with Visual Studio
2003. The addin was loaded correctly in Word and Excel 2003.

My company decided to pass to visual studio 2005, so I converted my
addin project and the setup project to .Net 2.0. I encountered many
problems that I solved. Among other, I added to my addin setup the
prerequisite "Shared Add-in Support Update for Microsoft .NET
Frameword 2.0 (KB908002)" because my addin was not loaded in Word
2003. Now the addin is loaded in Word but not in Excel 2003... Have
you already heard about this problem? I checked in the registry to
see if the addin was there for excel and it is but when I change the
value of the loadbehavior to 3, the value is always reset to 2... I
found on the .net that maybe it caused by a problem of security so I
tried to change the security of the addin directory with this command:

caspol -u -ag 1 -url "<path of the addin>*" FullTrust

but it changes nothing.

Does somebody have an idea?

Thanks
Dominique

apply office2003-kb907417sfxcab-ENU.exe
 

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