VSTO Deployment

P

Pat

I am trying to deploy a simple vsto document and assembly following the
instruction on the blog entry found at
http://blogs.msdn.com/vsto2/archive/2005/10/11/479825.aspx by McLean
Schofield.

After copying the .doc and .dll files from the bin folder on my pc to a
folder on my desktop; I open the .doc file by double clicking it. The
document opens without any messages but the code in the startup event is not
executed.

I made sure vstor.exe got run and it apears the PIA's are installed.

Everything works as expected when run from the IDE.

Does anyone know what could cause this behavior? Is there any information
on troubleshooting smart document deployment issues?

Thanks, Pat Timmons
 
C

Cindy M -WordMVP-

Hi =?Utf-8?B?UGF0?=,
Is there any information
on troubleshooting smart document deployment issues?
Smart document or VSTO? These are two quite separate
things.

As far as VSTO goes, the best place to get help is the
vsnet.vstools.office newsgroup. Be sure to mention which
version of VSTO (2003 or 2005) you're working with.

When you install a VSTO component on a machine, you need to
set the permissions. There are various trust levels, just
as with any .NET assembly; a VSTO assembly needs to be
granted FULL TRUST.

Trust can be granted according to the location in which its
stored, to certificates with which its been signed and/or
on the basis of a strong name (signing with a key pair).
The trust can be created using the .NET Framework
Configuration tool (I've only ever used the 1.1 version) or
caspol.

I'm not an expert in any of this, having only "played
around" with it. Painfully. But I hope this information
will get you going in the right direction :)

Cindy Meister
INTER-Solutions, Switzerland
http://homepage.swissonline.ch/cindymeister (last update
Jun 8 2004)
http://www.word.mvps.org

This reply is posted in the Newsgroup; please post any
follow question or reply in the newsgroup and not by e-mail
:)
 

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