Okay,
I cannot run any add-in outside of the VS2005 development environment. If I simply start outlook no add-ins start.
None are "Hard Blocked".
How would a security issue manifest I have a .NET polocy for the app directory, but still no-go.

URGENT! Outlook Addin runs from development only. Who are the usual suspects?
Snorrk
Yes, it's exactly what I'm talking about :)
Andreas Asterlund
Turned out to be an .NET security policy issue, so the even though the Add-In didn't appear in the blocked list, it would fail to load without an error.
Let me know if this doesn't make sense. Should be easy to recreate the scenario, just temporarily delete/change the .NET 2 security policy for the Add-In
brenmartin
All,
After much head scratching, etc, along with help from Mads' project to document and simplify VSTO apps (see http://weblogs.asp.net/mnissen/articles/427490.aspx) I've got my project running consistantly!! Yee Haw!
The issues:
CAS security: See the link above for an elegant solution to this process;
Registry settings: One issue was that my app started as a B2, then migrated to RC but missed information on using the AddinLoader.dll for Outlook .vs the original loader. Also, the manifest dir was pointing to the wrong location.;
Prerequsits: Namely, the VSTOR Bootstrapper in the RC points to the web version which is B2. I found a work-around by commenting out the HomeSite attribute which forced the build process to include the RC VSTOR in the setup dir instad of going to the web. Mads also has a solution. See the link above for an another solution to this issue.
The Office2003PIA was also a major headache, not loading properly, and Mads also solved this with his solution.
Many thanks to all.
Roman K
NOTE: VSTO.Property.Page.Sample works fine!
Microsoft (R) .NET Framework CasPol 2.0.50727.26
Copyright (c) Microsoft Corporation. All rights reserved.
Security is ON
Execution checking is ON
Policy change prompt is ON
Level = Enterprise
Code Groups:
1. All code: FullTrust
Level = Machine
Code Groups:
1. All code: Nothing
1.1. Zone - MyComputer: FullTrust
1.1.1. StrongName - 002400000480000094000000060200000024000052534131000400000100010007D1FA57C4AED9F0A32E84AA0FAEFD0DE9E8FD6AEC8F87FB03766C834C99921EB23BE79AD9D5DCC1DD9AD236132102900B723CF980957FC4E177108FC607774F29E8320E92EA05ECE4E821C0A5EFE8F1645C4C0C93C1AB99285D622CAA652C1DFAD63D745D6F2DE5F17E5EAF0FC4963D261C8A12436518206DC093344D5AD293: FullTrust
1.1.2. StrongName - 00000000000000000400000000000000: FullTrust
1.2. Zone - Intranet: LocalIntranet
1.2.1. All code: Same site Web
1.2.2. All code: Same directory FileIO - 'Read, PathDiscovery'
1.3. Zone - Internet: Internet
1.3.1. All code: Same site Web
1.4. Zone - Untrusted: Nothing
1.5. Zone - Trusted: Internet
1.5.1. All code: Same site Web
1.6. StrongName - 002400000480000094000000060200000024000052534131000400000100010007D1FA57C4AED9F0A32E84AA0FAEFD0DE9E8FD6AEC8F87FB03766C834C99921EB23BE79AD9D5DCC1DD9AD236132102900B723CF980957FC4E177108FC607774F29E8320E92EA05ECE4E821C0A5EFE8F1645C4C0C93C1AB99285D622CAA652C1DFAD63D745D6F2DE5F17E5EAF0FC4963D261C8A12436518206DC093344D5AD293 name = Microsoft.ReportViewer.Common version = 8.0.0.0: FullTrust (LevelFinal)
1.7. Url - C:\Program Files\MillerJohnson\Miller Johnson Enterprise Contacts\*: FullTrust (LevelFinal)
1.8. Url - C:\Program Files\MillerJohnson\Miller Johnson Enterprise Contacts\*: FullTrust
Level = User
Code Groups:
1. All code: FullTrust
1.1. All code: FullTrust
1.1.1. All code: Nothing
1.1.1.1. Url - C:\Documents and Settings\Bobx\My Documents\Visual Studio 2005\Projects\MJ_Outlook_EntContacts\MJ_Outlook_EntContacts\bin\*: Execution
1.1.1.1.1. Url - C:\Documents and Settings\Bobx\My Documents\Visual Studio 2005\Projects\MJ_Outlook_EntContacts\MJ_Outlook_EntContacts\bin\Microsoft.Office.Tools.Outlook.dll: FullTrust
1.1.1.1.2. Url - C:\Documents and Settings\Bobx\My Documents\Visual Studio 2005\Projects\MJ_Outlook_EntContacts\MJ_Outlook_EntContacts\bin\Microsoft.VisualStudio.Tools.Applications.Runtime.dll: FullTrust
1.1.1.1.3. Url - C:\Documents and Settings\Bobx\My Documents\Visual Studio 2005\Projects\MJ_Outlook_EntContacts\MJ_Outlook_EntContacts\bin\MJ_Outlook_EntContacts.dll: FullTrust
1.1.1.1.4. Url - C:\Documents and Settings\Bobx\My Documents\Visual Studio 2005\Projects\MJ_Outlook_EntContacts\MJ_Outlook_EntContacts\bin\webdavex.dll: FullTrust
1.1.1.2. Url - C:\Documents and Settings\Bobx\My Documents\Visual Studio 2005\Projects\MJ_Outlook_EntContacts\MJ_Outlook_EntContacts\bin\*: Execution
1.1.1.2.1. Url - C:\Documents and Settings\Bobx\My Documents\Visual Studio 2005\Projects\MJ_Outlook_EntContacts\MJ_Outlook_EntContacts\bin\MJ_Outlook_EntContacts.dll: FullTrust
1.1.1.2.2. Url - C:\Documents and Settings\Bobx\My Documents\Visual Studio 2005\Projects\MJ_Outlook_EntContacts\MJ_Outlook_EntContacts\bin\webdavex.dll: FullTrust
1.1.2. ApplicationDirectory: FullTrust
1.1.2.1. Url - C:\Documents and Settings\Bobx\My Documents\Visual Studio 2005\Projects\OutlookAddin_wReport\OutlookAddin_wReport\bin\*: Execution
1.1.2.1.1. Url - C:\Documents and Settings\Bobx\My Documents\Visual Studio 2005\Projects\OutlookAddin_wReport\OutlookAddin_wReport\bin\Microsoft.ReportViewer.Common.dll: FullTrust
1.1.2.1.2. Url - C:\Documents and Settings\Bobx\My Documents\Visual Studio 2005\Projects\OutlookAddin_wReport\OutlookAddin_wReport\bin\Microsoft.ReportViewer.WinForms.dll: FullTrust
1.1.2.1.3. Url - C:\Documents and Settings\Bobx\My Documents\Visual Studio 2005\Projects\OutlookAddin_wReport\OutlookAddin_wReport\bin\OutlookAddin_wReport.dll: FullTrust
1.1.3. All code: Nothing
1.1.3.1. Url - C:\Documents and Settings\Bobx\My Documents\Visual Studio 2005\Projects\VSTO.Property.Page.Sample\Property Page Sample\bin\*: FullTrust
1.1.3.1.1. Url - C:\Documents and Settings\Bobx\My Documents\Visual Studio 2005\Projects\VSTO.Property.Page.Sample\Property Page Sample\bin\Property.Page.Sample.dll: FullTrust
1.1.3.2. Url - C:\Documents and Settings\Bobx\My Documents\Visual Studio 2005\Projects\VSTO.Property.Page.Sample\Property Page Sample\bin\*: Execution
1.1.3.2.1. Url - C:\Documents and Settings\Bobx\My Documents\Visual Studio 2005\Projects\VSTO.Property.Page.Sample\Property Page Sample\bin\Property.Page.Sample.dll: FullTrust
1.1.4. All code: Nothing
1.1.4.1. Url - C:\Documents and Settings\Bobx\My Documents\Visual Studio 2005\Projects\MJ_Outlook_EntContacts\OutlookAddin\bin\Release\*: Execution
1.1.4.1.1. Url - C:\Documents and Settings\Bobx\My Documents\Visual Studio 2005\Projects\MJ_Outlook_EntContacts\OutlookAddin\bin\Release\OutlookAddin.dll: FullTrust
1.1.4.1.2. Url - C:\Documents and Settings\Bobx\My Documents\Visual Studio 2005\Projects\MJ_Outlook_EntContacts\OutlookAddin\bin\Release\webdavex.dll: FullTrust
1.1.4.2. Url - C:\Documents and Settings\Bobx\My Documents\Visual Studio 2005\Projects\MJ_Outlook_EntContacts\OutlookAddin\bin\Debug\*: Execution
1.1.4.2.1. Url - C:\Documents and Settings\Bobx\My Documents\Visual Studio 2005\Projects\MJ_Outlook_EntContacts\OutlookAddin\bin\Debug\OutlookAddin.dll: FullTrust
1.1.4.2.2. Url - C:\Documents and Settings\Bobx\My Documents\Visual Studio 2005\Projects\MJ_Outlook_EntContacts\OutlookAddin\bin\Debug\webdavex.dll: FullTrust
1.1.5. All code: Nothing
1.1.5.1. Url - C:\Documents and Settings\Bobx\My Documents\Visual Studio 2005\Projects\foo\foo\bin\Debug\*: Execution
1.1.5.1.1. Url - C:\Documents and Settings\Bobx\My Documents\Visual Studio 2005\Projects\foo\foo\bin\Debug\foo.dll: FullTrust
1.1.5.2. Url - C:\Documents and Settings\Bobx\My Documents\Visual Studio 2005\Projects\foo\foo\bin\Release\*: Execution
1.1.5.2.1. Url - C:\Documents and Settings\Bobx\My Documents\Visual Studio 2005\Projects\foo\foo\bin\Release\foo.dll: FullTrust
Success
pixelpajas
see "How To Manage Environment Variables in Windows XP" (http://support.microsoft.com/default.aspx scid=kb;en-us;310519).
There will be an error dialog poped up. You will see.
Then it must be hard-blocked. But you already said above it is not the case.
DanTurner
This will force error messages to be displayed even if the add-in is not debugged.
This might give you some clues why the add-in is failing to load.
adisingh
citizenDAK
Ignus
Chris Forbes
In VS 2005, use the dropdownlist, in the property of your project, to change this permissions and put them back on FulTrust.
I've got a similar problem and this tips fix the issue.
HTH.
Bye.
CPS455
Q. Where do I set this at the OS level (environment varialble), the application level (via Project/Properties/Settings, a new Application level setting called n as interger =0) I'll try both.
Q. Where do the messages displayed to
Q. What if the Addin is just not getting called
Indigo Cowboy
Fiddling with the permissions and making very slow progress.
This is a tremendously frustrating process....