View Single Post
  #4  
Old September 19th 07, 02:17 PM posted to microsoft.public.outlook.program_addins
Alex[_2_]
external usenet poster
 
Posts: 7
Default Problem Deplyng Add-In: the managed add-in loader failed to initialize

On Sep 19, 9:42 am, Alex wrote:
On Sep 18, 5:33 pm, "Ken Slovak - [MVP - Outlook]"





wrote:
This is the same shared addin as before?


Did you make sure that all requirements and pre-requisites are installed on
the target system?


Did you use a shim?


Did you test the sample addins from the Outlook team to see if they work
when deployed on the target system?


Where did you register your addin, for current user (HKCU) or for all users
(HKLM)? If to HKCU was elevation needed so that it was registered in the
HKCU hive of the admin and not under the current user's hive?


--
Ken Slovak
[MVP - Outlook]http://www.slovaktech.com
Author: Professional Programming Outlook 2007
Reminder Manager, Extended Reminders, Attachment Optionshttp://www.slovaktech.com/products.htm


"Alex" wrote in message


oups.com...
I have created a Outlook Add-in Office 2007, dev machine is
vista, VS2005, Office 2007, VSTO SE, it works so fine in the dev
machine.


I created the setup and run it in another vista machine,
the Add-In is successfully installed.
I try to Run Outlook, it work ok,


in the Outlook menù bar i select Tools -Trust Center - Add-Ins -
click GO,


When i try to enable my Add-In the follow error message is raised:


load behavior: not loaded. the managed add-in loader failed to
initialize


Any Idea,


Thanks
--Alessio


I Mr. SLovak.

This is the same shared addin as before?


No it isn't: VS2005 - New Project - Visual Basic - Office - 2007
Add-Ins - Outlook Add-In.
VSTO application-level managed add-ins?
The Set-Up Project is included in the Add-In Solution.

Did you use a shim?


http://msdn2.microsoft.com/it-it/lib...b508939.aspx?- Hide quoted text -

- Show quoted text -


Finally, I have found this MSDN article "Deploying Application-Level
Add-ins" http://msdn2.microsoft.com/en-us/lib...07(vs.80).aspx,
The point below are extracted from the article:

"The add-in assembly and all referenced assemblies must be granted
full trust in the security policy of each end user. For more
information, see Security Requirements to Run Office Solutions."

The question is:

What can I do to achieve the full trust security policy for all my
assembly?



Ads