Problem with Add-in on client machine.

Dear all,
on the devlopment machine the add-in work very fine.

I have a client with:

Office 2003 SP2
VSTO Release candidate
Microsoft Framework 2.0 Release Candidate
Office assembly installed.

When I install the addin on this client by the MSI, this come installed fine.

but when I lunch Outlook 2003 the add-in don't come to load.

in the menu Option > Other > COM Coponent , I can see the add-in without the flag, and below say : Not Load, error in COM compoments.





Answer this question

Problem with Add-in on client machine.

  • Carlo Cantoni

    I am running out of ideas ... try this post here . maybe you should try and create a simple addin (maybe just display a messageBox) and try installing it to machines where you addin doesn't work - then you'll know if there's a problem in your addin... also check if your addin throws an exception in Startup method.

  • Cyber22

    Hi,

    The best thing to do is to use a custom installer (check this post).

    Open the Microsoft.NET Framewrok 2.0 Configuration (Start->Settings->Control Panel->Administrative Tools->Microsoft.NET Framework 2.0 Configuration).

    In MS.NET 2.0 Configuration expand My Computer node, Runtime Security Policy, Machine, Code Groups, All_Code. Right click on All_Code and select New.

    In the Name textbox enter the name of your plugin (e.g. My Plugin). Click Next; From the combobox URL and in URL textbox enter the path to your plugin (e.g. C:\Plugins\MyPlugin.dll) and click Next. Click on Use existing permission set and select FullTrust and finally click Finish.

  • pure159112

    Yep, it's same if you use caspol. Try setting the FullTrust to the assembly e.g. c:\programmi\uniprofitali srl\OutlookAddin2Setup\NameOfYourAddin.dll

    UPDATE:
    besides this, try using -m (Machine level) instead of -u (User level).


  • SudeepNambiar

    Peter,
    I tried with a sample addin, just msgbox in the load, nothing to do.

     the menu Option > Other > COM Coponent , I can see the add-in without the flag, and below say : Not Load, error in COM compoments.

    Please Microsoft help me !!!





  • Leif J

    Ok now the add-in is fulltrust, but outlook continue to don't load it.!!

    on the develop machine this work very fine, on other 3 machine the same problem.

    other suggestion

    Please please big problem for me, I asked my company to subscribe to MSDN Universal (lot of money) just to start with VS2005 and now I am not available to solve a problem very stupid.



  • Mark Doughty

    unbelivable !!!! I solved my problem only following this link :

    http://blog.jausovec.net/index.php op=ViewArticle&articleId=177&blogId=1

    Thank you Peter, the solution of my problem's it's in your hands !!!!

    Giuseppe



  • Rushi Desai

    Dear Peter,
    I have been installed the VSTO support for Outlook, but nothing to do, Outlook start well, but the add-in do not come to load.
    Now I have to try with the permission, can you tell me how to do it

    Giuseppe


  • Shanewho

    Make sure you have VSTO support for Outlook installed. You can download it here. Also, check the permission (your assembly has to be FullTrusted).

  • rjwelte

    Hi Peter,
    I habe been done what you suggest, but not exactly with Microsoft.NET Framework 2.0 Configuration, because when you install Framwork 2.0 on client machine the configuration tools are not available for 2.0 but only for 1.1.
    I used caspol :

    C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727>caspol -u -ag All_Code -url C:\Programmi\Uniprof Italia Srl\OutlookAddin2Setup\* FullTrust

    after I click yes the system ask me if I want to change the security policy and I accept it.

    But the add-in still not load in outlook.

    please peter, can you help me also you can access into my laptop from outside by msn.

    help me, for tomorrow I have to show this new add-in to my boss.



  • Problem with Add-in on client machine.