Setting Full Trust for an outlook addin created with VSTO

Discussion in 'ASP .Net Security' started by WT, Mar 21, 2007.

  1. WT

    WT Guest

    Hello,

    I have created an outlook 2003 addin with VSTO for VS 2005, some class
    demands a fulltrust right to run.
    It is working on dev station as VSTO do everything for this.
    But on the enduser workstation, we get an error and can't load the addin in
    outlook.
    We need to give .NET full trust rigth for this assembly to the user.

    How to do this, mscorcfg could generate an msi file copying the workstation
    configuration, how to set this full trust ?

    Thanks
    CS
    WT, Mar 21, 2007
    #1
    1. Advertising

  2. Hello,

    To give a .NET assembly full trust permission on a client, we may use the
    CASPol.exe command line tool, like:

    caspol -machine -addfulltrust MyPerm.exe

    http://msdn2.microsoft.com/en-us/library/cb6t8dtz(VS.80).aspx

    Sincerely,

    Luke Zhang

    Microsoft Online Community Support
    ==================================================
    Get notification to my posts through email? Please refer to
    http://msdn.microsoft.com/subscriptions/managednewsgroups/default.aspx#notif
    ications.

    Note: The MSDN Managed Newsgroup support offering is for non-urgent issues
    where an initial response from the community or a Microsoft Support
    Engineer within 1 business day is acceptable. Please note that each follow
    up response may take approximately 2 business days as the support
    professional working with you may need further investigation to reach the
    most efficient resolution. The offering is not appropriate for situations
    that require urgent, real-time or phone-based interactions or complex
    project analysis and dump analysis issues. Issues of this nature are best
    handled working with a dedicated Microsoft Support Engineer by contacting
    Microsoft Customer Support Services (CSS) at
    http://msdn.microsoft.com/subscriptions/support/default.aspx.
    ==================================================

    This posting is provided "AS IS" with no warranties, and confers no rights.
    Luke Zhang [MSFT], Mar 22, 2007
    #2
    1. Advertising

  3. WT

    WT Guest

    Thanks
    "Luke Zhang [MSFT]" <> a écrit dans le message
    de news: 6PA6O$...
    > Hello,
    >
    > To give a .NET assembly full trust permission on a client, we may use the
    > CASPol.exe command line tool, like:
    >
    > caspol -machine -addfulltrust MyPerm.exe
    >
    > http://msdn2.microsoft.com/en-us/library/cb6t8dtz(VS.80).aspx
    >
    > Sincerely,
    >
    > Luke Zhang
    >
    > Microsoft Online Community Support
    > ==================================================
    > Get notification to my posts through email? Please refer to
    > http://msdn.microsoft.com/subscriptions/managednewsgroups/default.aspx#notif
    > ications.
    >
    > Note: The MSDN Managed Newsgroup support offering is for non-urgent issues
    > where an initial response from the community or a Microsoft Support
    > Engineer within 1 business day is acceptable. Please note that each follow
    > up response may take approximately 2 business days as the support
    > professional working with you may need further investigation to reach the
    > most efficient resolution. The offering is not appropriate for situations
    > that require urgent, real-time or phone-based interactions or complex
    > project analysis and dump analysis issues. Issues of this nature are best
    > handled working with a dedicated Microsoft Support Engineer by contacting
    > Microsoft Customer Support Services (CSS) at
    > http://msdn.microsoft.com/subscriptions/support/default.aspx.
    > ==================================================
    >
    > This posting is provided "AS IS" with no warranties, and confers no
    > rights.
    >
    >
    >
    WT, Mar 24, 2007
    #3
    1. Advertising

Want to reply to this thread or ask your own question?

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. Ken Cox [Microsoft MVP]

    ASP.NET 2.0 and Partial Trust with VSTO

    Ken Cox [Microsoft MVP], Jun 12, 2006, in forum: ASP .Net
    Replies:
    6
    Views:
    2,403
    Steven Cheng[MSFT]
    Jun 14, 2006
  2. Replies:
    0
    Views:
    526
  3. Replies:
    1
    Views:
    959
  4. MOHR
    Replies:
    0
    Views:
    204
  5. Linda
    Replies:
    1
    Views:
    535
    Dominick Baier
    Aug 31, 2006
Loading...

Share This Page