Partially trusted web part RRS feed

  • Question

  • Hi ,

    I have created a simple web part and deployed its dll in Bin ( not in GAC) without partially trust attribute (APTCA). Adding the web web part to any page is giving me error "Assemblies that implements ASP.NET web parts and installed into partially trusted location such as bin directory must be compiled with APTCA."By adding APTCA entry in dll ,my SharePoint web application can call dll without any error.

    But without APTCA entry, I added <trust level="Full" originUrl="" />  to my SharePoint web config.This should also remove the error but It is not.

    Anyone who can suggest me why I am still getting error after adding full trust config entry.


    Wednesday, August 8, 2012 2:16 PM