Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
Home
DiscussionsAccessExcelInfoPathOutlookPowerPointPublisherWord
DirectoryUser Groups
Related Topics
Outlook ExpressInternet ExplorerWindowsMS Server ProductsMore Topics ...

MS Office Forum / Outlook / Interop / October 2006

Tip: Looking for answers? Try searching our database.

outlook 2003 add-in fails to load

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Marc - 10 Oct 2006 03:34 GMT
Wrote a simple addin with VSTO.  Runs beautifully on my machine that has VS
2005 and VSTO installed, and on another dev machine also with the VS2005 &
VSTO installed.  It won't run at all on any other box.  In the advanced
properties of outlook, it mentions a failure trying to load the add-in.
I've installed what I believe were all pre-reqs, including the VSTO
run-time, the .net 2.0 framework, and the interop libraries.  Any help at
all is appreciated!
Ken Slovak - [MVP - Outlook] - 10 Oct 2006 14:06 GMT
Most likely the assemblies you are using don't have full trust. That's
required for them to actually run when deployed.

Read the 2-part article starting at
http://msdn.microsoft.com/office/default.aspx?pull=/library/en-us/odc_vsto2005_t
a/html/OfficeVSTOWindowsInstallerOverview.asp

for information about how to add trust to your addin installation.

Signature

Ken Slovak
[MVP - Outlook]
http://www.slovaktech.com
Author: Absolute Beginner's Guide to Microsoft Office Outlook 2003
Reminder Manager, Extended Reminders, Attachment Options
http://www.slovaktech.com/products.htm

> Wrote a simple addin with VSTO.  Runs beautifully on my machine that has
> VS 2005 and VSTO installed, and on another dev machine also with the
[quoted text clipped - 3 lines]
> VSTO run-time, the .net 2.0 framework, and the interop libraries.  Any
> help at all is appreciated!
Marc - 10 Oct 2006 23:25 GMT
problem solved (thanks Ken for pointing me in the right direction).  It was
code access security.  This command did the trick:

   caspol -u -ag All_Code -url C:\<FolderName>\<FolderName>\* FullTrust -n
"<Name>" -d "<Description>"

> Most likely the assemblies you are using don't have full trust. That's
> required for them to actually run when deployed.
[quoted text clipped - 10 lines]
>> VSTO run-time, the .net 2.0 framework, and the interop libraries.  Any
>> help at all is appreciated!
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.