locked
Assembly does not Allow Partially Trusted Callers RRS feed

  • Question

  • Hi,

    I have register the plug-in for Online CRM. Since the plug-in being deployed to the Sandbox,it is running as a partially trusted caller. To overcome this, i  added the APTC attribute in  AssemblyInfo.cs.still  the plugin is throwing the error(Assembly does not Allow Partially Trusted Callers) .Can anyone help me in this. thanks in advance.

    Below  are  the code of AssemblyInfo.cs

    using System.Reflection;

    using System.Runtime.CompilerServices;

    using System.Runtime.InteropServices;

    using System.Security;

    [assembly: AssemblyTitle("Testupload")]

    [assembly: AssemblyDescription("")]

    [assembly: AssemblyConfiguration("")]

    [assembly: AllowPartiallyTrustedCallers]

    [assembly: AssemblyCompany("Microsoft")]

    [assembly: AssemblyProduct("Testupload")]

    [assembly: AssemblyCopyright("Copyright
    © Microsoft 2012"
    )]

    [assembly: AssemblyTrademark("")]

    [assembly: AssemblyCulture("")]

    [assembly: ComVisible(false)]

    [assembly: Guid("7286c218-7d15-4189-8ba1-3d8691b612d2")]

    [assembly: AssemblyVersion("1.0.0.0")]

    [assembly: AssemblyFileVersion("1.0.0.0")]





    senthilkumar.m

    Monday, February 20, 2012 1:42 PM

All replies